public PRNT(RobloxBinaryChunk chunk) { using (RobloxBinaryReader reader = chunk.GetReader("PRNT")) { Format = reader.ReadByte(); NumRelations = reader.ReadInt32(); ChildrenIds = reader.ReadInstanceIds(NumRelations); ParentIds = reader.ReadInstanceIds(NumRelations); } }
public INST(RobloxBinaryChunk chunk) { using (RobloxBinaryReader reader = chunk.GetReader("INST")) { TypeIndex = reader.ReadInt32(); TypeName = reader.ReadString(); IsService = reader.ReadBoolean(); NumInstances = reader.ReadInt32(); InstanceIds = reader.ReadInstanceIds(NumInstances); } }