ManaPlus
|
#include <chatobject.h>
Public Member Functions | |
ChatObject () | |
~ChatObject () | |
void | update () |
Static Public Member Functions | |
static ChatObject * | findByName (const std::string &name) |
static ChatObject * | findById (const int id) |
Data Fields | |
BeingId | ownerId |
int | chatId |
uint16_t | maxUsers |
uint16_t | currentUsers |
uint8_t | type |
std::string | title |
Static Public Attributes | |
static std::map< std::string, ChatObject * > | chatNameMap |
static std::map< int, ChatObject * > | chatIdMap |
Definition at line 32 of file chatobject.h.
ChatObject::ChatObject | ( | ) |
Definition at line 29 of file chatobject.cpp.
ChatObject::~ChatObject | ( | ) |
Definition at line 39 of file chatobject.cpp.
References chatId, chatIdMap, chatNameMap, and title.
|
static |
Definition at line 64 of file chatobject.cpp.
References chatIdMap.
Referenced by EAthena::ChatRecv::processChatRoomJoinAck().
|
static |
void ChatObject::update | ( | ) |
Definition at line 49 of file chatobject.cpp.
References chatId, chatIdMap, chatNameMap, and title.
Referenced by EAthena::ChatRecv::processChatDisplay(), and EAthena::ChatRecv::processChatRoomCreateAck().
int ChatObject::chatId |
Definition at line 47 of file chatobject.h.
Referenced by EAthena::ChatHandler::joinChat(), EAthena::ChatRecv::processChatDisplay(), EAthena::ChatRecv::processChatRoomCreateAck(), EAthena::ChatRecv::processChatRoomJoinAck(), EAthena::ChatRecv::processChatRoomSettings(), ActorManager::removeRoom(), update(), ActorManager::updateRoom(), and ~ChatObject().
|
static |
Definition at line 54 of file chatobject.h.
Referenced by findById(), update(), and ~ChatObject().
|
static |
Definition at line 53 of file chatobject.h.
Referenced by findByName(), update(), and ~ChatObject().
uint16_t ChatObject::currentUsers |
Definition at line 49 of file chatobject.h.
Referenced by EAthena::ChatRecv::processChatDisplay(), EAthena::ChatRecv::processChatRoomCreateAck(), and EAthena::ChatRecv::processChatRoomJoinAck().
uint16_t ChatObject::maxUsers |
Definition at line 48 of file chatobject.h.
Referenced by EAthena::ChatRecv::processChatDisplay(), EAthena::ChatRecv::processChatRoomCreateAck(), EAthena::ChatRecv::processChatRoomJoinAck(), EAthena::ChatRecv::processChatRoomSettings(), and ActorManager::updateRoom().
BeingId ChatObject::ownerId |
Definition at line 46 of file chatobject.h.
Referenced by EAthena::ChatRecv::processChatDisplay(), EAthena::ChatRecv::processChatRoomCreateAck(), EAthena::ChatRecv::processChatRoomJoinAck(), EAthena::ChatRecv::processChatRoomSettings(), and ActorManager::updateRoom().
std::string ChatObject::title |
Definition at line 51 of file chatobject.h.
Referenced by PopupMenu::addChat(), EAthena::ChatRecv::processChatDisplay(), EAthena::ChatRecv::processChatRoomCreateAck(), EAthena::ChatRecv::processChatRoomJoinAck(), EAthena::ChatRecv::processChatRoomSettings(), BeingPopup::show(), update(), ActorManager::updateRoom(), and ~ChatObject().
uint8_t ChatObject::type |
Definition at line 50 of file chatobject.h.
Referenced by EAthena::ChatRecv::processChatDisplay(), EAthena::ChatRecv::processChatRoomCreateAck(), EAthena::ChatRecv::processChatRoomJoinAck(), EAthena::ChatRecv::processChatRoomSettings(), and ActorManager::updateRoom().