#include <gameevents.h>
Inheritance diagram for ChangeDiplomaticStatus:

Public Member Functions | |
| ChangeDiplomaticStatus () | |
| void | readData (tnstream &stream) |
| void | writeData (tnstream &stream) |
| void | execute (MapDisplayInterface *md) |
| void | setup () |
| ASCString | getName () const |
Definition at line 719 of file gameevents.h.
| ChangeDiplomaticStatus::ChangeDiplomaticStatus | ( | ) | [inline] |
Definition at line 724 of file gameevents.h.
| void ChangeDiplomaticStatus::readData | ( | tnstream & | stream | ) | [virtual] |
Implements EventAction.
Definition at line 1581 of file gameevents.cpp.
References tnstream::readInt(), and versionTest().
| void ChangeDiplomaticStatus::writeData | ( | tnstream & | stream | ) | [virtual] |
Implements EventAction.
Definition at line 1590 of file gameevents.cpp.
References tnstream::writeInt().
| void ChangeDiplomaticStatus::execute | ( | MapDisplayInterface * | md | ) | [virtual] |
Implements EventAction.
Definition at line 1612 of file gameevents.cpp.
References createContext(), ActionRegistry::DiplomacyCommand, EventAction::gamemap, GameMap::getPlayer(), PEACE, ActionResult::successful(), and WAR.
| void ChangeDiplomaticStatus::setup | ( | ) | [virtual] |
Implements EventAction.
Definition at line 1599 of file gameevents.cpp.
References chooseString(), and editInt().
| ASCString ChangeDiplomaticStatus::getName | ( | ) | const [inline, virtual] |
1.5.1