mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
Add Multiple transports system, begin work on WebSockets
This commit is contained in:
parent
e869a23463
commit
e74f66a439
22 changed files with 3752 additions and 3301 deletions
|
@ -21,7 +21,6 @@ namespace HISP.Server
|
|||
public static string GameData = "gamedata.json";
|
||||
public static string CrossDomainPolicyFile = "CrossDomainPolicy.xml";
|
||||
|
||||
public static string ModsFolder = "mods";
|
||||
public static int LogLevel = 4;
|
||||
|
||||
public static bool SqlLite = false;
|
||||
|
@ -32,6 +31,8 @@ namespace HISP.Server
|
|||
public static bool EnableCorrections = true;
|
||||
public static bool EnableNonViolations = true;
|
||||
|
||||
public static bool EnableWebSocket = true;
|
||||
|
||||
public static string ConfigurationFileName = "server.properties";
|
||||
public static void OpenConfig()
|
||||
{
|
||||
|
@ -99,28 +100,28 @@ namespace HISP.Server
|
|||
CrossDomainPolicyFile = data;
|
||||
break;
|
||||
case "all_users_subscribed":
|
||||
AllUsersSubbed = data == "true";
|
||||
AllUsersSubbed = (data == "true");
|
||||
break;
|
||||
case "enable_corrections":
|
||||
EnableCorrections = data == "true";
|
||||
EnableCorrections = (data == "true");
|
||||
break;
|
||||
case "sql_lite":
|
||||
SqlLite = data == "true";
|
||||
SqlLite = (data == "true");
|
||||
break;
|
||||
case "enable_non_violation_check":
|
||||
EnableNonViolations = data == "true";
|
||||
EnableNonViolations = (data == "true");
|
||||
break;
|
||||
case "enable_spam_filter":
|
||||
EnableSpamFilter = data == "true";
|
||||
EnableSpamFilter = (data == "true");
|
||||
break;
|
||||
case "enable_websocket":
|
||||
EnableWebSocket = (data == "true");
|
||||
break;
|
||||
case "fix_offical_bugs":
|
||||
FixOfficalBugs = data == "true";
|
||||
FixOfficalBugs = (data == "true");
|
||||
break;
|
||||
case "enable_word_filter":
|
||||
EnableSwearFilter = data == "true";
|
||||
break;
|
||||
case "mods_folder":
|
||||
ModsFolder = data;
|
||||
EnableSwearFilter = (data == "true");
|
||||
break;
|
||||
case "intrest_rate":
|
||||
IntrestRate = int.Parse(data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue