OpenMortal Apocalypse mirror
Sourceforge mirror
SourceForge.net Logo
      News | Info | Characters | Arenas | Screenshots | Forums | Download  
Developer: Making of | Character-HOWTO | AI Design | Submit a Character
Documentation: Main Page | Modules | Class Hierarchy | Class List | File List

CChatMenu Class Reference
[Networking layer]

The Chat menu is displayed instead of the regular CMenu when the user is connected to MortalNet. More...

Inheritance diagram for CChatMenu:

CMenu List of all members.

Public Member Functions

 CChatMenu (const TNickMap &a_roNicks)
virtual ~CChatMenu ()
std::string GetNick ()
std::string GetChallengedNick ()
void ItemActivated (int a_iItemCode, CMenuItem *a_poMenuItem)

Protected Attributes

std::string m_sChallengedNick
std::string m_sNick
const TNickMapm_roNicks
const char * m_apcNicks [1024]
int m_aiNicks [1024]
CTextMenuItemm_poNickMenuItem

Detailed Description

The Chat menu is displayed instead of the regular CMenu when the user is connected to MortalNet.

The Chat menu has a different set of operations.


Constructor & Destructor Documentation

CChatMenu::CChatMenu const TNickMap a_roNicks  )  [inline]
 

virtual CChatMenu::~CChatMenu  )  [inline, virtual]
 


Member Function Documentation

std::string CChatMenu::GetChallengedNick  )  [inline]
 

std::string CChatMenu::GetNick  )  [inline]
 

void CChatMenu::ItemActivated int  a_iItemCode,
CMenuItem a_poMenuItem
[inline, virtual]
 

Reimplemented from CMenu.


Member Data Documentation

int CChatMenu::m_aiNicks[1024] [protected]
 

const char* CChatMenu::m_apcNicks[1024] [protected]
 

CTextMenuItem* CChatMenu::m_poNickMenuItem [protected]
 

const TNickMap& CChatMenu::m_roNicks [protected]
 

std::string CChatMenu::m_sChallengedNick [protected]
 

std::string CChatMenu::m_sNick [protected]
 


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