示例#1
0
 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);
     }
 }
示例#2
0
 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]);
 }