Esempio n. 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);
        }
Esempio n. 2
0
File: World.cs Progetto: 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);
        }