Apocalypse mirror
Sourceforge mirror |
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 |
#include <OnlineChatBE.h>
Inheritance diagram for IOnlineChatBE:
Public Types | |
enum | ConnectionStateEnum { CS_Disconnected, CS_Connecting, CS_Connected, CS_Disconnecting } |
enum | ClientModeEnum { CM_Chatroom, CM_Game, CM_Away, CM_WaitingForChallenge } |
enum | ChatEventEnum { CE_Nothing, CE_MyNick, CE_Challenge, CE_Message, CE_Joins, CE_Leaves, CE_NickChange, CE_ServerMessage } |
Public Member Functions | |
virtual void | connect (std::string a_sNick)=0 |
virtual void | disconnect ()=0 |
virtual ConnectionStateEnum | getConnectionState () const =0 |
virtual std::string | getMyNick () const =0 |
virtual void | setMyNick (std::string a_sNick)=0 |
virtual ClientModeEnum | getMyClientMode () const =0 |
virtual void | setMyClientMode (ClientModeEnum a_enClientMode)=0 |
virtual const UserInfo & | getMyUserInfo () const =0 |
Same as getUserInfo(0). | |
virtual int | getUserCount () const =0 |
virtual const UserInfo & | getUserInfo (int a_iUserNumber) const =0 |
virtual ClientModeEnum | getClientMode () const =0 |
virtual void | setClientMode (ClientModeEnum a_newMode)=0 |
virtual void | addEventSink (IOnlineEventSink *a_poSink)=0 |
virtual void | removeEventSink (IOnlineEventSink *a_poSink)=0 |
virtual void | removeAllEventSinks ()=0 |
Static Public Member Functions | |
static void | create () |
Protected Member Functions | |
IOnlineChatBE () | |
virtual | ~IOnlineChatBE () |
Classes | |
struct | SChatEvent |
struct | UserInfo |
The backend doesn't provide any frontend or interactivity and is meant to run independently in its own thread.
|
|
|
|
|
|
|
|
|
|
|
Implemented in COnlineChatBEImpl. |
|
Implemented in COnlineChatBEImpl. |
|
|
|
Implemented in COnlineChatBEImpl. |
|
Implemented in COnlineChatBEImpl. |
|
Implemented in COnlineChatBEImpl. |
|
Implemented in COnlineChatBEImpl. |
|
Implemented in COnlineChatBEImpl. |
|
Same as getUserInfo(0).
Implemented in COnlineChatBEImpl. |
|
Implemented in COnlineChatBEImpl. |
|
Implemented in COnlineChatBEImpl. |
|
Implemented in COnlineChatBEImpl. |
|
Implemented in COnlineChatBEImpl. |
|
Implemented in COnlineChatBEImpl. |
|
|
|
Implemented in COnlineChatBEImpl. |