示例#1
0
    // Token: 0x060000D5 RID: 213 RVA: 0x000064A8 File Offset: 0x000046A8
    public static void smethod_0(GStruct2 gstruct2_0)
    {
        switch (gstruct2_0.byte_1)
        {
        case 0:
            Class10.smethod_1(gstruct2_0.object_0);
            break;

        case 1:
            Class10.smethod_2(gstruct2_0.object_0);
            break;

        case 2:
            Class10.smethod_3(gstruct2_0.object_0);
            break;

        case 3:
            Class10.smethod_4(gstruct2_0.object_0);
            break;

        case 4:
            Class10.smethod_5(gstruct2_0.object_0);
            break;

        case 5:
            Class10.smethod_6(gstruct2_0.object_0);
            break;
        }
    }
示例#2
0
 // Token: 0x060005BF RID: 1471
 private static void smethod_6(Client client, bool connected)
 {
     GClass0.IsAuthenticated = false;
     if (connected && !GClass0.Disconnect)
     {
         Class10.bool_0 = true;
     }
     else if (!connected && GClass0.Disconnect)
     {
         Class10.bool_0 = false;
     }
     else
     {
         Class10.bool_0 = !GClass0.Disconnect;
     }
     if (Class10.bool_1 != connected && !connected && Class10.bool_0 && !GClass0.Disconnect)
     {
         Class10.smethod_5();
     }
     Class10.bool_1 = connected;
 }