Symphony Of Empires
diplomacy.hpp File Reference
#include <cstdint>
#include <cstddef>
#include <vector>
#include "eng3d/string.hpp"
#include "objects.hpp"
#include "indpobj.hpp"
Include dependency graph for diplomacy.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Eng3D::Deser::Serializer< TreatyClauseType >
 
class  TreatyClause::BaseClause
 
class  TreatyClause::Payment
 
class  TreatyClause::Humiliate
 
class  TreatyClause::LiberateNation
 
class  TreatyClause::ImposePolicies
 
class  TreatyClause::AnnexProvince
 
class  TreatyClause::Puppet
 
struct  Eng3D::Deser::Serializer< TreatyClause::BaseClause * >
 
struct  Eng3D::Deser::Serializer< enum TreatyApproval >
 
struct  Treaty
 
struct  Eng3D::Deser::Serializer< Treaty >
 

Namespaces

 Diplomacy
 
 TreatyClause
 

Enumerations

enum class  TreatyClauseType {
  PAYMENT , HUMILIATE , LIBERATE_NATION , IMPOSE_POLICIES ,
  ANNEX_PROVINCES , CEASEFIRE , PUPPET
}
 
enum class  TreatyApproval { UNDECIDED , ACCEPTED , DENIED , ABSENT }
 

Functions

bool Diplomacy::is_friend (Nation &us, Nation &them)
 
bool Diplomacy::is_foe (Nation &us, Nation &them)
 

Enumeration Type Documentation

◆ TreatyApproval

enum TreatyApproval
strong
Enumerator
UNDECIDED 
ACCEPTED 
DENIED 
ABSENT 

Definition at line 258 of file diplomacy.hpp.

◆ TreatyClauseType

enum TreatyClauseType
strong
Enumerator
PAYMENT 
HUMILIATE 
LIBERATE_NATION 
IMPOSE_POLICIES 
ANNEX_PROVINCES 
CEASEFIRE 
PUPPET 

Definition at line 46 of file diplomacy.hpp.