mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Update to work against the more modern version of PC's server ini format
This commit is contained in:
@ -264,16 +264,28 @@ bool GateKeeperSrvHostnameOverride () {
|
||||
//============================================================================
|
||||
// User-visible Server
|
||||
//============================================================================
|
||||
static wchar s_serverUrl[256];
|
||||
static wchar s_serverStatusUrl[256];
|
||||
static wchar s_serverSignupUrl[256];
|
||||
static wchar s_serverName[256];
|
||||
|
||||
const wchar *GetServerUrl () {
|
||||
return s_serverUrl;
|
||||
//============================================================================
|
||||
const wchar *GetServerStatusUrl () {
|
||||
return s_serverStatusUrl;
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
void SetServerUrl (const wchar url[]) {
|
||||
StrCopy(s_serverUrl, url, arrsize(s_serverUrl));
|
||||
void SetServerStatusUrl (const wchar url[]) {
|
||||
StrCopy(s_serverStatusUrl, url, arrsize(s_serverStatusUrl));
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
const wchar *GetServerSignupUrl () {
|
||||
return s_serverSignupUrl;
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
void SetServerSignupUrl (const wchar url[]) {
|
||||
StrCopy(s_serverSignupUrl, url, arrsize(s_serverSignupUrl));
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
|
@ -89,8 +89,11 @@ unsigned GetGateKeeperSrvHostnames (const wchar *** addrs); // returns addrCount
|
||||
void SetGateKeeperSrvHostname (const wchar addr[]);
|
||||
bool GateKeeperSrvHostnameOverride ();
|
||||
|
||||
const wchar *GetServerUrl ();
|
||||
void SetServerUrl (const wchar url[]);
|
||||
const wchar *GetServerStatusUrl ();
|
||||
void SetServerStatusUrl (const wchar url[]);
|
||||
|
||||
const wchar *GetServerSignupUrl ();
|
||||
void SetServerSignupUrl (const wchar url[]);
|
||||
|
||||
const wchar *GetServerDisplayName ();
|
||||
void SetServerDisplayName (const wchar name[]);
|
||||
|
Reference in New Issue
Block a user