|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/Network/NetworkSystem.hpp>
Public Member Functions | |
| NetworkActionHandler (NetworkSystem *system) | |
Public Member Functions inherited from CeresEngine::EntityActionHandler< NetworkAction< A > > | |
| virtual bool | canAct (const Entity &entity, const NetworkAction< A > &action) noexcept |
| Checks if the given handler can act on the given action. | |
Public Member Functions inherited from CeresEngine::AbstractActionHandler | |
| virtual | ~AbstractActionHandler ()=default |
Destroys the AbstractActionHandler. | |
Private Member Functions | |
| NetworkAction< A >::ReturnType | act (Entity &entity, const NetworkAction< A > &action) final |
| Runs an action. | |
Private Attributes | |
| NetworkSystem * | system |
| The attached network system. | |
Additional Inherited Members | |
Public Types inherited from CeresEngine::EntityActionHandler< NetworkAction< A > > | |
| using | Action = NetworkAction< A > |
| The action type handled by the handler. | |
| using | ReturnType = typename A::ReturnType |
| The return type required by the action type. | |
|
inlineexplicit |
|
finalprivatevirtual |
Runs an action.
| entity | The entity to be acted upon |
| action | The action to be ran |
Implements CeresEngine::EntityActionHandler< NetworkAction< A > >.
|
private |
The attached network system.