Пример #1
0
 // Token: 0x06000DFF RID: 3583
 // RVA: 0x0004D394 File Offset: 0x0004B594
 public bMatch(Class32 class32_0)
 {
     this.SendPassword = false;
     this.matchId = (int)class32_0.ReadUInt16();
     this.inProgress = class32_0.ReadBoolean();
     this.matchType = (MatchTypes)class32_0.ReadByte();
     this.activeMods = (Mods)class32_0.ReadUInt32();
     this.gameName = class32_0.ReadString();
     this.gamePassword = class32_0.ReadString();
     this.beatmapName = class32_0.ReadString();
     this.beatmapId = class32_0.ReadInt32();
     this.beatmapChecksum = class32_0.ReadString();
     for (int i = 0; i < bMatch.smethod_0(); i++)
     {
         this.slotStatus[i] = (SlotStatus)class32_0.ReadByte();
     }
     for (int j = 0; j < bMatch.smethod_0(); j++)
     {
         this.slotTeam[j] = (SlotTeams)class32_0.ReadByte();
     }
     for (int k = 0; k < bMatch.smethod_0(); k++)
     {
         this.slotId[k] = (((this.slotStatus[k] & SlotStatus.flag_7) > (SlotStatus)0) ? class32_0.ReadInt32() : -1);
     }
     this.hostId = class32_0.ReadInt32();
     this.playMode = (PlayModes)class32_0.ReadByte();
     this.matchScoringType = (MatchScoringTypes)class32_0.ReadByte();
     this.matchTeamType = (MatchTeamTypes)class32_0.ReadByte();
     this.specialModes = (MultiSpecialModes)class32_0.ReadByte();
     if (this.gameName.Length > 50)
     {
         this.gameName = this.gameName.Remove(50);
     }
     if ((this.specialModes & MultiSpecialModes.FreeMod) > MultiSpecialModes.None)
     {
         for (int l = 0; l < bMatch.smethod_0(); l++)
         {
             this.slotMods[l] = (Mods)class32_0.ReadInt32();
         }
     }
     this.Seed = class32_0.ReadInt32();
 }
Пример #2
0
 // Token: 0x06000E17 RID: 3607
 // RVA: 0x0004DBA8 File Offset: 0x0004BDA8
 public Class13(Class32 class32_0)
 {
     if (Class213.int_0 >= 18)
     {
         this.int_0 = class32_0.ReadInt32();
     }
     this.list_0 = new List<Class14>();
     int num = (int)class32_0.ReadUInt16();
     for (int i = 0; i < num; i++)
     {
         this.list_0.Add(new Class14(class32_0));
     }
     this.enum0_0 = (Enum0)class32_0.ReadByte();
     try
     {
         this.struct13_0 = new Struct13(class32_0);
     }
     catch (Exception)
     {
     }
 }
Пример #3
0
 // Token: 0x06000E1F RID: 3615
 // RVA: 0x0004DD84 File Offset: 0x0004BF84
 public Struct13(Class32 class32_0)
 {
     this.int_1 = class32_0.ReadInt32();
     this.byte_0 = class32_0.ReadByte();
     this.ushort_1 = class32_0.ReadUInt16();
     this.ushort_0 = class32_0.ReadUInt16();
     this.ushort_2 = class32_0.ReadUInt16();
     this.ushort_3 = class32_0.ReadUInt16();
     this.ushort_4 = class32_0.ReadUInt16();
     this.ushort_5 = class32_0.ReadUInt16();
     this.int_2 = class32_0.ReadInt32();
     this.ushort_7 = class32_0.ReadUInt16();
     this.ushort_6 = class32_0.ReadUInt16();
     this.bool_1 = class32_0.ReadBoolean();
     this.int_0 = (int)class32_0.ReadByte();
     this.int_3 = (int)class32_0.ReadByte();
     if (this.int_0 == 254)
     {
         this.int_0 = 0;
         this.bool_0 = false;
         return;
     }
     this.bool_0 = true;
 }