Symphony Of Empires
Technology Struct Reference

#include <indpobj.hpp>

Inheritance diagram for Technology:
Collaboration diagram for Technology:

Public Attributes

Eng3D::StringRef name
 
Eng3D::StringRef description
 
float cost
 
enum TechnologyType type
 
std::vector< TechnologyIdreq_technologies
 
- Public Attributes inherited from RefnameEntity< TechnologyId >
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 305 of file indpobj.hpp.

Member Data Documentation

◆ cost

float Technology::cost

Definition at line 308 of file indpobj.hpp.

◆ description

Eng3D::StringRef Technology::description

Definition at line 307 of file indpobj.hpp.

◆ name

Eng3D::StringRef Technology::name

Definition at line 306 of file indpobj.hpp.

◆ req_technologies

std::vector<TechnologyId> Technology::req_technologies

Definition at line 310 of file indpobj.hpp.

◆ type

enum TechnologyType Technology::type

Definition at line 308 of file indpobj.hpp.


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