Events.SerialEventGameMessagePopupProcessed (Civ5 API)

From Civilization Modding Wiki
Jump to navigationJump to search

This page is a part of the Lua and UI Reference (Civ5).


Function.png This function is a member of Events.

This is a static method, invoke it with a dot.


Usage

void Events.SerialEventGameMessagePopupProcessed(ButtonPopupType mostRecentPopup, int arg1)


Event Type

Regular event: you can subscribe to it through Events.SerialEventGameMessagePopupProcessed.Add(<function handler>) or invoke it directly through Events.SerialEventGameMessagePopupProcessed(<arguments list>).

Parameters

mostRecentPopup: No description available.
arg1: No description available.


Source code samples

Redundant occurences have been removed.

AdvisorCounselPopup.lua

UI/InGame/Popups/AdvisorCounselPopup.lua
0308
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_ADVISOR_COUNSEL, 0);


AdvisorInfoPopup.lua

UI/InGame/Popups/AdvisorInfoPopup.lua
0295
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_ADVISOR_INFO, 0);


AdvisorModal.lua

UI/InGame/Popups/AdvisorModal.lua
0141
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_ADVISOR_MODAL, 0);


BarbarianCampPopup.lua

UI/InGame/Popups/BarbarianCampPopup.lua
0056
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_BARBARIAN_CAMP_REWARD, 0);


ChooseFaithGreatPerson.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ChooseFaithGreatPerson.lua
0174
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_CHOOSE_FREE_GREAT_PERSON, 0);


ChoosePantheonPopup.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ChoosePantheonPopup.lua
0192
Events.SerialEventGameMessagePopupProcessed.CallImmediate(g_PopupInfo.Type, 0);


CityStateDiploPopup.lua

UI/InGame/Popups/CityStateDiploPopup.lua
0842
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_CITY_STATE_DIPLO, 0);


CityStateDiploPopup.lua (G&K)

DLC/Expansion/UI/InGame/Popups/CityStateDiploPopup.lua
0085
Events.SerialEventGameMessagePopupProcessed.CallImmediate(m_PopupInfo.Type, 0);


DiploOverview.lua

UI/InGame/Popups/DiploOverview.lua
0119
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_DIPLOMATIC_OVERVIEW, 0);


DiploVotePopup.lua

UI/InGame/Popups/DiploVotePopup.lua
0142
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_DIPLO_VOTE, 0);


EconomicOverview.lua

UI/InGame/Popups/EconomicOverview.lua
0072
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_ECONOMIC_OVERVIEW, 0);


GenericPopup.lua

UI/InGame/Popups/GenericPopup.lua
0020
Events.SerialEventGameMessagePopupProcessed.CallImmediate( mostRecentPopup, 0 );


GoldenAgePopup.lua

UI/InGame/Popups/GoldenAgePopup.lua
0056
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_GOLDEN_AGE_REWARD, 0);


GoodyHutPopup.lua

UI/InGame/Popups/GoodyHutPopup.lua
0069
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_GOODY_HUT_REWARD, 0);


GreatPersonRewardPopup.lua

UI/InGame/Popups/GreatPersonRewardPopup.lua
0069
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_GREAT_PERSON_REWARD, 0);


MilitaryOverview.lua

UI/InGame/Popups/MilitaryOverview.lua
0380
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_MILITARY_OVERVIEW, 0);


NaturalWonderPopup.lua

UI/InGame/Popups/NaturalWonderPopup.lua
0115
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_NATURAL_WONDER_REWARD, 0);


NewEraPopup.lua

UI/InGame/Popups/NewEraPopup.lua
0082
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_NEW_ERA, 0);


NotificationLogPopup.lua

UI/InGame/Popups/NotificationLogPopup.lua
0113
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_NOTIFICATION_LOG, 0);


ProductionPopup.lua

UI/InGame/Popups/ProductionPopup.lua
1099
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_CHOOSEPRODUCTION, 0);


SetCityName.lua

UI/InGame/Popups/SetCityName.lua
0104
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_RENAME_CITY, 0);


SetUnitName.lua

UI/InGame/Popups/SetUnitName.lua
0104
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_RENAME_UNIT, 0);


SocialPolicyPopup.lua

UI/InGame/Popups/SocialPolicyPopup.lua
0927
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_CHOOSEPOLICY, 0);


TechAwardPopup.lua

UI/InGame/Popups/TechAwardPopup.lua
0134
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_TECH_AWARD, 0);


TechPopup.lua

UI/InGame/TechPopup.lua
0027
Events.SerialEventGameMessagePopupProcessed(ButtonPopupTypes.BUTTONPOPUP_CHOOSETECH, 0);


TechPopup.lua (G&K)

DLC/Expansion/UI/InGame/TechPopup.lua
0028
Events.SerialEventGameMessagePopupProcessed(popupType, 0);


TechTree.lua

UI/InGame/TechTree/TechTree.lua
0764
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_TECH_TREE, 0);


TextPopup.lua

UI/InGame/Popups/TextPopup.lua
0077
Events.SerialEventGameMessagePopupProcessed.CallImmediate( ButtonPopupTypes.BUTTONPOPUP_TEXT, 0 );


TutorialEngine.lua

Tutorial/TutorialEngine.lua
0645
Events.SerialEventGameMessagePopupProcessed.Add(HandlePopupProcessed);


VoteResultsPopup.lua

UI/InGame/Popups/VoteResultsPopup.lua
0289
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_VOTE_RESULTS, 0);


WhosWinningPopup.lua

UI/InGame/Popups/WhosWinningPopup.lua
0332
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_WHOS_WINNING, 0);


WonderPopup.lua

UI/InGame/Popups/WonderPopup.lua
0153
Events.SerialEventGameMessagePopupProcessed.CallImmediate(ButtonPopupTypes.BUTTONPOPUP_WONDER_COMPLETED_ACTIVE_PLAYER, 0);



The initial version of this page was created by the Civ5 API Bot, see the Civ5 API Reference FAQ. Some of the texts come from the 2kgames' wiki and most of code samples are copyrighted to Firaxis.
Functions' signatures were either copied from the 2kgames' wiki, or infered from the Lua source files and the binaries. Errors are possible.
Contributors may find help in the Contributors guide to the Civ5 API.