XII Release 0.1.0
Loading...
Searching...
No Matches
xiiOnComponentFinishedAction2 Struct Reference

Same as xiiOnComponentFinishedAction, but additionally includes 'Restart'. More...

#include <Declarations.h>

Public Types

enum  Enum {
  None , DeleteComponent , DeleteGameObject , Restart ,
  Default = None
}
 
using StorageType = xiiUInt8
 

Static Public Member Functions

static void HandleFinishedAction (xiiComponent *pComponent, xiiOnComponentFinishedAction2::Enum action)
 See xiiOnComponentFinishedAction::HandleFinishedAction()
 
static void HandleDeleteObjectMsg (xiiMsgDeleteGameObject &ref_msg, xiiEnum< xiiOnComponentFinishedAction2 > &ref_action)
 See xiiOnComponentFinishedAction::HandleDeleteObjectMsg()
 

Detailed Description

Same as xiiOnComponentFinishedAction, but additionally includes 'Restart'.

Member Enumeration Documentation

◆ Enum

Enumerator
None 

Nothing happens after the action is finished.

DeleteComponent 

The component deletes only itself, but its game object stays.

DeleteGameObject 

When finished the component deletes its owner game object. If there are multiple objects with this mode, the component instead deletes itself, and only the last such component deletes the game object.

Restart 

When finished, restart from the beginning.


The documentation for this struct was generated from the following files: