<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://modiki.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=Events.SerialEventGameMessagePopup_%28Civ5_API%29</id>
	<title>Events.SerialEventGameMessagePopup (Civ5 API) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://modiki.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=Events.SerialEventGameMessagePopup_%28Civ5_API%29"/>
	<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Events.SerialEventGameMessagePopup_(Civ5_API)&amp;action=history"/>
	<updated>2026-04-10T14:07:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Events.SerialEventGameMessagePopup_(Civ5_API)&amp;diff=10932&amp;oldid=prev</id>
		<title>DonQuich: Bot update</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Events.SerialEventGameMessagePopup_(Civ5_API)&amp;diff=10932&amp;oldid=prev"/>
		<updated>2012-09-19T18:52:19Z</updated>

		<summary type="html">&lt;p&gt;Bot update&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&amp;#039;&amp;#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&amp;#039;&amp;#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Events}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a static method, invoke it with a dot.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;void&amp;#039;&amp;#039;&amp;#039; Events.SerialEventGameMessagePopup&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|PopupInfo}} popupInfo&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Event Type&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:Regular event: you can subscribe to it through &amp;lt;code&amp;gt;Events.SerialEventGameMessagePopup.Add(&amp;#039;&amp;#039;&amp;lt;function handler&amp;gt;&amp;#039;&amp;#039;)&amp;lt;/code&amp;gt; or invoke it directly through &amp;lt;code&amp;gt;Events.SerialEventGameMessagePopup(&amp;#039;&amp;#039;&amp;lt;arguments list&amp;gt;&amp;#039;&amp;#039;)&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|popupInfo:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &amp;#039;&amp;#039;No description available.&amp;#039;&amp;#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&amp;#039;&amp;#039;Redundant occurences have been removed.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|AdvisorCounselPopup.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/AdvisorCounselPopup.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0208}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup.Add( OnPopup );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Advisors.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/WorldView/Advisors.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0019}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup(popupInfo);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|ChoosePantheonPopup.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/UI/InGame/Popups/ChoosePantheonPopup.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0048}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup.Add( OnPopupMessage );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|CityList.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/CityList.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0034}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_ECONOMIC_OVERVIEW } );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|CityStateDiploPopup.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/CityStateDiploPopup.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0035}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup.Add( OnEventReceived );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|CityView.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/CityView/CityView.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|2175}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup( popupInfo );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|DiploCorner.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/WorldView/DiploCorner.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0027}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup{&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0028}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Type = popupType,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0029}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Data1 = data1,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0030}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Data2 = data2&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0031}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;};&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0251}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_CHOOSEPOLICY } );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|DiploCorner.lua - DLC_01 DLC}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/DLC_01/Scenarios/Mongol Scenario/DiploCorner.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0024}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;g_MultiPullInfo[0] = { text=&amp;quot;TXT_KEY_ADVISOR_SCREEN_TECH_TREE_DISPLAY&amp;quot;,        call=function() Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_TECH_TREE } ); end };&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0025}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;g_MultiPullInfo[1] = { text=&amp;quot;TXT_KEY_DIPLOMACY_OVERVIEW&amp;quot;,        call=function() Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_DIPLOMATIC_OVERVIEW } ); end };&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0026}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;g_MultiPullInfo[2] = { text=&amp;quot;TXT_KEY_MILITARY_OVERVIEW&amp;quot;,         call=function() Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_MILITARY_OVERVIEW } ); end };&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0027}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;g_MultiPullInfo[3] = { text=&amp;quot;TXT_KEY_ECONOMIC_OVERVIEW&amp;quot;,         call=function() Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_ECONOMIC_OVERVIEW } ); end };&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0029}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;g_MultiPullInfo[4] = { text=&amp;quot;TXT_KEY_DEMOGRAPHICS&amp;quot;,              call=function() Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_DEMOGRAPHICS} ); end };&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0030}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;g_MultiPullInfo[5] = { text=&amp;quot;TXT_KEY_POP_NOTIFICATION_LOG&amp;quot;,      call=function() Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_NOTIFICATION_LOG, Data1 = Game.GetActivePlayer() } ); end };&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|DiploCorner.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/UI/InGame/WorldView/DiploCorner.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0106}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup{&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0107}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Type = ButtonPopupTypes.BUTTONPOPUP_ESPIONAGE_OVERVIEW,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0108}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;};&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|DiploList.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/DiploList.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0115}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_DIPLOMATIC_OVERVIEW } );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0124}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_MINOR_CIVS_LIST, } );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0576}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_CITY_STATE_DIPLO, Data1 = PlayerID; } );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|GenericPopup.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/GenericPopup.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0111}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup.Add( OnDisplay );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|ReligionOverview.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/UI/InGame/Popups/ReligionOverview.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0808}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup{&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0809}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Type = ButtonPopupTypes.BUTTONPOPUP_RELIGION_OVERVIEW,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0810}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;};&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TechPanel.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/TechPanel.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0018}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_CHOOSETECH,&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0019}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Data1 = Game.GetActivePlayer(),&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0020}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Data3 = -1 -- this is to tell it that a tech was not just finished&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0021}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;} );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TechPopup.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/TechPopup.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0036}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_TECH_TREE } );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TechPopup.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/UI/InGame/TechPopup.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0037}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_TECH_TREE, Data2 = stealingTechTargetPlayerID } );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TopPanel.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/UI/InGame/TopPanel.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0304}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_TECH_TREE, Data2 = -1} );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0313}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_RELIGION_OVERVIEW } );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TutorialEngine.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Tutorial/TutorialEngine.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0652}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup.Add(ActivatedPopup);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|UnitList.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/UnitList.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0066}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Events.SerialEventGameMessagePopup( { Type = ButtonPopupTypes.BUTTONPOPUP_MILITARY_OVERVIEW } );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|SerialEventGameMessagePopup]]&lt;/div&gt;</summary>
		<author><name>DonQuich</name></author>
	</entry>
</feed>