Symphony Of Empires
|
#include <event.hpp>
Public Member Functions | |
void | take_decision (Nation &sender, Decision &dec) |
Public Member Functions inherited from Entity< T > | |
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 | |
Eng3D::StringRef | name |
std::vector< NationId > | receiver_ids |
std::vector< Decision > | decisions |
Eng3D::StringRef | text |
Eng3D::StringRef | title |
Eng3D::StringRef | extra_data |
bool | checked = false |
int | conditions_function = 0 |
int | do_event_function = 0 |
Public Attributes inherited from RefnameEntity< EventId > | |
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 |
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... | |
int Event::conditions_function = 0 |
Eng3D::StringRef Event::extra_data |
Eng3D::StringRef Event::name |
Eng3D::StringRef Event::text |
Eng3D::StringRef Event::title |