3#include "dcon_generated.hpp"
28 dcon::state_definition_id
state;
30 memset(
this, 0,
sizeof(*
this));
41static_assert(
sizeof(message) ==
constexpr int32_t expiration_in_days
bool can_accept(sys::state &state, message const &m)
void decline(sys::state &state, message const &m)
void update_pending(sys::state &state)
void accept(sys::state &state, message const &m)
@ be_crisis_primary_attacker
@ be_crisis_primary_defender
bool can_accept_crisis_offer(sys::state &state, dcon::nation_id from, dcon::nation_id to, sys::crisis_join_offer const &offer)
void post(sys::state &state, message const &m)
bool can_accept_crisis_peace_offer(sys::state &state, dcon::nation_id from, dcon::nation_id to, dcon::peace_offer_id peace)
bool ai_will_accept(sys::state &state, message const &m)
union diplomatic_message::message::dtype data
dcon::state_definition_id state
dcon::peace_offer_id peace
sys::crisis_join_offer crisis_offer