Symphony Of Empires
TreatyId Struct Reference

#include <objects.hpp>

Inheritance diagram for TreatyId:
Collaboration diagram for TreatyId:

Public Member Functions

 TreatyId ()=default
 
 TreatyId (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 129 of file objects.hpp.

Constructor & Destructor Documentation

◆ TreatyId() [1/2]

TreatyId::TreatyId ( )
default

◆ TreatyId() [2/2]

TreatyId::TreatyId ( size_t  _id)
inline

Definition at line 131 of file objects.hpp.


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