Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/session/session.js
Show First 20 Lines • Show All 1,286 Lines • ▼ Show 20 Lines | else | ||||
entities = Engine.GuiInterfaceCall( | entities = Engine.GuiInterfaceCall( | ||||
g_ViewedPlayer == -1 ? "GetNonGaiaEntities" : "GetPlayerEntities", { | g_ViewedPlayer == -1 ? "GetNonGaiaEntities" : "GetPlayerEntities", { | ||||
"viewedPlayer": g_ViewedPlayer | "viewedPlayer": g_ViewedPlayer | ||||
}).filter(idx => selected.indexOf(idx) == -1); | }).filter(idx => selected.indexOf(idx) == -1); | ||||
} | } | ||||
Engine.GuiInterfaceCall("SetStatusBars", { | Engine.GuiInterfaceCall("SetStatusBars", { | ||||
"entities": entities, | "entities": entities, | ||||
"enabled": g_ShowAllStatusBars && !remove | "enabled": g_ShowAllStatusBars && !remove, | ||||
"showRank": Engine.ConfigDB_GetValue("user", "gui.session.rankabovestatusbar") == "true" | |||||
}); | }); | ||||
} | } | ||||
/** | /** | ||||
* Inverts the given configuration boolean and returns the current state. | * Inverts the given configuration boolean and returns the current state. | ||||
* For example "silhouettes". | * For example "silhouettes". | ||||
*/ | */ | ||||
function toggleConfigBool(configName) | function toggleConfigBool(configName) | ||||
▲ Show 20 Lines • Show All 376 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator