Symphony Of Empires
|
Functions | |
int | register_new_table (lua_State *L, const std::string &name, const std::vector< luaL_Reg > meta, const std::vector< luaL_Reg > methods) |
int | add_terrain_type (lua_State *L) |
int | get_terrain_type (lua_State *L) |
int | get_terrain_type_by_id (lua_State *L) |
int | add_technology (lua_State *L) |
int | get_technology (lua_State *L) |
int | add_req_tech_to_tech (lua_State *L) |
int | add_building_type (lua_State *L) |
int | get_building_type (lua_State *L) |
int | add_good (lua_State *L) |
int | get_good (lua_State *L) |
int | add_input_to_industry_type (lua_State *L) |
int | add_output_to_industry_type (lua_State *L) |
int | add_req_good_to_industry_type (lua_State *L) |
int | add_req_technology_to_industry_type (lua_State *L) |
int | add_nation (lua_State *L) |
int | get_nation (lua_State *L) |
int | get_nation_by_id (lua_State *L) |
int | get_all_nations (lua_State *L) |
int | switch_nation_soul (lua_State *L) |
int | nation_declare_war_no_cb (lua_State *L) |
int | get_provinces_owned_by_nation (lua_State *L) |
int | get_provinces_with_nucleus_by_nation (lua_State *L) |
int | set_nation_primary_language (lua_State *L) |
int | set_nation_capital (lua_State *L) |
int | add_accepted_language (lua_State *L) |
int | add_accepted_religion (lua_State *L) |
int | add_nation_client_hint (lua_State *L) |
int | nation_declare_unjustified_war (lua_State *L) |
int | get_nation_relation (lua_State *L) |
int | set_nation_relation (lua_State *L) |
int | add_province (lua_State *L) |
int | update_province (lua_State *L) |
int | get_province (lua_State *L) |
int | get_province_by_id (lua_State *L) |
int | province_add_unit (lua_State *L) |
int | update_province_building (lua_State *L) |
int | give_province_to (lua_State *L) |
int | give_hard_province_to (lua_State *L) |
int | get_province_owner (lua_State *L) |
int | get_province_controller (lua_State *L) |
int | get_province_neighbours (lua_State *L) |
int | get_province_nuclei (lua_State *L) |
int | add_province_pop (lua_State *L) |
int | set_province_language (lua_State *L) |
int | set_province_religion (lua_State *L) |
int | rename_province (lua_State *L) |
int | add_province_nucleus (lua_State *L) |
int | add_province_owner (lua_State *L) |
int | add_event (lua_State *L) |
int | get_event (lua_State *L) |
int | update_event (lua_State *L) |
int | add_event_receivers (lua_State *L) |
int | add_decision (lua_State *L) |
int | add_pop_type (lua_State *L) |
int | get_pop_type (lua_State *L) |
int | get_pop_type_by_id (lua_State *L) |
int | add_language (lua_State *L) |
int | get_language (lua_State *L) |
int | get_language_by_id (lua_State *L) |
int | add_religion (lua_State *L) |
int | get_religion (lua_State *L) |
int | get_religion_by_id (lua_State *L) |
int | add_unit_type (lua_State *L) |
int | get_unit_type (lua_State *L) |
int | add_req_good_unit_type (lua_State *L) |
int | add_ideology (lua_State *L) |
int | get_ideology (lua_State *L) |
int | get_ideology_by_id (lua_State *L) |
void | fire_event (lua_State *L, Nation &nation, Event &event, bool &is_multi, const std::string_view extra) |
void | check_events (lua_State *L) |
int | ui_call_builtin (lua_State *L) |
int LuaAPI::add_accepted_language | ( | lua_State * | L | ) |
int LuaAPI::add_accepted_religion | ( | lua_State * | L | ) |
int LuaAPI::add_building_type | ( | lua_State * | L | ) |
Definition at line 182 of file lua_api.cpp.
int LuaAPI::add_decision | ( | lua_State * | L | ) |
Definition at line 733 of file lua_api.cpp.
int LuaAPI::add_event | ( | lua_State * | L | ) |
int LuaAPI::add_event_receivers | ( | lua_State * | L | ) |
Definition at line 725 of file lua_api.cpp.
int LuaAPI::add_good | ( | lua_State * | L | ) |
Definition at line 210 of file lua_api.cpp.
int LuaAPI::add_ideology | ( | lua_State * | L | ) |
int LuaAPI::add_input_to_industry_type | ( | lua_State * | L | ) |
int LuaAPI::add_language | ( | lua_State * | L | ) |
int LuaAPI::add_nation | ( | lua_State * | L | ) |
Definition at line 259 of file lua_api.cpp.
int LuaAPI::add_nation_client_hint | ( | lua_State * | L | ) |
int LuaAPI::add_output_to_industry_type | ( | lua_State * | L | ) |
int LuaAPI::add_pop_type | ( | lua_State * | L | ) |
Definition at line 745 of file lua_api.cpp.
int LuaAPI::add_province | ( | lua_State * | L | ) |
int LuaAPI::add_province_nucleus | ( | lua_State * | L | ) |
Definition at line 654 of file lua_api.cpp.
int LuaAPI::add_province_owner | ( | lua_State * | L | ) |
Definition at line 675 of file lua_api.cpp.
int LuaAPI::add_province_pop | ( | lua_State * | L | ) |
Definition at line 635 of file lua_api.cpp.
int LuaAPI::add_religion | ( | lua_State * | L | ) |
int LuaAPI::add_req_good_to_industry_type | ( | lua_State * | L | ) |
int LuaAPI::add_req_good_unit_type | ( | lua_State * | L | ) |
Definition at line 955 of file lua_api.cpp.
int LuaAPI::add_req_tech_to_tech | ( | lua_State * | L | ) |
int LuaAPI::add_req_technology_to_industry_type | ( | lua_State * | L | ) |
int LuaAPI::add_technology | ( | lua_State * | L | ) |
Definition at line 151 of file lua_api.cpp.
int LuaAPI::add_terrain_type | ( | lua_State * | L | ) |
Definition at line 114 of file lua_api.cpp.
int LuaAPI::add_unit_type | ( | lua_State * | L | ) |
void LuaAPI::check_events | ( | lua_State * | L | ) |
void LuaAPI::fire_event | ( | lua_State * | L, |
Nation & | nation, | ||
Event & | event, | ||
bool & | is_multi, | ||
const std::string_view | extra | ||
) |
Definition at line 972 of file lua_api.cpp.
int LuaAPI::get_all_nations | ( | lua_State * | L | ) |
int LuaAPI::get_building_type | ( | lua_State * | L | ) |
int LuaAPI::get_event | ( | lua_State * | L | ) |
Definition at line 713 of file lua_api.cpp.
int LuaAPI::get_good | ( | lua_State * | L | ) |
Definition at line 222 of file lua_api.cpp.
int LuaAPI::get_ideology | ( | lua_State * | L | ) |
int LuaAPI::get_ideology_by_id | ( | lua_State * | L | ) |
int LuaAPI::get_language | ( | lua_State * | L | ) |
int LuaAPI::get_language_by_id | ( | lua_State * | L | ) |
Definition at line 883 of file lua_api.cpp.
int LuaAPI::get_nation | ( | lua_State * | L | ) |
Definition at line 283 of file lua_api.cpp.
int LuaAPI::get_nation_by_id | ( | lua_State * | L | ) |
int LuaAPI::get_nation_relation | ( | lua_State * | L | ) |
int LuaAPI::get_pop_type | ( | lua_State * | L | ) |
int LuaAPI::get_pop_type_by_id | ( | lua_State * | L | ) |
int LuaAPI::get_province | ( | lua_State * | L | ) |
int LuaAPI::get_province_by_id | ( | lua_State * | L | ) |
int LuaAPI::get_province_controller | ( | lua_State * | L | ) |
Definition at line 604 of file lua_api.cpp.
int LuaAPI::get_province_neighbours | ( | lua_State * | L | ) |
Definition at line 611 of file lua_api.cpp.
int LuaAPI::get_province_nuclei | ( | lua_State * | L | ) |
Definition at line 623 of file lua_api.cpp.
int LuaAPI::get_province_owner | ( | lua_State * | L | ) |
Definition at line 597 of file lua_api.cpp.
int LuaAPI::get_provinces_owned_by_nation | ( | lua_State * | L | ) |
int LuaAPI::get_provinces_with_nucleus_by_nation | ( | lua_State * | L | ) |
Definition at line 340 of file lua_api.cpp.
int LuaAPI::get_religion | ( | lua_State * | L | ) |
int LuaAPI::get_religion_by_id | ( | lua_State * | L | ) |
Definition at line 915 of file lua_api.cpp.
int LuaAPI::get_technology | ( | lua_State * | L | ) |
Definition at line 166 of file lua_api.cpp.
int LuaAPI::get_terrain_type | ( | lua_State * | L | ) |
Definition at line 141 of file lua_api.cpp.
int LuaAPI::get_terrain_type_by_id | ( | lua_State * | L | ) |
int LuaAPI::get_unit_type | ( | lua_State * | L | ) |
int LuaAPI::give_hard_province_to | ( | lua_State * | L | ) |
int LuaAPI::give_province_to | ( | lua_State * | L | ) |
Definition at line 569 of file lua_api.cpp.
int LuaAPI::nation_declare_unjustified_war | ( | lua_State * | L | ) |
int LuaAPI::nation_declare_war_no_cb | ( | lua_State * | L | ) |
Definition at line 318 of file lua_api.cpp.
int LuaAPI::province_add_unit | ( | lua_State * | L | ) |
int LuaAPI::register_new_table | ( | lua_State * | L, |
const std::string & | name, | ||
const std::vector< luaL_Reg > | meta, | ||
const std::vector< luaL_Reg > | methods | ||
) |
Definition at line 43 of file lua_api.cpp.
int LuaAPI::rename_province | ( | lua_State * | L | ) |
Definition at line 648 of file lua_api.cpp.
int LuaAPI::set_nation_capital | ( | lua_State * | L | ) |
int LuaAPI::set_nation_primary_language | ( | lua_State * | L | ) |
int LuaAPI::set_nation_relation | ( | lua_State * | L | ) |
int LuaAPI::set_province_language | ( | lua_State * | L | ) |
Definition at line 663 of file lua_api.cpp.
int LuaAPI::set_province_religion | ( | lua_State * | L | ) |
Definition at line 669 of file lua_api.cpp.
int LuaAPI::switch_nation_soul | ( | lua_State * | L | ) |
Definition at line 309 of file lua_api.cpp.
int LuaAPI::ui_call_builtin | ( | lua_State * | L | ) |
int LuaAPI::update_event | ( | lua_State * | L | ) |
Definition at line 700 of file lua_api.cpp.
int LuaAPI::update_province | ( | lua_State * | L | ) |
int LuaAPI::update_province_building | ( | lua_State * | L | ) |
Definition at line 559 of file lua_api.cpp.