Beispiel #1
0
			public void Read(BlamLib.IO.EndianReader s)
			{
				Unknown000 = s.ReadUInt64();
				Name = s.ReadUnicodeString(16);
				Description = s.ReadAsciiString(128);
				Author = s.ReadAsciiString(16);
				FileType = (ContentFileType)s.ReadUInt32();
				Unknown0BC = s.ReadInt32() > 0;
				Unknown0C0 = s.ReadUInt64();
				ContentLength = s.ReadUInt64();
				Unknown0D0 = s.ReadUInt64();
				Unknown0D8 = s.ReadInt32();
				MapId.Read(s);
				GameEngineType = s.ReadInt32();
				CampaignDifficulty = s.ReadInt32();
				HopperId = (ushort)((s.ReadUInt32() & 0xFFFF0000) >> 16);
				GameId = s.ReadUInt64();
			}
Beispiel #2
0
				public void Read(BlamLib.IO.EndianReader s)
				{
					Valid = s.ReadBool();
					LeftGame = s.ReadBool();
					UserIndex = s.ReadInt16();
					ControllerIndex = s.ReadInt16();
					s.Seek(2, System.IO.SeekOrigin.Current);
					MachineId = s.ReadBytes(6);
					Unknown000E = s.ReadUInt64();
					s.Seek(2, System.IO.SeekOrigin.Current);
					Data.Read(s);
					MatchData.Read(s);
				}
Beispiel #3
0
				public void Read(BlamLib.IO.EndianReader s)
				{
					GameMode = s.ReadInt32();
					GameSimulation = (GameSimulation)s.ReadByte();
					GameNetworkType = s.ReadByte();
					GameTickRate = s.ReadInt16();
					GameInstance = s.ReadUInt64();
					Unknown010 = s.ReadInt32();
					Language = s.ReadInt32();
					DeterminismVersion = s.ReadInt32();
					MapId.Read(s);
					CachePath = s.ReadAsciiString(260);
					InitialZoneSetIndex = s.ReadInt16();
					Unknown12A = s.ReadBool();
					DumpMachineIndex = s.ReadByte();
					Unknown12C = s.ReadBool();
					Unknown12D = s.ReadBool();
					Unknown12E = s.ReadBool();
					s.Seek(1, System.IO.SeekOrigin.Current);
					GamePlayback = (GamePlayback)s.ReadInt16();
					Unknown132 = s.ReadBool();
					s.Seek(1, System.IO.SeekOrigin.Current);
					Unknown134 = s.ReadInt32();
					Unknown138 = s.ReadInt32();
					CampaignDifficulty = s.ReadInt16();
					CampaignInsertionPoint = s.ReadInt16();
					CampaignMetagameScoring = s.ReadInt16();
					Unknown142 = s.ReadBool();
					Unknown143 = s.ReadBool();
					PrimarySkulls = s.ReadInt32();
					SecondarySkulls = s.ReadInt32();
					for (int x = 0; x < Unknown14C.Length; x++) Unknown14C[x] = s.ReadBytes(30);
					Unknown1C4 = s.ReadBool();
					s.Seek(3 + 4, System.IO.SeekOrigin.Current);
					Unknown1CC = s.ReadBytes(92);
					EngineVariant.Read(s);
					s.Seek(4, System.IO.SeekOrigin.Current);
					MapVariant.Read(s);
					Game.Read(s);
				}
Beispiel #4
0
				public void Read(BlamLib.IO.EndianReader s)
				{
					Name = s.ReadUnicodeString(10);
					Appearance.Read(s);
					Unknown040 = s.ReadUInt64();
					Unknown048 = s.ReadBool();
					Unknown049 = s.ReadBool();
					Unknown04A = s.ReadBool();
					LastTeam = s.ReadByte();
					Unknown04C = s.ReadBool();
					Unknown04D = s.ReadBool();
					HopperAccessFlags = s.ReadByte();
					Unknown04F = s.ReadBool();
					Unknown050 = s.ReadBool();
					Unknown051 = s.ReadBool();
					Unknown052 = s.ReadBool();
					CampaignHighestDifficulty = s.ReadByte();
					Unknown054 = s.ReadInt32();
					GamerRegion = s.ReadInt32();
					GamerZone = s.ReadInt32();
					CheatFlags = s.ReadUInt32();
					BanFlags = s.ReadUInt32();
					RepeatedPlayCoefficient = s.ReadInt32();
					Unknown06C = s.ReadInt32() > 0;
					GlobalStats.Read(s);
					DisplayedStats.Read(s);
					HopperData.Read(s);
				}