Пример #1
0
        public void Write(ROM rom)
        {
            rom.PushOffset(addr);

            position.Write(rom);
            rotation.Write(rom);
            rom.Write8(act, 2);
            rom.Write8(model, 3);
            rom.Write32(bparams, 16);
            rom.Write32(behaviour, 20);

            rom.PopOffset();
        }