private RenderChunk_V4 Read_RenderChunk_V4(BinaryReader reader) { var result = new RenderChunk_V4(); result.Version = ReadVersion(reader, 1, 0x1411A0F10); result.SourceBakeQuality = ReadString(reader); result.DefinitionBakeQuality = ReadString(reader); result.RenderChunk = WorldChunkDefReader.Read_RenderChunk(reader); return(result); }
private WorldChunk Read_WorldChunkSource(BinaryReader reader) { var result = new WorldChunk(); result.Version = ReadVersion(reader, 4, 0x1411395A0); result.ClusterInstantiations = Read_List(reader, Read_ClusterInstantiation, 1, 0x1411A03E0); if (result.Version < 4) { result.RenderChunk_V1 = WorldChunkDefReader.Read_RenderChunk(reader); } else { result.RenderChunk = Read_RenderChunk_V4(reader); } result.AudioChunk = Read_AudioChunk(reader); return(result); }