Codebreak.Service.World.Game.Entity.AbstractEntity.CanBeExchanged C# (CSharp) Метод

CanBeExchanged() публичный Метод

public CanBeExchanged ( ExchangeTypeEnum exchangeType ) : bool
exchangeType ExchangeTypeEnum
Результат bool
        public virtual bool CanBeExchanged(ExchangeTypeEnum exchangeType)
        {
            return !HasEntityRestriction(EntityRestrictionEnum.RESTRICTION_CANT_EXCHANGE) && (CurrentAction == null || CurrentAction.IsFinished);
        }