Beispiel #1
0
 public static void disconnect(ref ConsoleSystem.Arg arg)
 {
     if (NetCull.isClientRunning)
     {
         NetCull.Disconnect();
         return;
     }
     Debug.Log("You're not connected to a server.");
 }
 private static void smethod_8([Optional, DefaultParameterValue(null)] string string_5)
 {
     if ((string_5 != null) && (string_5.Length > 0))
     {
         ChatUI.AddLine(Class3.smethod_10(0x14ea), Class3.smethod_10(0x1508) + string_5 + Class3.smethod_10(0x1528));
     }
     NetCull.isMessageQueueRunning = true;
     NetCull.Disconnect();
 }
Beispiel #3
0
 public static void Disconnect(string reason, bool sendReasonToServer = true)
 {
     NetCull.Disconnect();
     //NetCull.DisconnectImmediate();
 }