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


Public Member Functions | |
| bool | does_participate (const Nation &nation) const |
| bool | in_effect () const |
Public Member Functions inherited from Entity< TreatyId > | |
| 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 |
| NationId | sender_id |
| NationId | receiver_id |
| std::vector< TreatyClause::BaseClause * > | clauses |
| std::vector< std::pair< NationId, TreatyApproval > > | approval_status |
Public Attributes inherited from Entity< TreatyId > | |
| Id | cached_id |
| Id used to speed up Id lookups on any context. More... | |
Additional Inherited Members | |
Public Types inherited from Entity< TreatyId > | |
| using | Id = TreatyId |
Static Public Member Functions inherited from Entity< TreatyId > | |
| 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 267 of file diplomacy.hpp.
| bool Treaty::does_participate | ( | const Nation & | nation | ) | const |
Definition at line 163 of file diplomacy.cpp.
| bool Treaty::in_effect | ( | ) | const |
| std::vector<std::pair<NationId, TreatyApproval> > Treaty::approval_status |
Definition at line 277 of file diplomacy.hpp.
| std::vector<TreatyClause::BaseClause*> Treaty::clauses |
Definition at line 275 of file diplomacy.hpp.
| Eng3D::StringRef Treaty::name |
Definition at line 271 of file diplomacy.hpp.
| NationId Treaty::receiver_id |
Definition at line 273 of file diplomacy.hpp.
| NationId Treaty::sender_id |
Definition at line 272 of file diplomacy.hpp.