OverSim
GameAPIChatMessage Class Reference

Class generated from common/CommonMessages.msg by opp_msgc. More...

#include <CommonMessages_m.h>

Inheritance diagram for GameAPIChatMessage:
GameAPIMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 GameAPIChatMessage (const char *name=NULL, int kind=0)
 GameAPIChatMessage (const GameAPIChatMessage &other)
virtual ~GameAPIChatMessage ()
GameAPIChatMessageoperator= (const GameAPIChatMessage &other)
virtual GameAPIChatMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual NodeHandlegetSrc ()
virtual const NodeHandlegetSrc () const
virtual void setSrc (const NodeHandle &src)
virtual const char * getMsg () const
virtual void setMsg (const char *msg)
- Public Member Functions inherited from GameAPIMessage
 GameAPIMessage (const char *name=NULL, int kind=0)
 GameAPIMessage (const GameAPIMessage &other)
virtual ~GameAPIMessage ()
GameAPIMessageoperator= (const GameAPIMessage &other)
virtual int getCommand () const
virtual void setCommand (int command)
- Public Member Functions inherited from BaseOverlayMessage
 BaseOverlayMessage (const char *name=NULL, int kind=0)
 BaseOverlayMessage (const BaseOverlayMessage &other)
virtual ~BaseOverlayMessage ()
BaseOverlayMessageoperator= (const BaseOverlayMessage &other)
virtual int getType () const
virtual void setType (int type)
virtual int getStatType () const
virtual void setStatType (int statType)
- Public Member Functions inherited from OverSimMessage
 OverSimMessage (const char *name=NULL, int kind=0)
 OverSimMessage (const OverSimMessage &other)
OverSimMessageoperator= (const OverSimMessage &other)
- Public Member Functions inherited from OverSimMessage_Base
virtual ~OverSimMessage_Base ()

Protected Member Functions

bool operator== (const GameAPIChatMessage &)
- Protected Member Functions inherited from GameAPIMessage
bool operator== (const GameAPIMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

NodeHandle src_var
opp_string msg_var
- Protected Attributes inherited from GameAPIMessage
int command_var
- Protected Attributes inherited from BaseOverlayMessage
int type_var
int statType_var

Private Member Functions

void copy (const GameAPIChatMessage &other)

Detailed Description

Class generated from common/CommonMessages.msg by opp_msgc.

packet GameAPIChatMessage extends GameAPIMessage
{
    NodeHandle src;
    string msg;
}

Definition at line 2514 of file CommonMessages_m.h.

Constructor & Destructor Documentation

GameAPIChatMessage::GameAPIChatMessage ( const char *  name = NULL,
int  kind = 0 
)

Referenced by dup().

GameAPIChatMessage::GameAPIChatMessage ( const GameAPIChatMessage other)
virtual GameAPIChatMessage::~GameAPIChatMessage ( )
virtual

Member Function Documentation

void GameAPIChatMessage::copy ( const GameAPIChatMessage other)
private
virtual GameAPIChatMessage* GameAPIChatMessage::dup ( ) const
inlinevirtual

Reimplemented from GameAPIMessage.

Definition at line 2532 of file CommonMessages_m.h.

{return new GameAPIChatMessage(*this);}
virtual const char* GameAPIChatMessage::getMsg ( ) const
virtual
virtual NodeHandle& GameAPIChatMessage::getSrc ( )
virtual
virtual const NodeHandle& GameAPIChatMessage::getSrc ( ) const
inlinevirtual

Definition at line 2538 of file CommonMessages_m.h.

Referenced by getSrc().

{return const_cast<GameAPIChatMessage*>(this)->getSrc();}
GameAPIChatMessage& GameAPIChatMessage::operator= ( const GameAPIChatMessage other)
bool GameAPIChatMessage::operator== ( const GameAPIChatMessage )
protected
virtual void GameAPIChatMessage::parsimPack ( cCommBuffer *  b)
virtual

Reimplemented from GameAPIMessage.

Referenced by doPacking().

virtual void GameAPIChatMessage::parsimUnpack ( cCommBuffer *  b)
virtual

Reimplemented from GameAPIMessage.

Referenced by doUnpacking().

virtual void GameAPIChatMessage::setMsg ( const char *  msg)
virtual
virtual void GameAPIChatMessage::setSrc ( const NodeHandle src)
virtual

Member Data Documentation

opp_string GameAPIChatMessage::msg_var
protected

Definition at line 2518 of file CommonMessages_m.h.

NodeHandle GameAPIChatMessage::src_var
protected

Definition at line 2517 of file CommonMessages_m.h.


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