Esempio n. 1
0
 // Token: 0x06000E0E RID: 3598
 // RVA: 0x0004D980 File Offset: 0x0004BB80
 public Class11(Class32 class32_0)
 {
     this.object_0 = class32_0.ReadString();
     this.string_0 = class32_0.ReadString();
     this.string_1 = class32_0.ReadString();
     if (Class213.int_0 > 14)
     {
         this.int_0 = class32_0.ReadInt32();
     }
 }
Esempio n. 2
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();
 }
Esempio n. 3
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();
 }
Esempio n. 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();
 }
Esempio n. 5
0
		// Token: 0x06000E40 RID: 3648
		// RVA: 0x0000EB90 File Offset: 0x0000CD90
		public Class20(Class32 class32_0)
		{
			this.string_0 = class32_0.ReadString();
			this.string_1 = class32_0.ReadString();
			this.int_0 = (int)class32_0.ReadInt16();
		}
Esempio n. 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();
 }
Esempio n. 7
0
		// Token: 0x06000E33 RID: 3635
		// RVA: 0x0000EB28 File Offset: 0x0000CD28
		public Struct16(Class32 class32_0)
		{
			this.string_0 = class32_0.ReadString();
		}
Esempio n. 8
0
 // Token: 0x060010AD RID: 4269
 // RVA: 0x00056BD8 File Offset: 0x00054DD8
 public void ReadFromStream(Class32 class32_0)
 {
     this.method_1(class32_0.ReadString());
     this.method_2(class32_0.ReadInt32());
     this.method_4(class32_0.ReadInt32());
     this.method_6(class32_0.ReadByteArray());
     this.method_8((DateTime)class32_0.method_4());
     this.method_10((DateTime)class32_0.method_4());
 }