DRObjects.Items.Archetypes.Local.CombatManual.PerformAction C# (CSharp) Method

PerformAction() public method

public PerformAction ( ActionType actionType, Actor actor, object args ) : ActionFeedback[]
actionType ActionType
actor Actor
args object
return ActionFeedback[]
        public override ActionFeedback[] PerformAction(ActionType actionType, Actor actor, object[] args)
        {
            if (actionType == ActionType.READ)
            {
                //Open the CombatManualComponent
                return new ActionFeedback[] { new OpenInterfaceFeedback(new CombatManualInterface(this)) };
            }
            else
            {
                return base.PerformAction(actionType, actor, args);
            }
        }