ChangeDiplomaticStatus Class Reference

#include <gameevents.h>

Inheritance diagram for ChangeDiplomaticStatus:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ChangeDiplomaticStatus ()
void readData (tnstream &stream)
void writeData (tnstream &stream)
void execute (MapDisplayInterface *md)
void setup ()
ASCString getName () const

Detailed Description

Definition at line 719 of file gameevents.h.


Constructor & Destructor Documentation

ChangeDiplomaticStatus::ChangeDiplomaticStatus (  )  [inline]

Definition at line 724 of file gameevents.h.


Member Function Documentation

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]

Implements EventAction.

Definition at line 732 of file gameevents.h.


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:46:29 2012 for Advanced Strategic Command by  doxygen 1.5.1