Example #1
0
        public void Read(MpqFileStream stream)
        {
            this.Name           = stream.ReadString(128, true);
            this.ClusterId      = stream.ReadValueS32();
            this.GroupCount     = stream.ReadValueS32();
            stream.Position    += (2 * 4);
            this.SubSceneGroups = stream.ReadSerializedData <SubSceneGroup>();

            this.Default = new SubSceneGroup(stream);
        }
Example #2
0
File: World.cs Project: Naxp/mooege
        public void Read(MpqFileStream stream)
        {
            this.Name = stream.ReadString(128, true);
            this.ClusterId = stream.ReadValueS32();
            this.GroupCount = stream.ReadValueS32();
            stream.Position += (2 * 4);
            this.SubSceneGroups = stream.ReadSerializedData<SubSceneGroup>();

            this.Default = new SubSceneGroup(stream);
        }