|
CeresEngine 0.2.0
A game development framework
|
A class that must be inherited by concrete action types. More...
#include <CeresEngine/Entity/Action.hpp>
Public Types | |
| using | ReturnType = R |
| The type that must be returned by action handlers. | |
Static Public Attributes | |
| static const EntityActionID | actionID = getActionID() |
| This action type ID. | |
Static Private Member Functions | |
| static EntityActionID | getActionID () noexcept |
A class that must be inherited by concrete action types.
The action sub-classes encapsulate the arguments that will be forwarded to systems supporting that action. This action, if it supports serialization via RTTI, can also be streamed to a remote server using the networking layer.
| T | the concrete action type |
| R | the type that action handlers must return |
The type that must be returned by action handlers.
|
staticprivatenoexcept |
|
inlinestatic |
This action type ID.