#define CE_SCRIPT_EXPORT(...)
The CE_SCRIPT_EXPORT macro marks a class or method as exportable and available in scripting environme...
Definition Macros.hpp:247
#define CE_STRUCT_ENUM_DECL(T)
Definition StructEnum.hpp:49
Definition NetworkClient.hpp:108
Definition NetworkClient.hpp:110
NetworkClientID operator()() noexcept
Allocates a new client ID.
Definition NetworkClient.hpp:118
Atomic< decltype(NetworkClientID::raw)> nextID
The next raw ID to be allocated.
Definition NetworkClient.hpp:113
Definition StructEnum.hpp:18
UInt32 UnderlyingType
Definition StructEnum.hpp:20
Definition Application.hpp:19
std::uint64_t UInt64
Definition DataTypes.hpp:26
std::atomic< T > Atomic
The Atomic template defines an atomic type.
Definition Atomic.hpp:16
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Definition NetworkClient.hpp:22
friend constexpr bool operator<=(const NetworkClientID &a, const NetworkClientID &b) noexcept
Compares two client IDs for <=.
Definition NetworkClient.hpp:75
friend constexpr bool operator>(const NetworkClientID &a, const NetworkClientID &b) noexcept
Compares two client IDs for >.
Definition NetworkClient.hpp:81
friend constexpr bool operator>=(const NetworkClientID &a, const NetworkClientID &b) noexcept
Compares two client IDs for >=.
Definition NetworkClient.hpp:87
UInt64 RawT
The raw type.
Definition NetworkClient.hpp:24
friend std::ostream & operator<<(std::ostream &os, const NetworkClientID &clientID)
Prints a string representation of the Client ID.
UInt64 raw
The raw network client ID.
Definition NetworkClient.hpp:28
friend constexpr bool operator!=(const NetworkClientID &a, const NetworkClientID &b) noexcept
Compares two client IDs for inequality.
Definition NetworkClient.hpp:63
friend constexpr bool operator<(const NetworkClientID &a, const NetworkClientID &b) noexcept
Compares two client IDs for <.
Definition NetworkClient.hpp:69
friend constexpr bool operator==(const NetworkClientID &a, const NetworkClientID &b) noexcept
Compares two client IDs for equality.
Definition NetworkClient.hpp:56
An enumeration that represents the current state the network client is in.
Definition NetworkClient.hpp:97
enum CeresEngine::NetworkClientState::@31 raw
@ Connected
Definition NetworkClient.hpp:101
@ Disconnected
Definition NetworkClient.hpp:99
@ Connecting
Definition NetworkClient.hpp:100
@ Error
Definition NetworkClient.hpp:103
@ Disconnecting
Definition NetworkClient.hpp:102