PreGame.IsHotSeatGame (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 PreGame.

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


Usage

int PreGame.IsHotSeatGame()


Returned Value

No description available.


Source code samples

Redundant occurences have been removed.

InGame.lua

UI/InGame/InGame.lua
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


LoadMenu.lua

UI/FrontEnd/LoadMenu.lua
0068
if (PreGame.IsHotSeatGame()) then
0721
if 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


MiniMapPanel.lua

UI/InGame/WorldView/MiniMapPanel.lua
0318
OptionsManager.CommitGameOptions( PreGame.IsHotSeatGame() );
0369
OptionsManager.CommitGameOptions(PreGame.IsHotSeatGame());


MPGameOptions.lua

UI/FrontEnd/Multiplayer/GameSetup/MPGameOptions.lua
0017
if ( PreGame.IsHotSeatGame() ) then
0038
return (Matchmaking.IsHost() and PreGame.GetLoadFileName() == "") or PreGame.IsHotSeatGame() or Matchmaking.GetLocalID() == -1;
0045
return (PreGame.GetLoadFileName() == "" and Matchmaking.GetLocalID() == -1) or PreGame.IsHotSeatGame();
0440
if (not PreGame.IsHotSeatGame()) then


MPGameSetupScreen.lua

UI/FrontEnd/Multiplayer/GameSetup/MPGameSetupScreen.lua
0018
if (not PreGame.IsHotSeatGame() ) then
0095
Controls.GameNameBox:SetHide( PreGame.IsHotSeatGame() );
0096
Controls.GameNameDivider:SetHide( PreGame.IsHotSeatGame() );


OptionsMenu.lua

UI/Options/OptionsMenu.lua
0305
if( bIsInGame and (PreGame.IsMultiplayerGame() or PreGame.IsHotSeatGame()) )then


SetCivNames.lua

UI/FrontEnd/GameSetup/SetCivNames.lua
0255
local bIsHotSeat = PreGame.IsHotSeatGame();


StagingRoom.lua

UI/FrontEnd/Multiplayer/StagingRoom.lua
0436
if( PreGame.IsHotSeatGame() ) then
0587
if ( not PreGame.IsHotSeatGame() ) then
0733
if( ContextPtr:IsHidden() == false and not PreGame.IsHotSeatGame()) 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.