private Lobby(string accesskey) { sLastAccessKey = accesskey; EventLog.WriteLine("Creating Lobby with Accesskey: " + accesskey, LogCategory.Get("Lobby"), new object[0]); if (accesskey == "GPGNET") { sProtocol = new GPGnetProtocol(); } else { sProtocol = null; CreateLobby(accesskey); } }
public static void SetAccessKey(string accesskey) { sLastAccessKey = accesskey; if (accesskey == "GPGNET") { sProtocol = new GPGnetProtocol(); } else { sProtocol = null; } EventLog.WriteLine("Setting Accesskey: " + accesskey, LogCategory.Get("Lobby"), new object[0]); }