Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/components/ICmpIdentity.cpp
Show All 34 Lines | public: | ||||
{ | { | ||||
return m_Script.Call<std::string>("GetSelectionGroupName"); | return m_Script.Call<std::string>("GetSelectionGroupName"); | ||||
} | } | ||||
std::wstring GetPhenotype() override | std::wstring GetPhenotype() override | ||||
{ | { | ||||
return m_Script.Call<std::wstring>("GetPhenotype"); | return m_Script.Call<std::wstring>("GetPhenotype"); | ||||
} | } | ||||
std::wstring GetCiv() override | |||||
{ | |||||
return m_Script.Call<std::wstring>("GetCiv"); | |||||
} | |||||
}; | }; | ||||
REGISTER_COMPONENT_SCRIPT_WRAPPER(IdentityScripted) | REGISTER_COMPONENT_SCRIPT_WRAPPER(IdentityScripted) |
Wildfire Games · Phabricator