class MAGES::EffectDataCollection

Overview

Contains all of the effects for a given action. More…

class EffectDataCollection
{
public:
    // properties

    List<EffectData> Effects;
    List<EffectImplementor> Implementors;

    // methods

    void Initialized(BaseActionData data);
    void Performed(BaseActionData data, bool skipped);
    void Undone(BaseActionData data);
};

Detailed Documentation

Contains all of the effects for a given action.

Properties

List<EffectData> Effects

Gets or sets the effect data.

List<EffectImplementor> Implementors

Gets or sets the instanced effect implementors.

Methods

void Initialized(BaseActionData data)

Called when the action is initialized.

Parameters:

data

The data.

void Performed(BaseActionData data, bool skipped)

Called when the action is performed.

Parameters:

data

The data.

skipped

Whether the action was skipped.

void Undone(BaseActionData data)

Called when the action is undone.

Parameters:

data

The data.