Project Alice
Loading...
Searching...
No Matches
diplomatic_message::message Struct Reference

Holds data regarding a diplomatic message between two specified nations at a certain date, whether it be an alliance request, peace offer, calling an ally, etc. Also contains other optional data such as a pertinent war, crisis, state, etc. More...

#include <diplomatic_messages.hpp>

Collaboration diagram for diplomatic_message::message:

Classes

union  dtype
 

Public Member Functions

 message ()
 

Public Attributes

union diplomatic_message::message::dtype data
 
sys::date when
 
dcon::nation_id from
 
dcon::nation_id to
 
type_t type = diplomatic_message::type_t::none
 
uint8_t padding = 0
 

Detailed Description

Holds data regarding a diplomatic message between two specified nations at a certain date, whether it be an alliance request, peace offer, calling an ally, etc. Also contains other optional data such as a pertinent war, crisis, state, etc.

Definition at line 27 of file diplomatic_messages.hpp.

Constructor & Destructor Documentation

◆ message()

diplomatic_message::message::message ( )
inline

Definition at line 43 of file diplomatic_messages.hpp.

Member Data Documentation

◆ data

union diplomatic_message::message::dtype diplomatic_message::message::data

◆ from

dcon::nation_id diplomatic_message::message::from

Definition at line 38 of file diplomatic_messages.hpp.

◆ padding

uint8_t diplomatic_message::message::padding = 0

Definition at line 41 of file diplomatic_messages.hpp.

◆ to

dcon::nation_id diplomatic_message::message::to

Definition at line 39 of file diplomatic_messages.hpp.

◆ type

type_t diplomatic_message::message::type = diplomatic_message::type_t::none

Definition at line 40 of file diplomatic_messages.hpp.

◆ when

sys::date diplomatic_message::message::when

Definition at line 37 of file diplomatic_messages.hpp.


The documentation for this struct was generated from the following file: