MCPcopy Create free account
hub / github.com/SapphireServer/Sapphire / ActionScript

Class ActionScript

src/world/Script/NativeScriptApi.h:122–132  ·  view source on GitHub ↗

! * @brief The base class for any scripts that implement behaviour related to actions */

Source from the content-addressed store, hash-verified

120 * @brief The base class for any scripts that implement behaviour related to actions
121 */
122 class ActionScript : public ScriptObject
123 {
124 public:
125 explicit ActionScript( uint32_t actionId );
126
127 virtual void onStart( Sapphire::World::Action::Action& action );
128
129 virtual void onExecute( Sapphire::World::Action::Action& action );
130
131 virtual void onInterrupt( Sapphire::World::Action::Action& action );
132 };
133
134 /*!
135 * @brief The base class for any scripts that implement behaviour related to the event system.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected