Symphony Of Empires
ProvinceId Struct Reference

#include <objects.hpp>

Inheritance diagram for ProvinceId:
Collaboration diagram for ProvinceId:

Public Member Functions

 ProvinceId ()=default
 
 ProvinceId (size_t _id)
 
- Public Member Functions inherited from EntityId< uint16_t >
constexpr EntityId () noexcept=default
 
constexpr EntityId (uint16_t _id) noexcept
 
constexpr EntityId (size_t _id) noexcept
 
constexpr EntityId (EntityId< uint16_t > &&) noexcept=default
 
constexpr EntityId (const EntityId< uint16_t > &) noexcept=default
 
constexpr EntityId< uint16_t > & operator= (const EntityId< uint16_t > &) noexcept=default
 
constexpr ~EntityId () noexcept=default
 
constexpr operator size_t () const noexcept
 
constexpr auto operator== (const EntityId< uint16_t > &o) const noexcept
 
constexpr auto operator<=> (const EntityId< uint16_t > &o) const noexcept=default
 
EntityId< uint16_t > & operator++ () noexcept
 
EntityId< uint16_t > operator++ (int) noexcept
 
EntityId< uint16_t > & operator-- () noexcept
 
EntityId< uint16_t > operator-- (int) noexcept
 

Additional Inherited Members

- Public Types inherited from EntityId< uint16_t >
using Type = uint16_t
 
- Public Attributes inherited from EntityId< uint16_t >
uint16_t id
 
- Static Public Attributes inherited from EntityId< uint16_t >
constexpr static uint16_t invalid_id
 

Detailed Description

Definition at line 108 of file objects.hpp.

Constructor & Destructor Documentation

◆ ProvinceId() [1/2]

ProvinceId::ProvinceId ( )
default

◆ ProvinceId() [2/2]

ProvinceId::ProvinceId ( size_t  _id)
inline

Definition at line 110 of file objects.hpp.


The documentation for this struct was generated from the following file: