CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
NetworkAction.hpp File Reference

Go to the source code of this file.

Classes

struct  CeresEngine::AbstractNetworkAction
 
struct  CeresEngine::NetworkAction< A >
 The NetworkAction is a special type of action that can be performed remotely on the server. More...
 

Namespaces

namespace  CeresEngine
 

Variables

template<typename A >
constexpr bool CeresEngine::isNetworkAction = std::is_base_of<AbstractNetworkAction, A>::value
 A trait that checks if the type A is a network action.
 
template<typename... As>
constexpr bool CeresEngine::areNetworkActions = (isNetworkAction<As> && ...)
 A trait that checks if the types As are all actions.