YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::ChatCommand Class Reference

#include <ChatCommand.hpp>

Collaboration diagram for yap::ChatCommand:

List of all members.

Classes

struct  MyCmd

Public Types

typedef struct
yap::ChatCommand::MyCmd 
MyCmdType

Public Member Functions

 ChatCommand ()
 ~ChatCommand ()
DisplayType Trade (BufferType b)
DisplayType Echo (BufferType b)
DisplayType Help (BufferType b)
DisplayType SwitchTab (BufferType b)
DisplayType SwitchChan (BufferType b)
DisplayType AddChan (BufferType b)
DisplayType RmChan (BufferType b)
DisplayType Unknown (BufferType b)
void SetCommand (func cmd)
func GetCmd (const char *pString)
ResponseType ExecCmd (ChatManagerType *cm)

Private Member Functions

 DISALLOW_COPY (ChatCommand)
BufferType SwitchTab (UInt32 *channb, BufferType *b, ChatManagerType *cm, ChatDisplayer *cd)
BufferType SwitchChan (UInt32 *channb, BufferType *b, ChatManagerType *cm, ChatDisplayer *cd)
BufferType AddChan (UInt32 *channb, BufferType *b, ChatManagerType *cm, ChatDisplayer *cd)
BufferType RmChan (UInt32 *channb, BufferType *b, ChatManagerType *cm, ChatDisplayer *cd)

Private Attributes

MyCmdTypetab_
func command_

Detailed Description

Definition at line 26 of file ChatCommand.hpp.


Member Typedef Documentation


Constructor & Destructor Documentation

yap::ChatCommand::ChatCommand ( )

Definition at line 6 of file ChatCommand.cpp.

Here is the call graph for this function:

yap::ChatCommand::~ChatCommand ( )

Definition at line 31 of file ChatCommand.cpp.


Member Function Documentation

DisplayType yap::ChatCommand::AddChan ( BufferType  b)

Definition at line 167 of file ChatCommand.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

BufferType yap::ChatCommand::AddChan ( UInt32 channb,
BufferType b,
ChatManagerType cm,
ChatDisplayer cd 
)
private

Definition at line 278 of file ChatCommand.cpp.

Here is the call graph for this function:

yap::ChatCommand::DISALLOW_COPY ( ChatCommand  )
private
DisplayType yap::ChatCommand::Echo ( BufferType  b)

Definition at line 93 of file ChatCommand.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

ResponseType yap::ChatCommand::ExecCmd ( ChatManagerType cm)

Definition at line 345 of file ChatCommand.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

func yap::ChatCommand::GetCmd ( const char *  pString)

Definition at line 200 of file ChatCommand.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

DisplayType yap::ChatCommand::Help ( BufferType  b)

Definition at line 79 of file ChatCommand.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

DisplayType yap::ChatCommand::RmChan ( BufferType  b)

Definition at line 181 of file ChatCommand.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

BufferType yap::ChatCommand::RmChan ( UInt32 channb,
BufferType b,
ChatManagerType cm,
ChatDisplayer cd 
)
private

Definition at line 312 of file ChatCommand.cpp.

Here is the call graph for this function:

void yap::ChatCommand::SetCommand ( func  cmd)

Definition at line 195 of file ChatCommand.cpp.

Here is the caller graph for this function:

DisplayType yap::ChatCommand::SwitchChan ( BufferType  b)

Definition at line 154 of file ChatCommand.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

BufferType yap::ChatCommand::SwitchChan ( UInt32 channb,
BufferType b,
ChatManagerType cm,
ChatDisplayer cd 
)
private

Definition at line 244 of file ChatCommand.cpp.

Here is the call graph for this function:

DisplayType yap::ChatCommand::SwitchTab ( BufferType  b)

Definition at line 141 of file ChatCommand.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

BufferType yap::ChatCommand::SwitchTab ( UInt32 channb,
BufferType b,
ChatManagerType cm,
ChatDisplayer cd 
)
private

Definition at line 211 of file ChatCommand.cpp.

Here is the call graph for this function:

DisplayType yap::ChatCommand::Trade ( BufferType  b)

Definition at line 128 of file ChatCommand.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

DisplayType yap::ChatCommand::Unknown ( BufferType  b)

Definition at line 119 of file ChatCommand.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

func yap::ChatCommand::command_
private

Definition at line 84 of file ChatCommand.hpp.

MyCmdType* yap::ChatCommand::tab_
private

Definition at line 83 of file ChatCommand.hpp.


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