PreGame.IsMultiplayerGame (Civ5 API): Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
(Bot update) |
(No difference)
|
Latest revision as of 11:03, 20 September 2012
This page is a part of the Lua and UI Reference (Civ5).
This function is a member of PreGame. This is a static method, invoke it with a dot. |
Usage
int PreGame.IsMultiplayerGame()
Returned Value
- No description available.
Source code samples
Redundant occurences have been removed.
ActionInfoPanel.lua
UI/InGame/WorldView/ActionInfoPanel.lua
0084
|
if Network.HasSentNetTurnComplete() and PreGame.IsMultiplayerGame() then |
0154
|
if not player:IsTurnActive() or (PreGame.IsMultiplayerGame() and Network.HasSentNetTurnComplete()) then |
0224
|
if Network.HasSentNetTurnAllComplete() and PreGame.IsMultiplayerGame() then |
0272
|
if not player:IsTurnActive() or (PreGame.IsMultiplayerGame() and Network.HasSentNetTurnComplete()) or Game.IsProcessingMessages() then |
DebugMenu.lua
UI/InGame/DebugMenu.lua
0405
|
if(not isHide and PreGame.IsMultiplayerGame()) then |
InGame.lua
UI/InGame/InGame.lua
0073
|
if ( wParam == Keys.VK_OEM_3 and UI:ShiftKeyDown() and UI:DebugFlag() and PreGame.IsMultiplayerGame()) then -- shift - ~ |
0077
|
elseif ( wParam == Keys.VK_OEM_3 and UI:DebugFlag() and not PreGame.IsMultiplayerGame() and not PreGame.IsHotSeatGame()) then -- ~ |
0082
|
elseif ( wParam == Keys.Z and UIManager:GetControl() and UI:DebugFlag() and not PreGame.IsMultiplayerGame() and not PreGame.IsHotSeatGame()) then |
LoadScreen.lua
UI/FrontEnd/LoadScreen.lua
0092
|
if (not PreGame.IsMultiplayerGame() and not PreGame.IsHotSeatGame()) then |
0128
|
if (PreGame.IsMultiplayerGame() or PreGame.IsHotSeatGame()) then |
OptionsMenu.lua
UI/Options/OptionsMenu.lua
0097
|
if (PreGame.IsMultiplayerGame()) then |
0305
|
if( bIsInGame and (PreGame.IsMultiplayerGame() or PreGame.IsHotSeatGame()) )then |
0317
|
if( bIsInGame and PreGame.IsMultiplayerGame() and not Matchmaking.IsHost()) then |
SelectMapSize.lua
UI/FrontEnd/GameSetup/SelectMapSize.lua
0061
|
if(not PreGame.IsMultiplayerGame()) then |
UnitFlagManager.lua
UI/InGame/UnitFlagManager.lua
0193
|
if(PreGame.IsMultiplayerGame() and o.m_Player:IsHuman()) then |
VictoryProgress.lua
UI/InGame/Popups/VictoryProgress.lua
0530
|
SetCivName(pPlayer, i, controlTable.Score, PreGame.IsMultiplayerGame(), 730); |
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.