Game.IsNetworkMultiPlayer (Civ5 API)
This page is a part of the Lua and UI Reference (Civ5).
This function is a member of Game. This is a static method, invoke it with a dot. |
Usage
int Game.IsNetworkMultiPlayer()
Returned Value
- No description available.
Source code samples
Redundant occurences have been removed.
DeclareWarMovePopup.lua
UI/InGame/PopupsGeneric/DeclareWarMovePopup.lua
0074
|
if (not Game.IsNetworkMultiPlayer()) then |
DiploCurrentDeals.lua
UI/InGame/Popups/DiploCurrentDeals.lua
0008
|
local m_bIsMultiplayer = Game:IsNetworkMultiPlayer(); |
DiploVotePopup.lua
UI/InGame/Popups/DiploVotePopup.lua
0069
|
if(pOtherPlayer:GetNickName() ~= "" and Game:IsNetworkMultiPlayer()) then |
DiscussionDialog.lua
UI/InGame/LeaderHead/DiscussionDialog.lua
0198
|
if(pAIPlayer:GetNickName() ~= "" and Game:IsNetworkMultiPlayer()) then |
EndGameMenu.lua
UI/InGame/Popups/EndGameMenu.lua
0180
|
if (not Game:IsNetworkMultiPlayer() and player:IsAlive() and PreGame.GetGameOption("GAMEOPTION_NO_EXTENDED_PLAY") ~= 1) then |
EspionageOverview.lua (G&K)
DLC/Expansion/UI/InGame/Popups/EspionageOverview.lua
0878
|
if(pPlayer:GetNickName() ~= "" and Game:IsNetworkMultiPlayer()) then |
GameMenu.lua
UI/InGame/Menus/GameMenu.lua
0097
|
if (Game:IsNetworkMultiPlayer()) then |
0138
|
if(Game.IsNetworkMultiPlayer()) then |
0204
|
if(Game:IsNetworkMultiPlayer() and pPlayer:GetNickName() ~= "") then |
GameplayUtilities.lua
Gameplay/Lua/GameplayUtilities.lua
0021
|
if(nickName and #nickName > 0 and Game:IsNetworkMultiPlayer()) then |
InGame.lua
UI/InGame/InGame.lua
0021
|
local g_ShowWorkerRecommendation = not Game.IsNetworkMultiPlayer(); |
LoadMenu.lua
UI/FrontEnd/LoadMenu.lua
0697
|
if( Game:IsNetworkMultiPlayer() ) then |
MPList.lua
UI/InGame/WorldView/MPList.lua
0078
|
if( ContextPtr:IsHidden() == false and Game.IsNetworkMultiPlayer()) then |
0107
|
local bIsNetworkMP = Game.IsNetworkMultiPlayer(); |
SaveMapMenu.lua
UI/InGame/Menus/SaveMapMenu.lua
0279
|
g_IsSingle = not Game:IsNetworkMultiPlayer(); |
SaveMenu.lua
UI/InGame/Menus/SaveMenu.lua
0617
|
if( Game:IsNetworkMultiPlayer() or |
VictoryProgress.lua
UI/InGame/Popups/VictoryProgress.lua
0457
|
if (Teams[leadAI:GetTeam()]:IsHasMet(Game.GetActiveTeam()) or Game:IsNetworkMultiPlayer()) then |
0458
|
if(leadAI:GetNickName() ~= "" and Game:IsNetworkMultiPlayer()) then |
0837
|
if (pTeam:IsHasMet(Game.GetActiveTeam()) or Game:IsNetworkMultiPlayer()) then |
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.