Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/common/gamedescription.js
Context not available. | |||||
var g_DefaultLobbyRating = 1200; | var g_DefaultLobbyRating = 1200; | ||||
/** | /** | ||||
* XEP-0172 doesn't restrict nicknames, but our lobby policy does. | |||||
* So use this human readable delimiter to separate buddy names in the config file. | |||||
*/ | |||||
var g_BuddyListDelimiter = ","; | |||||
/** | |||||
* Returns the nickname without the lobby rating. | * Returns the nickname without the lobby rating. | ||||
*/ | */ | ||||
function splitRatingFromNick(playerName) | function splitRatingFromNick(playerName) | ||||
Context not available. | |||||
/** | /** | ||||
* Array of playernames that the current user has marked as buddies. | * Array of playernames that the current user has marked as buddies. | ||||
*/ | */ | ||||
var g_Buddies = Engine.ConfigDB_GetValue("user", "lobby.buddies").split(g_BuddyListDelimiter); | var g_Buddies = Engine.ConfigDB_GetValue("user", "lobby.buddies").split(g_ConfigListDelimiter); | ||||
/** | /** | ||||
* Denotes which players are a lobby buddy of the current user. | * Denotes which players are a lobby buddy of the current user. | ||||
Context not available. |
Wildfire Games · Phabricator