Symphony Of Empires
PopType Struct Reference

#include <indpobj.hpp>

Inheritance diagram for PopType:
Collaboration diagram for PopType:

Public Attributes

Eng3D::StringRef name
 
float social_value = 1.f
 
std::vector< float > basic_needs_amount
 
std::vector< float > luxury_needs_satisfaction
 
std::vector< float > luxury_needs_deminishing_factor
 
- Public Attributes inherited from RefnameEntity< PopTypeId >
Eng3D::StringRef ref_name
 
- Public Attributes inherited from Entity< T >
Id cached_id
 Id used to speed up Id lookups on any context. More...
 

Additional Inherited Members

- Public Types inherited from Entity< T >
using Id = T
 
- Public Member Functions inherited from Entity< T >
constexpr Entity () noexcept=default
 
constexpr Entity (Entity &&) noexcept=default
 
constexpr Entity (const Entity &) noexcept=default
 
constexpr Entityoperator= (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
 
- Static Public Member Functions inherited from Entity< T >
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...
 

Detailed Description

Definition at line 240 of file indpobj.hpp.

Member Data Documentation

◆ basic_needs_amount

std::vector<float> PopType::basic_needs_amount

Definition at line 243 of file indpobj.hpp.

◆ luxury_needs_deminishing_factor

std::vector<float> PopType::luxury_needs_deminishing_factor

Definition at line 245 of file indpobj.hpp.

◆ luxury_needs_satisfaction

std::vector<float> PopType::luxury_needs_satisfaction

Definition at line 244 of file indpobj.hpp.

◆ name

Eng3D::StringRef PopType::name

Definition at line 241 of file indpobj.hpp.

◆ social_value

float PopType::social_value = 1.f

Definition at line 242 of file indpobj.hpp.


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