예제 #1
0
 public void ReadBody(BinaryReader reader)
 {
     owner          = FieldSerializeUtil.Deserialize(owner, reader);
     fireEffectType = (FireEffectType)FieldSerializeUtil.Deserialize((byte)fireEffectType, reader);
     pitch          = FieldSerializeUtil.Deserialize(pitch, reader);
     yaw            = FieldSerializeUtil.Deserialize(yaw, reader);
     weaponId       = FieldSerializeUtil.Deserialize(weaponId, reader);
 }
예제 #2
0
        public void RewindTo(IEvent value)
        {
            FireEvent right = value as FireEvent;

            owner          = right.owner;
            fireEffectType = right.fireEffectType;
            pitch          = right.pitch;
            yaw            = right.yaw;
            weaponId       = right.weaponId;
        }
예제 #3
0
 public FireTile( TimeSpan delay, Mobile owner, FireEffectType type )
     : base(( Utility.RandomBool() ? 14732 : 6571 ))
 {
     FireEffectType = type;
     Hue = GetHue;
     m_Owner = owner;
     Movable = false;
     new InternalTimer( this, delay ).Start();
     m_BurnTimer = new InternalBurnTimer( this, TimeSpan.FromSeconds( 1 ), TimeSpan.FromSeconds( 1 ) );
     m_BurnTimer.Start();
 }