H7OnlineGameSettings¶
Class in MMH7Game · MMH7Game.H7OnlineGameSettings
Object › Settings › OnlineGameSettings › H7OnlineGameSettings
Using it from Lua
Functions¶
| Name | Declaration |
|---|---|
GetDifficulty | function H7StructsAndEnumsNative.EDifficulty GetDifficulty() |
GetDifficultyAsString | function string GetDifficultyAsString() |
GetForceQuickCombat | function H7StructsAndEnumsNative.EForceQuickCombat GetForceQuickCombat() |
GetForceQuickCombatAsStringLocalized | function string GetForceQuickCombatAsStringLocalized() |
GetGameSpeedAdventure | function float GetGameSpeedAdventure() |
GetGameSpeedAdventureAI | function float GetGameSpeedAdventureAI() |
GetGameSpeedCombat | function float GetGameSpeedCombat() |
GetGameType | function int GetGameType() |
GetIsPrivateGame | function bool GetIsPrivateGame() |
GetMapFilepath | function string GetMapFilepath() |
GetMapInfoNumber | function int GetMapInfoNumber() |
GetMapNameLocalized | function string GetMapNameLocalized() |
GetNATType | function StormManager.NatTypeFriendly GetNATType() |
GetNumAISlots | function int GetNumAISlots() |
GetNumClosedSlots | function int GetNumClosedSlots() |
GetRMGString | function string GetRMGString() |
GetServerName | function string GetServerName() |
GetSessionID | function int GetSessionID() |
GetSkillType | function int GetSkillType() |
GetSkillTypeAsStringLocalized | function string GetSkillTypeAsStringLocalized() |
GetTeamsCanTrade | function bool GetTeamsCanTrade() |
GetTeamSetup | function H7StructsAndEnumsNative.ETeamSetup GetTeamSetup() |
GetTeamSetupAsString | function string GetTeamSetupAsString() |
GetTimerAdv | function H7StructsAndEnumsNative.ETimerAdv GetTimerAdv() |
GetTimerAdvAsString | function string GetTimerAdvAsString() |
GetTimerCombat | function H7StructsAndEnumsNative.ETimerCombat GetTimerCombat() |
GetTimerCombatAsString | function string GetTimerCombatAsString() |
GetTotalSlots | function int GetTotalSlots() |
GetTurnType | function int GetTurnType() |
GetTurnTypeAsStringLocalized | function string GetTurnTypeAsStringLocalized() |
GetUseRandomStartPosition | function bool GetUseRandomStartPosition() |
GetUserId | function string GetUserId() |
GetVictoryCondition | function H7StructsAndEnumsNative.EVictoryCondition GetVictoryCondition() |
GetVictoryConditionAsStringLocalized | function string GetVictoryConditionAsStringLocalized() |
isGameStarted | function bool isGameStarted() |
isSavedGame | function bool isSavedGame() |
SetDifficulty | function SetDifficulty(H7StructsAndEnumsNative.EDifficulty Difficulty) |
SetForceQuickCombat | function SetForceQuickCombat(H7StructsAndEnumsNative.EForceQuickCombat forceQuickCombat) |
SetGameSpeedAdventure | function SetGameSpeedAdventure(float gameSpeedAdventure) |
SetGameSpeedAdventureAI | function SetGameSpeedAdventureAI(float gameSpeedAdventureAI) |
SetGameSpeedCombat | function SetGameSpeedCombat(float gameSpeedCombat) |
SetGameType | function SetGameType(int GameType) |
SetIsGameStarted | function SetIsGameStarted(bool isGameStarted) |
SetIsPrivateGame | function SetIsPrivateGame(bool Private) |
SetIsSavedGame | function SetIsSavedGame(bool isSavedGame) |
SetMapFilepath | function SetMapFilepath(string MapName) |
SetMapInfoNumber | function SetMapInfoNumber(int mapInfoNumber) |
SetNumAISlots | function SetNumAISlots(int numAISlots) |
SetNumClosedSlots | function SetNumClosedSlots(int numClosedSlots) |
SetNumPublicConnections | function SetNumPublicConnections(int Num) |
SetRMGString | function SetRMGString(string rmgString) |
SetServerName | function SetServerName(string ServerName) |
SetSkillType | function SetSkillType(int skillType) |
SetTeamsCanTrade | function SetTeamsCanTrade(bool teamsCanTrade) |
SetTeamSetup | function SetTeamSetup(H7StructsAndEnumsNative.ETeamSetup teamSetup) |
SetTimerAdv | function SetTimerAdv(H7StructsAndEnumsNative.ETimerAdv timerAdv) |
SetTimerCombat | function SetTimerCombat(H7StructsAndEnumsNative.ETimerCombat timerCombat) |
SetTurnType | function SetTurnType(int turnType) |
SetUseRandomStartPosition | function SetUseRandomStartPosition(bool useRandomStartPosition) |
SetUserId | function SetUserId(string UserId) |
SetVictoryCondition | function SetVictoryCondition(H7StructsAndEnumsNative.EVictoryCondition victoryCondition) |
Default values¶
NumPublicConnections=2
bUsesStats=false
bAllowJoinViaPresenceFriendsOnly=true
Properties=
PropertyMappings=
Inherited¶
| From | Members |
|---|---|
| OnlineGameSettings | 26 properties, 0 functions |
| Settings | 4 properties, 53 functions |
| Object | 13 properties, 308 functions |