wavelength 1.0.0
Loading...
Searching...
No Matches
datafuncaction.h
Go to the documentation of this file.
1#pragma once
2
4#include "script/dataarray.h"
5
13public:
21 explicit DataFuncAction(DataArray *pAction);
22
29 ~DataFuncAction() override {
30 mCommand->Release();
31 }
32
39 void Exec() override;
40
41private:
42 DataArray *mCommand;
43};
Reference-counted array of script data nodes.
Definition dataarray.h:20
~DataFuncAction() override
Release the reference on the node.
Definition datafuncaction.h:29
void Exec() override
Run the command through ScriptFunction::Dispatch().
DataFuncAction(DataArray *pAction)
Keep a reference on the node.
Something a trigger does when its conditions hold.
Definition triggeraction.h:15