コード例 #1
0
ファイル: Class72.cs プロジェクト: newchild/Project-DayZero
 // Token: 0x06002873 RID: 10355
 // RVA: 0x000FE7A0 File Offset: 0x000FC9A0
 public static void smethod_4(Class10 class10_1)
 {
     Class72.class10_0 = class10_1;
     if (!Class72.bool_2)
     {
         Class72.smethod_3();
         return;
     }
     if (Class72.class72_0 != null)
     {
         Class72.class72_0.method_1();
     }
     Class331.smethod_60("menuhit", 1f, Enum112.flag_5);
     Class331.smethod_59("match-start", 100, Enum112.flag_5);
     Class64.class10_0 = class10_1;
     Class70.enum59_0 = Enum59.const_5;
     Class115.smethod_70(OsuModes.Play, false);
 }
コード例 #2
0
ファイル: Class64.cs プロジェクト: newchild/Project-DayZero
 // Token: 0x060029E2 RID: 10722
 // RVA: 0x0010C120 File Offset: 0x0010A320
 internal Class64(Class10 class10_1)
 {
     Class64.class10_0 = class10_1;
     Class62.Mode = Class64.class10_0.playMode;
     Class64.bool_55 = class10_1.method_6();
     switch (Class64.class10_0.matchTeamType)
     {
     case MatchTeamTypes.HeadToHead:
         this.class668_0 = new Class671(this);
         break;
     case MatchTeamTypes.TagCoop:
     case MatchTeamTypes.TagTeamVs:
         this.class668_0 = new Class669(this);
         break;
     case MatchTeamTypes.TeamVs:
         this.class668_0 = new Class670(this);
         break;
     }
     Class64.class64_0 = this;
     Class723.smethod_2(null, null);
 }
コード例 #3
0
ファイル: Class72.cs プロジェクト: newchild/Project-DayZero
 // Token: 0x06002870 RID: 10352
 // RVA: 0x000FE5C4 File Offset: 0x000FC7C4
 public static void smethod_1(Class10 class10_1)
 {
     if (class10_1.inProgress && Class64.class10_0 != null)
     {
         for (int i = 0; i < bMatch.smethod_0(); i++)
         {
             if (Class72.class10_0.slotId[i] >= 0 && class10_1.slotId[i] < 0)
             {
                 Class64.smethod_30(i);
             }
         }
     }
     else
     {
         for (int j = 0; j < bMatch.smethod_0(); j++)
         {
             if (class10_1.slotId[j] != Class72.class10_0.slotId[j])
             {
                 if (class10_1.slotId[j] == -1)
                 {
                     int num = Class72.class10_0.slotId[j];
                     bool flag = true;
                     int k = 0;
                     while (k < bMatch.smethod_0())
                     {
                         if (class10_1.slotId[k] == num)
                         {
                             flag = false;
                             IL_A4:
                             if (flag)
                             {
                                 Class723.smethod_5(Class72.class10_0.class861_0[j].Name + " left the game.", Color.get_OrangeRed(), 3000, null);
                                 Class331.smethod_59("match-leave", 100, Enum112.flag_5);
                                 goto IL_173;
                             }
                             goto IL_173;
                         }
                         else
                         {
                             k++;
                         }
                     }
                     goto IL_A4;
                 }
                 int num2 = class10_1.slotId[j];
                 bool flag2 = true;
                 int l = 0;
                 while (l < bMatch.smethod_0())
                 {
                     if (Class72.class10_0.slotId[l] == num2)
                     {
                         flag2 = false;
                         IL_121:
                         if (flag2 && class10_1.class861_0[j].int_1 != Class115.class861_0.int_1)
                         {
                             Class723.smethod_5(class10_1.class861_0[j].Name + " joined the game.", Color.get_YellowGreen(), 3000, null);
                             Class331.smethod_59("match-join", 100, Enum112.flag_5);
                             goto IL_173;
                         }
                         goto IL_173;
                     }
                     else
                     {
                         l++;
                     }
                 }
                 goto IL_121;
             }
             IL_173:;
         }
     }
     if (class10_1.beatmapChecksum != Class72.class10_0.beatmapChecksum)
     {
         Class72.bool_5 = true;
     }
     if (!Class72.bool_4)
     {
         Class62.int_12 = class10_1.Seed;
     }
     class10_1.gamePassword = Class72.class10_0.gamePassword;
     Class72.class10_0 = class10_1;
     Class72.bool_6 = true;
 }
コード例 #4
0
ファイル: Class70.cs プロジェクト: newchild/Project-DayZero
 // Token: 0x06002825 RID: 10277
 // RVA: 0x000FAA78 File Offset: 0x000F8C78
 public static void smethod_2(Class10 class10_0)
 {
     Predicate<Class838> predicate = null;
     Class70.Class647 class = new Class70.Class647();