class MAGES::SceneGraph::SelectActionData¶
Overview¶
An action which allows for multiple inputs and outputs, but selects only one of the outputs, depending on the performed action. More…
class SelectActionData: public MAGES::BaseActionData { public: // classes class Factory; // properties List<ActionCollection> InputActions; List<ActionCollection> OutputActions; override ActionType Type; // methods virtual override List<BaseActionData> GetIncomingActions(); virtual override List<BaseActionData> GetLinkedActions(); virtual override void RemapActions(Dictionary<BaseActionData, BaseActionData> map); };
Inherited Members¶
public:
// enums
enum ActionType;
enum ObjectParentType;
// properties
List<BaseActionData> NextActions;
List<BaseActionData> PrevActions;
List AttachedScripts;
Action PathEnd;
string ID;
string ActionName;
bool AdvancedMode;
Vector2 NodePosition;
ActionState State;
StepContainer Steps;
EffectDataCollection Effects;
string ActionDescription;
GameObject[] ActionGameObjects;
bool IsStartAction;
bool IsReplicated;
ActionType Type;
bool IsAudible;
// methods
override bool Equals(object other);
override int GetHashCode();
virtual List<BaseActionData> GetLinkedActions();
virtual List<BaseActionData> GetIncomingActions();
virtual void RemapActions(Dictionary<BaseActionData, BaseActionData> map);
Detailed Documentation¶
An action which allows for multiple inputs and outputs, but selects only one of the outputs, depending on the performed action.
Properties¶
List<ActionCollection> InputActions
Gets the list of actions to take. For this action data, it is the list of actions, one of which may be completed.
List<ActionCollection> OutputActions
Gets the list of actions to initialize. For this action data, it is the list of actions, one of which may be initialized.
Methods¶
virtual override List<BaseActionData> GetIncomingActions()
Gets the list of actions to take. For this action data, it is the list of actions that must be completed.
Returns:
The list of the connected actions.
virtual override List<BaseActionData> GetLinkedActions()
Gets the list of actions to take. For this action data, it is the list of actions that must be completed.
Returns:
The list of the outgoing actions.
virtual override void RemapActions(Dictionary<BaseActionData, BaseActionData> map)
Remap the actions to new ones, provided by a dictionary.
Parameters:
map |
The map. |