|
Symphony Of Empires
|
#include <indpobj.hpp>


Public Member Functions | |
| constexpr bool | operator== (const Pop &rhs) const |
Public Member Functions inherited from Entity< PopId > | |
| constexpr | Entity () noexcept=default |
| constexpr | Entity (Entity &&) noexcept=default |
| constexpr | Entity (const Entity &) noexcept=default |
| constexpr Entity & | operator= (const Entity &) noexcept=default |
| constexpr | ~Entity () noexcept=default |
| constexpr bool | is_invalid () const |
| Checks if the current id is invalid. More... | |
| constexpr bool | is_valid () const |
| Checks if the current id is valid. More... | |
| constexpr | operator Id () const noexcept |
| constexpr | operator size_t () const noexcept |
| constexpr Id | get_id () const |
Public Attributes | |
| PopTypeId | type_id |
| float | size = 1.f |
| float | life_needs_met = 0.f |
| float | literacy = 0.f |
| float | militancy = 0.f |
| float | budget = 0.f |
| Policies | wanted_policies |
Public Attributes inherited from Entity< PopId > | |
| Id | cached_id |
| Id used to speed up Id lookups on any context. More... | |
Friends | |
| class | Province |
Additional Inherited Members | |
Public Types inherited from Entity< PopId > | |
| using | Id = PopId |
Static Public Member Functions inherited from Entity< PopId > | |
| constexpr static Id | invalid () |
| Returns an invalid id. More... | |
| constexpr static bool | is_invalid (Id id) |
| Checks if the id is not valid. More... | |
| constexpr static bool | is_valid (Id id) |
| Checks if the id is valid. More... | |
Definition at line 264 of file indpobj.hpp.
|
inlineconstexpr |
Definition at line 268 of file indpobj.hpp.
|
friend |
Definition at line 266 of file indpobj.hpp.
| float Pop::budget = 0.f |
Definition at line 277 of file indpobj.hpp.
| float Pop::life_needs_met = 0.f |
Definition at line 274 of file indpobj.hpp.
| float Pop::literacy = 0.f |
Definition at line 275 of file indpobj.hpp.
| float Pop::militancy = 0.f |
Definition at line 276 of file indpobj.hpp.
| float Pop::size = 1.f |
Definition at line 273 of file indpobj.hpp.
| PopTypeId Pop::type_id |
Definition at line 272 of file indpobj.hpp.
| Policies Pop::wanted_policies |
Definition at line 278 of file indpobj.hpp.