fBaseXtensions.Cache.Internal.Objects.CacheObject.Interact C# (CSharp) Méthode

Interact() public méthode

Called during target handling interaction stage. (Derieved classes override this)
public Interact ( ) : RunStatus
Résultat RunStatus
        public virtual RunStatus Interact()
        {
            InteractionAttempts++;

            // If we've tried interacting too many times, blacklist this for a while
            if (InteractionAttempts > 3)
            {
                NeedsRemoved = true;
                BlacklistFlag = BlacklistType.Temporary;
            }
            BlacklistLoops_ = 10;

            return RunStatus.Success;
        }