Symphony Of Empires
TreatyClause::ImposePolicies Class Reference

#include <diplomacy.hpp>

Inheritance diagram for TreatyClause::ImposePolicies:
Collaboration diagram for TreatyClause::ImposePolicies:

Public Member Functions

 ImposePolicies ()
 
unsigned cost ()
 
void enforce ()
 
bool in_effect () const
 
- Public Member Functions inherited from TreatyClause::BaseClause
 BaseClause ()=default
 
 BaseClause (const Nation &_sender, const Nation &_receiver)
 
virtual ~BaseClause ()=default
 

Public Attributes

Policies imposed
 
- Public Attributes inherited from TreatyClause::BaseClause
enum TreatyClauseType type
 
NationId sender_id
 
NationId receiver_id
 
size_t days_duration = 0
 
bool done = false
 

Detailed Description

Definition at line 135 of file diplomacy.hpp.

Constructor & Destructor Documentation

◆ ImposePolicies()

TreatyClause::ImposePolicies::ImposePolicies ( )
inline

Definition at line 137 of file diplomacy.hpp.

Member Function Documentation

◆ cost()

unsigned TreatyClause::ImposePolicies::cost ( )
virtual

Reimplemented from TreatyClause::BaseClause.

Definition at line 110 of file diplomacy.cpp.

Here is the call graph for this function:

◆ enforce()

void TreatyClause::ImposePolicies::enforce ( )
virtual

Reimplemented from TreatyClause::BaseClause.

Definition at line 115 of file diplomacy.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ in_effect()

bool TreatyClause::ImposePolicies::in_effect ( ) const
virtual

Reimplemented from TreatyClause::BaseClause.

Definition at line 121 of file diplomacy.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ imposed

Policies TreatyClause::ImposePolicies::imposed

Definition at line 146 of file diplomacy.hpp.


The documentation for this class was generated from the following files: