override public void fromRaw(ELEReader raw, int version)
        {
            if (version == 4)
            {
                this.minDelay = (uint)raw.ReadInt();

                this.maxDelay = (uint)raw.ReadInt();
            }
        }
示例#2
0
        override public void fromRaw(ELEReader raw, int version)
        {
            this.gfxId  = raw.ReadInt();
            this.height = raw.ReadByte();

            this.horizontalSymmetry = raw.ReadBool();

            this.origin = new Point(raw.ReadShort(), raw.ReadShort());

            this.size = new Point(raw.ReadShort(), raw.ReadShort());
        }
        override public void fromRaw(ELEReader raw, int version)
        {
            uint entityLookLength = (uint)raw.ReadInt();

            this.entityLook = raw.ReadAscii((int)entityLookLength);

            this.horizontalSymmetry = raw.ReadBool();

            if (version >= 7)
            {
                this.playAnimation = raw.ReadBool();
            }
            if (version >= 6)
            {
                this.playAnimStatic = raw.ReadBool();
            }
            if (version >= 5)
            {
                this.minDelay = (uint)raw.ReadInt();

                this.maxDelay = (uint)raw.ReadInt();
            }
        }
 override public void fromRaw(ELEReader raw, int version)
 {
     this.scriptId = (int)raw.ReadShort();
 }
 public virtual void fromRaw(ELEReader reader, int version)
 {
     throw new System.FieldAccessException();
 }
示例#6
0
        override public void fromRaw(ELEReader raw, int version)
        {
            uint blendModeLength = (uint)raw.ReadInt();

            this.blendMode = raw.ReadAscii((int)blendModeLength);
        }