Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/components/GuiInterface.js
Show First 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | ret.players.push({ | ||||
"panelEntities": cmpPlayer.GetPanelEntities(), | "panelEntities": cmpPlayer.GetPanelEntities(), | ||||
"resourceCounts": cmpPlayer.GetResourceCounts(), | "resourceCounts": cmpPlayer.GetResourceCounts(), | ||||
"resourceGatherers": cmpPlayer.GetResourceGatherers(), | "resourceGatherers": cmpPlayer.GetResourceGatherers(), | ||||
"trainingBlocked": cmpPlayer.IsTrainingBlocked(), | "trainingBlocked": cmpPlayer.IsTrainingBlocked(), | ||||
"state": cmpPlayer.GetState(), | "state": cmpPlayer.GetState(), | ||||
"team": cmpPlayer.GetTeam(), | "team": cmpPlayer.GetTeam(), | ||||
"teamsLocked": cmpPlayer.GetLockTeams(), | "teamsLocked": cmpPlayer.GetLockTeams(), | ||||
"cheatsEnabled": cmpPlayer.GetCheatsEnabled(), | "cheatsEnabled": cmpPlayer.GetCheatsEnabled(), | ||||
"disabledTemplates": cmpPlayer.GetDisabledTemplates(), | "disabledTemplates": cmpTechnologyManager ? cmpTechnologyManager.GetDisabledTemplates() : null, | ||||
"disabledTechnologies": cmpPlayer.GetDisabledTechnologies(), | "disabledTechnologies": cmpTechnologyManager ? cmpTechnologyManager.GetDisabledTechnologies() : null, | ||||
"hasSharedDropsites": cmpPlayer.HasSharedDropsites(), | "hasSharedDropsites": cmpPlayer.HasSharedDropsites(), | ||||
"hasSharedLos": cmpPlayer.HasSharedLos(), | "hasSharedLos": cmpPlayer.HasSharedLos(), | ||||
"spyCostMultiplier": cmpPlayer.GetSpyCostMultiplier(), | "spyCostMultiplier": cmpPlayer.GetSpyCostMultiplier(), | ||||
"phase": phase, | "phase": phase, | ||||
"isAlly": allies, | "isAlly": allies, | ||||
"isMutualAlly": mutualAllies, | "isMutualAlly": mutualAllies, | ||||
"isNeutral": neutrals, | "isNeutral": neutrals, | ||||
"isEnemy": enemies, | "isEnemy": enemies, | ||||
▲ Show 20 Lines • Show All 991 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator