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

Go to the source code of this file.

Classes

struct  CeresEngine::AbstractNetworkEvent
 
struct  CeresEngine::NetworkEvent< E >
 The NetworkEvent is a special type of event that can be sent over the network. More...
 

Namespaces

namespace  CeresEngine
 

Variables

template<typename A >
constexpr bool CeresEngine::isNetworkEvent = std::is_base_of<AbstractNetworkEvent, A>::value
 A trait that checks if the type A is a network event.
 
template<typename... As>
constexpr bool CeresEngine::areNetworkEvents = (isNetworkEvent<As> && ...)
 A trait that checks if the types As are all events.