Add passworded mechanism to change server game settings from client
This commit is contained in:
@@ -53,6 +53,7 @@ static bool EnableSingleVehSharedOrderGuiChanged(int32 p1);
|
||||
static bool UpdateClientName(int32 p1);
|
||||
static bool UpdateServerPassword(int32 p1);
|
||||
static bool UpdateRconPassword(int32 p1);
|
||||
static bool UpdateSettingsPassword(int32 p1);
|
||||
static bool UpdateClientConfigValues(int32 p1);
|
||||
static bool CheckSharingRail(int32 p1);
|
||||
static bool CheckSharingRoad(int32 p1);
|
||||
@@ -5077,6 +5078,15 @@ guiflags = SGF_NETWORK_ONLY
|
||||
def = nullptr
|
||||
cat = SC_BASIC
|
||||
|
||||
[SDTC_STR]
|
||||
var = network.settings_password
|
||||
type = SLE_STRB
|
||||
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
||||
guiflags = SGF_NETWORK_ONLY
|
||||
def = nullptr
|
||||
proc = UpdateSettingsPassword
|
||||
cat = SC_EXPERT
|
||||
|
||||
[SDTC_STR]
|
||||
var = network.default_company_pass
|
||||
type = SLE_STRB
|
||||
|
||||
Reference in New Issue
Block a user