Server.Mobiles.PlayerMobile.Delta C# (CSharp) Method

Delta() public method

public Delta ( MobileDelta flag ) : void
flag MobileDelta
return void
        public override void Delta(MobileDelta flag)
        {
            base.Delta(flag);

            if ((flag & MobileDelta.Stat) != 0)
                ValidateEquipment();

            if ((flag & (MobileDelta.Name | MobileDelta.Hue)) != 0)
                InvalidateMyRunUO();
        }

Usage Example

Exemplo n.º 1
0
 public static void RemoveDisguise( PlayerMobile m )
 {
     m.Disguise = new DisguiseContext();
     m.Delta( MobileDelta.Hue );
     m.Delta( MobileDelta.Hair );
     m.Delta( MobileDelta.FacialHair );
     m.InvalidateProperties();
     m.Disguised = false;
 }
All Usage Examples Of Server.Mobiles.PlayerMobile::Delta