Game.SelectionListGameNetMessage (Civ5 API)

From Civilization Modding Wiki
Revision as of 20:07, 19 September 2012 by DonQuich (talk | contribs) (Bot update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 Game.

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


Usage

void Game.SelectionListGameNetMessage(GameMessageType message, int data2 = -1, BuildActionType data3 = -1, UnitID data4 = -1, int flags = 0, bool alt = false, bool shift = false)


Parameters

message: No description available.
data2: No description available.
data3: No description available.
data4: No description available.
flags: No description available.
alt: No description available.
shift: No description available.


Source code samples

Redundant occurences have been removed.

ConfirmCommandPopup.lua

UI/InGame/PopupsGeneric/ConfirmCommandPopup.lua
0018
Game.SelectionListGameNetMessage(gameMessageDoCommand, action.CommandType, action.CommandData, -1, 0, bAlt);


ConfirmImprovementRebuildPopup.lua

UI/InGame/PopupsGeneric/ConfirmImprovementRebuildPopup.lua
0020
Game.SelectionListGameNetMessage(gameMessagePushMission, pAction.MissionType, pAction.MissionData, -1, 0, bAlt);


DeclareWarRangeStrikePopup.lua

UI/InGame/PopupsGeneric/DeclareWarRangeStrikePopup.lua
0058
Game.SelectionListGameNetMessage(messagePushMission, missionRangeAttack, iX, iY);


MinorCivEnterTerritoryPopup.lua

UI/InGame/PopupsGeneric/MinorCivEnterTerritoryPopup.lua
0028
Game.SelectionListGameNetMessage(messagePushMission, missionMoveTo, iX, iY, nil, false, bShift);


WorldView.lua

UI/InGame/WorldView/WorldView.lua
0363
Game.SelectionListGameNetMessage(GameMessageTypes.GAMEMESSAGE_PUSH_MISSION, eInterfaceModeMission, plotX, plotY, 0, false, bShift);
0446
Game.SelectionListGameNetMessage(GameMessageTypes.GAMEMESSAGE_PUSH_MISSION, MissionTypes.MISSION_RANGE_ATTACK, plotX, plotY, 0, false, bShift);
0518
Game.SelectionListGameNetMessage(GameMessageTypes.GAMEMESSAGE_PUSH_MISSION, MissionTypes.MISSION_EMBARK, plotX, plotY, 0, false, bShift);
0537
Game.SelectionListGameNetMessage(GameMessageTypes.GAMEMESSAGE_PUSH_MISSION, MissionTypes.MISSION_DISEMBARK, plotX, plotY, 0, false, bShift);
0635
Game.SelectionListGameNetMessage(GameMessageTypes.GAMEMESSAGE_PUSH_MISSION, iMission, plotX, plotY, 0, false, bShift);
0648
Game.SelectionListGameNetMessage(GameMessageTypes.GAMEMESSAGE_PUSH_MISSION, MissionTypes.MISSION_GARRISON, plotX, plotY, 0, false, bShift);
0660
Game.SelectionListGameNetMessage(GameMessageTypes.GAMEMESSAGE_DO_COMMAND, CommandTypes.COMMAND_CANCEL_ALL);



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.