Advanced Strategic Command
Public Member Functions | List of all members
ChangeBuildingOwner Class Reference

#include <gameevents.h>

Inheritance diagram for ChangeBuildingOwner:
Inheritance graph
[legend]

Public Member Functions

 ChangeBuildingOwner ()
 
void readData (tnstream &stream)
 
void writeData (tnstream &stream)
 
void execute (MapDisplayInterface *md)
 
void setup ()
 
ASCString getName () const
 
- Public Member Functions inherited from EventAction
virtual ASCString getLocalizationString () const
 
virtual void setLocalizationString (const ASCString &s)
 
void setMap (GameMap *gamemap_)
 
EventActionID getActionID ()
 
virtual ~EventAction ()
 

Additional Inherited Members

- Protected Member Functions inherited from EventAction
 EventAction (EventActionID id)
 
- Protected Attributes inherited from EventAction
GameMapgamemap
 

Detailed Description

Definition at line 667 of file gameevents.h.

Constructor & Destructor Documentation

ChangeBuildingOwner::ChangeBuildingOwner ( )
inline

Definition at line 671 of file gameevents.h.

Member Function Documentation

void ChangeBuildingOwner::execute ( MapDisplayInterface md)
virtual
ASCString ChangeBuildingOwner::getName ( ) const
inlinevirtual

Implements EventAction.

Definition at line 679 of file gameevents.h.

void ChangeBuildingOwner::readData ( tnstream stream)
virtual

Implements EventAction.

Definition at line 1446 of file gameevents.cpp.

References MapCoordinate::read(), tnstream::readInt(), and versionTest().

void ChangeBuildingOwner::setup ( void  )
virtual

Implements EventAction.

Definition at line 1462 of file gameevents.cpp.

References getid(), getxy_building(), MapCoordinate::x, and MapCoordinate::y.

void ChangeBuildingOwner::writeData ( tnstream stream)
virtual

Implements EventAction.

Definition at line 1454 of file gameevents.cpp.

References MapCoordinate::write(), and tnstream::writeInt().


The documentation for this class was generated from the following files: