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();
 }
Esempio n. 2
0
 public static void add(ref ConsoleSystem.Arg arg)
 {
     if (enabled)
     {
         string name = arg.GetString(0, string.Empty);
         string text = arg.GetString(1, string.Empty);
         if ((name != string.Empty) && (text != string.Empty))
         {
             ChatUI.AddLine(name, text);
         }
     }
 }
Esempio n. 3
0
    public static void @add(ref ConsoleSystem.Arg arg)
    {
        if (!chat.enabled)
        {
            return;
        }
        string str  = arg.GetString(0, string.Empty);
        string str1 = arg.GetString(1, string.Empty);

        if (str == string.Empty || str1 == string.Empty)
        {
            return;
        }
        ChatUI.AddLine(str, str1);
    }