示例#1
0
 // Token: 0x06000DF3 RID: 3571
 // RVA: 0x0004D028 File Offset: 0x0004B228
 public Class8(Class32 class32_0)
 {
     this.int_0 = (int)class32_0.ReadInt16();
     this.int_1 = class32_0.ReadInt32();
     this.int_2 = class32_0.ReadInt32();
     this.int_3 = class32_0.ReadInt32();
     this.int_4 = (int)class32_0.ReadByte();
     this.rankings_0 = (Rankings)class32_0.ReadByte();
     this.rankings_2 = (Rankings)class32_0.ReadByte();
     this.rankings_1 = (Rankings)class32_0.ReadByte();
     this.rankings_3 = (Rankings)class32_0.ReadByte();
     this.string_0 = class32_0.ReadString();
 }
示例#2
0
 // Token: 0x06000E1C RID: 3612
 // RVA: 0x0004DD20 File Offset: 0x0004BF20
 public Class14(Class32 class32_0)
 {
     this.pButtonState_0 = (pButtonState)class32_0.ReadByte();
     this.method_0(this.pButtonState_0);
     byte b = class32_0.ReadByte();
     if (b > 0)
     {
         this.method_0(pButtonState.Right1);
     }
     this.float_0 = class32_0.ReadSingle();
     this.float_1 = class32_0.ReadSingle();
     this.int_0 = class32_0.ReadInt32();
 }
示例#3
0
 // Token: 0x06000E13 RID: 3603
 // RVA: 0x0004DAD0 File Offset: 0x0004BCD0
 public Class12(Class32 class32_0)
 {
     this.bStatus_0 = (bStatus)class32_0.ReadByte();
     this.string_1 = class32_0.ReadString();
     this.string_0 = class32_0.ReadString();
     if (Class213.int_0 > 10)
     {
         this.mods_0 = (Mods)class32_0.ReadUInt32();
     }
     else
     {
         this.mods_0 = (Mods)class32_0.ReadInt16();
     }
     this.playModes_0 = (PlayModes)Math.Max(0, Math.Min(3, class32_0.ReadByte()));
     this.int_0 = class32_0.ReadInt32();
 }
示例#4
0
 // Token: 0x06000E2F RID: 3631
 // RVA: 0x0004E0E0 File Offset: 0x0004C2E0
 public Class17(Class32 class32_0)
 {
     this.int_1 = class32_0.ReadInt32();
     if (this.int_1 < 0)
     {
         this.int_1 = -this.int_1;
     }
     else
     {
         this.bool_0 = (this.int_1 != 0);
     }
     this.string_0 = class32_0.ReadString();
     this.int_0 = (int)(class32_0.ReadByte() - 24);
     this.byte_0 = class32_0.ReadByte();
     byte b = class32_0.ReadByte();
     this.enum30_0 = ((Enum30)b & (Enum30)(-225));
     this.playModes_0 = (PlayModes)Math.Max(0, Math.Min(3, (b & 224) >> 5));
     this.float_0 = class32_0.ReadSingle();
     this.float_1 = class32_0.ReadSingle();
     this.int_2 = class32_0.ReadInt32();
 }
示例#5
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;
 }
示例#6
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();
 }
示例#7
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)
     {
     }
 }
示例#8
0
 // Token: 0x06000E36 RID: 3638
 // RVA: 0x0000EB44 File Offset: 0x0000CD44
 public Class18(Class32 class32_0)
 {
     this.int_0 = class32_0.ReadInt32();
     this.enum1_0 = (Enum1)class32_0.ReadByte();
 }