PARAM_FLAGS |
Bit flags for the operation; the meaning of the bits depends on the operation. (inferred) |
flags |
WORLD_CONGRESS_INDICATE_DESIRE |
— |
PARAM_MODIFIERS |
Modifier flags. For unit operations combine UnitOperationMoveModifiers. values (for example ATTACK, MOVE_IGNORE_UNEXPLORED_DEST); otherwise operation specific. (inferred)* |
flags |
— |
— |
PARAM_INSERT_MODE |
Where the entry goes in the queue: one of the VALUE_ constants of the same Lua table. (verified)* |
constant |
RESEARCH, PROGRESS_CIVIC, FOUND_PANTHEON, FOUND_RELIGION, ADD_BELIEF |
PlayerOperations.VALUE_EXCLUSIVE, PlayerOperations.VALUE_APPEND |
PARAM_YIELD_TYPE |
Yield type (for example YieldTypes.GOLD or YieldTypes.FAITH, or the index of a row of the Yields table). (verified) |
db-index |
PATRONIZE_GREAT_PERSON |
YieldTypes.GOLD, YieldTypes.FAITH |
PARAM_TECH_TYPE |
Type of the tech, given as the hash of its row in the Technologies table (row.Hash). (verified) |
hash → Technologies (hash) |
RESEARCH |
m_LockedResearchHash, techHash |
PARAM_CIVIC_TYPE |
Type of the civic, given as the hash of its row in the Civics table (row.Hash). (verified) |
hash → Civics (hash) |
PROGRESS_CIVIC |
civicHash, pathToCivic |
PARAM_BELIEF_TYPE |
Type of the belief, given as the hash of its row in the Beliefs table (row.Hash). (verified) |
hash → Beliefs (hash) |
FOUND_PANTHEON, ADD_BELIEF |
GameInfo.Beliefs[m_SelectedBeliefs[1]].Hash, GameInfo.Beliefs[belief].Hash |
PARAM_RESOURCE_TYPE |
Type of the resource: a row of the Resources table (the game passes the row hash for most types; check the examples). (verified) |
db-type → Resources |
NAME_CORPORATION |
eResource, m_eCurResourceType |
PARAM_RELIGION_TYPE |
Type of the religion, given as the hash of its row in the Religions table (row.Hash). (verified) |
hash → Religions (hash) |
FOUND_RELIGION, ADD_BELIEF |
GameInfo.Religions[m_SelectedReligion.ID].Hash |
PARAM_RELIGION_CUSTOM_NAME |
The player-chosen name of the religion. (verified) |
string |
FOUND_RELIGION, ADD_BELIEF |
Controls.ChooseReligionName:GetText() |
PARAM_CORPORATION_CUSTOM_NAME |
The player-chosen name of the corporation. (verified) |
string |
NAME_CORPORATION |
corpName |
PARAM_DISTRICT_TYPE |
Type of the district, given as the index of its row in the Districts table (row.Index). (verified) |
db-index → Districts (index) |
SET_ESCAPE_ROUTE |
GameInfo.Districts[district1].Index, GameInfo.Districts[district2].Index |
PARAM_TEAM_ONE |
Id of the first team involved. (inferred) |
team-id |
— |
— |
PARAM_TEAM_TWO |
Id of the second team involved. (inferred) |
team-id |
— |
— |
PARAM_PLAYER_ONE |
Id of the first player involved (usually the acting player). (verified) |
player-id |
DECLARE_WAR, MAKE_PEACE, GIVE_INFLUENCE_TOKEN, LEVY_MILITARY, RETURN_LEVIED_MILITARY, CHOOSE_ARTIFACT_PLAYER … |
kVoteData.data.Sender, localPlayerID |
PARAM_PLAYER_TWO |
Id of the second player involved (the target or counterpart). (verified) |
player-id |
DECLARE_WAR, MAKE_PEACE, LEVY_MILITARY, WORLD_CONGRESS_DISCUSSION_VOTE, WORLD_CONGRESS_DISCUSSION_SELECTION, WORLD_CONGRESS_SUBMIT_TURN |
kVoteData.data.Target, iPlayer |
PARAM_OTHER_PLAYER |
Id of the other player the operation is directed at. (verified) |
player-id |
REJECT_EMERGENCY, ACCEPT_EMERGENCY, WORLD_CONGRESS_DISCUSSION_SELECTION, INCITE_CLAN |
m_targetPlayerID, m_SelectedInciteTargetID |
PARAM_GREAT_PERSON_INDIVIDUAL_TYPE |
Type of the great person individual: a row of the GreatPersonIndividuals table (the game passes the row hash for most types; check the examples). (verified) |
db-type → GreatPersonIndividuals |
RECRUIT_GREAT_PERSON, REJECT_GREAT_PERSON, PATRONIZE_GREAT_PERSON |
individualID |
PARAM_UNIT_ID |
Id of the unit (unit:GetID()). (inferred) |
unit-id |
SET_ESCAPE_ROUTE |
— |
PARAM_CITY_ONE |
Id of the first city involved (the value returned by city:GetID()). (inferred) |
city-id |
— |
— |
PARAM_CITY_TWO |
Id of the second city involved. (inferred) |
city-id |
— |
— |
PARAM_GREAT_WORK_INDEX |
Great work list index: the index of the work in the game-wide great work list (as returned by Cities:GetGreatWorkInSlot), not the row in the GreatWorks table. (verified) |
index |
MOVE_GREAT_WORK |
kSrcInstance[DATA_FIELD_GREAT_WORK_INDEX] |
PARAM_BUILDING_TYPE |
Type of the building: a row of the Buildings table (the game passes the row hash for most types; check the examples). (inferred) |
db-type → Buildings |
— |
— |
PARAM_SLOT |
Slot index inside the destination building. (verified) |
index |
MOVE_GREAT_WORK |
kDestInstance[DATA_FIELD_SLOT_INDEX] |
PARAM_PLOT_ONE |
Index of the first plot involved. (verified) |
plot-index |
HIRE_CLAN, BRIBE_CLAN, RANSOM_CLAN, INCITE_CLAN |
m_BarbarianTribePlotIndex |
PARAM_PLOT_TWO |
Index of the second plot involved. (inferred) |
plot-index |
— |
— |
PARAM_CITY_SRC |
Id of the city the great work is taken from (city:GetID()). (verified) |
city-id |
MOVE_GREAT_WORK |
kSrcInstance[DATA_FIELD_CITY_ID] |
PARAM_CITY_DEST |
Id of the city the great work goes to (city:GetID()). (verified) |
city-id |
MOVE_GREAT_WORK, ASSIGN_GOVERNOR, PROMOTE_GOVERNOR |
cityID, m_SelectedCityID |
PARAM_BUILDING_SRC |
Building type index (row index in the Buildings table) of the building the great work is taken from. (verified) |
db-index |
MOVE_GREAT_WORK |
kSrcInstance[DATA_FIELD_BUILDING_ID] |
PARAM_BUILDING_DEST |
Building type index of the building the great work goes to. (verified) |
db-index |
MOVE_GREAT_WORK |
kDestInstance[DATA_FIELD_BUILDING_ID] |
PARAM_GOVERNOR_TYPE |
Type of the governor: a row of the Governors table (the game passes the row hash for most types; check the examples). (verified) |
db-type → Governors |
APPOINT_GOVERNOR, ASSIGN_GOVERNOR, PROMOTE_GOVERNOR |
eGovernor, m_SelectedGovernorID |
PARAM_GOVERNOR_PROMOTION_TYPE |
Type of the governor promotion: a row of the GovernorPromotions table (the game passes the row hash for most types; check the examples). (verified) |
db-type → GovernorPromotions |
PROMOTE_GOVERNOR |
m_SelectedPromotion, ePromotion |
PARAM_MOMENT_ID |
Id of the historic moment. (inferred) |
id |
COMPLIMENT_PRIDE_MOMENT |
— |
PARAM_EMERGENCY_TYPE |
The emergency being answered. (verified) |
id |
REJECT_EMERGENCY, ACCEPT_EMERGENCY |
m_emergencyType |
PARAM_COMMEMORATION_TYPE |
The chosen commemoration. (verified) |
id |
COMMEMORATE |
selectedCommemorationType |
PARAM_RESOLUTION_TYPE |
Hash of the World Congress resolution. (verified) |
hash (hash) |
WORLD_CONGRESS_RESOLUTION_VOTE, WORLD_CONGRESS_RESOLUTION_SELECTION, WORLD_CONGRESS_DISCUSSION_VOTE, WORLD_CONGRESS_SUBMIT_TURN |
kVoteData.Hash |
PARAM_WORLD_CONGRESS_VOTES |
Number of favor points spent on the vote (the game passes the sum, or votes times direction). (verified) |
number |
WORLD_CONGRESS_RESOLUTION_VOTE, WORLD_CONGRESS_DISCUSSION_VOTE, WORLD_CONGRESS_DISCUSSION_SELECTION, WORLD_CONGRESS_SUBMIT_TURN |
kVoteData.A.votes + kVoteData.B.votes, kVoteData.votes * kVoteData.voteDirection |
PARAM_DISCUSSION_TYPE |
Type of the discussion item. (verified) |
id |
WORLD_CONGRESS_DISCUSSION_SELECTION |
kVoteData.data.Type |
PARAM_RESOLUTION_SELECTION |
Index of the chosen target or option set (0-based; the game passes target - 1). (verified) |
index |
WORLD_CONGRESS_RESOLUTION_VOTE, WORLD_CONGRESS_RESOLUTION_SELECTION, WORLD_CONGRESS_DISCUSSION_VOTE, WORLD_CONGRESS_DISCUSSION_SELECTION, WORLD_CONGRESS_SUBMIT_TURN |
kChoiceData.target - 1 |
PARAM_RESOLUTION_OPTION |
The chosen outcome (A or B) of the resolution. (verified) |
constant |
WORLD_CONGRESS_RESOLUTION_VOTE, WORLD_CONGRESS_RESOLUTION_SELECTION, WORLD_CONGRESS_DISCUSSION_VOTE, WORLD_CONGRESS_DISCUSSION_SELECTION, WORLD_CONGRESS_SUBMIT_TURN |
kChoiceData.choice |