Symphony Of Empires
PopId Struct Reference

#include <objects.hpp>

Inheritance diagram for PopId:
Collaboration diagram for PopId:

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Definition at line 66 of file objects.hpp.

Constructor & Destructor Documentation

◆ PopId() [1/2]

PopId::PopId ( )
default

◆ PopId() [2/2]

PopId::PopId ( size_t  _id)
inline

Definition at line 68 of file objects.hpp.


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