Differential D3500 Diff 16102 binaries/data/mods/public/gui/gamesetup/NetMessages/GameRegisterStanza.js
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/gamesetup/NetMessages/GameRegisterStanza.js
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | if (this.timer !== undefined) | ||||
this.timer = undefined; | this.timer = undefined; | ||||
} | } | ||||
let clients = this.formatClientsForStanza(); | let clients = this.formatClientsForStanza(); | ||||
let stanza = { | let stanza = { | ||||
"name": this.serverName, | "name": this.serverName, | ||||
"hostUsername": Engine.LobbyGetNick(), | "hostUsername": Engine.LobbyGetNick(), | ||||
"hostJID": Engine.LobbyGetJID(), | |||||
"mapName": g_GameAttributes.map, | "mapName": g_GameAttributes.map, | ||||
"niceMapName": this.mapCache.getTranslatableMapName(g_GameAttributes.mapType, g_GameAttributes.map), | "niceMapName": this.mapCache.getTranslatableMapName(g_GameAttributes.mapType, g_GameAttributes.map), | ||||
"mapSize": g_GameAttributes.mapType == "random" ? g_GameAttributes.settings.Size : "Default", | "mapSize": g_GameAttributes.mapType == "random" ? g_GameAttributes.settings.Size : "Default", | ||||
"mapType": g_GameAttributes.mapType, | "mapType": g_GameAttributes.mapType, | ||||
"victoryConditions": g_GameAttributes.settings.VictoryConditions.join(","), | "victoryConditions": g_GameAttributes.settings.VictoryConditions.join(","), | ||||
"nbp": clients.connectedPlayers, | "nbp": clients.connectedPlayers, | ||||
"maxnbp": g_GameAttributes.settings.PlayerData.length, | "maxnbp": g_GameAttributes.settings.PlayerData.length, | ||||
"players": clients.list, | "players": clients.list, | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator