Project Alice
Loading...
Searching...
No Matches
diplomatic_messages.cpp File Reference
#include "diplomatic_messages.hpp"
#include "system_state.hpp"
#include "commands.hpp"
#include "nations.hpp"
#include "ai.hpp"
Include dependency graph for diplomatic_messages.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  diplomatic_message
 

Functions

void diplomatic_message::decline (sys::state &state, message const &m)
 
bool diplomatic_message::can_accept_crisis_offer (sys::state &state, dcon::nation_id from, dcon::nation_id to, sys::crisis_join_offer const &offer)
 
void diplomatic_message::add_to_crisis_with_offer (sys::state &state, dcon::nation_id from, dcon::nation_id to, sys::crisis_join_offer const &offer)
 
bool diplomatic_message::can_accept_crisis_peace_offer (sys::state &state, dcon::nation_id from, dcon::nation_id to, dcon::peace_offer_id peace)
 
bool diplomatic_message::can_accept (sys::state &state, message const &m)
 
void diplomatic_message::accept (sys::state &state, message const &m)
 
bool diplomatic_message::ai_will_accept (sys::state &state, message const &m)
 
void diplomatic_message::post (sys::state &state, message const &m)
 
void diplomatic_message::update_pending (sys::state &state)