Symphony Of Empires
|
#include <diplomacy.hpp>
Public Member Functions | |
BaseClause ()=default | |
BaseClause (const Nation &_sender, const Nation &_receiver) | |
virtual | ~BaseClause ()=default |
virtual unsigned | cost () |
virtual void | enforce () |
virtual bool | in_effect () const |
Public Attributes | |
enum TreatyClauseType | type |
NationId | sender_id |
NationId | receiver_id |
size_t | days_duration = 0 |
bool | done = false |
Definition at line 60 of file diplomacy.hpp.
|
default |
Definition at line 33 of file diplomacy.cpp.
|
virtualdefault |
|
inlinevirtual |
Reimplemented in TreatyClause::Puppet, TreatyClause::AnnexProvince, TreatyClause::ImposePolicies, TreatyClause::LiberateNation, TreatyClause::Humiliate, and TreatyClause::Payment.
Definition at line 74 of file diplomacy.hpp.
|
inlinevirtual |
Reimplemented in TreatyClause::Puppet, TreatyClause::AnnexProvince, TreatyClause::ImposePolicies, TreatyClause::LiberateNation, TreatyClause::Humiliate, and TreatyClause::Payment.
Definition at line 79 of file diplomacy.hpp.
|
inlinevirtual |
Reimplemented in TreatyClause::Puppet, TreatyClause::AnnexProvince, TreatyClause::ImposePolicies, TreatyClause::LiberateNation, TreatyClause::Humiliate, and TreatyClause::Payment.
Definition at line 83 of file diplomacy.hpp.
size_t TreatyClause::BaseClause::days_duration = 0 |
Definition at line 69 of file diplomacy.hpp.
bool TreatyClause::BaseClause::done = false |
Definition at line 70 of file diplomacy.hpp.
NationId TreatyClause::BaseClause::receiver_id |
Definition at line 68 of file diplomacy.hpp.
NationId TreatyClause::BaseClause::sender_id |
Definition at line 67 of file diplomacy.hpp.
enum TreatyClauseType TreatyClause::BaseClause::type |
Definition at line 64 of file diplomacy.hpp.