vegastrike
0.5.1.r1
|
#include <mmorpgclient.h>
Public Member Functions | |
bool | getStatus (int) |
mmoc () | |
int | getSocket () |
void | connectTo (const char *host, const char *port) |
void | negotiate (std::vector< std::string * > *d) |
bool | listenThread () |
void | createThread () |
void | send (char *buffer, int size) |
void | send (std::string &string) |
void | ParseBinaryData (std::vector< char * > &in) |
void | ParseMovement (POSpack &in) |
void | ParseRemoteInput (char *buf) |
virtual void | conoutf (std::string &, int x=0, int y=0, int z=0) |
void | close () |
![]() | |
virtual | ~commandI () |
commandI () | |
bool | getmenumode () const |
void | help (std::string &d) |
void | addCommand (TFunctor *com, const char *name) |
void | remCommand (char *name) |
void | remCommand (TFunctor *com) |
void | dummy (std::vector< std::string * > *d) |
void | prompt () |
void | pcommands () |
bool | execute (std::string *incommand, bool isDown, int sock_in=0) |
}}} More... | |
bool | fexecute (std::string *incommand, bool isDown, int sock_in=0) |
bool | execCommand (std::string *string, bool isDown) |
bool | addMenu (menu *menu2add) |
bool | addMenuItem (mItem *mitem2add, menu *=NULL) |
bool | callMenu (char *name, char *args, std::string &s2manip) |
std::string | setMenu (std::string name) |
std::string | displaymenu () |
void | breakmenu () |
virtual std::string | display (std::string &s) |
![]() | |
RText () | |
virtual | ~RText () |
std::string | getcurcommand () |
int | text_width (char *str) |
void | draw_text (std::string &str, float left, float top, int gl_num) |
void | renderconsole () |
void | conline (std::string &sf, bool highlight) |
void | conoutf (char *) |
void | saycommand (const char *init) |
void | ConsoleKeyboardI (int code, bool isdown) |
void | conoutn (std::string &in, int a, int b, int c) |
Public Attributes | |
Functor< mmoc > * | cmd |
Functor< mmoc > * | cl |
Functor< mmoc > * | csay |
![]() | |
bool | console |
bool | immortal |
Additional Inherited Members | |
![]() | |
static void | keypress (int code, int modifiers, bool isDown, int x, int y) |
Definition at line 7 of file mmorpgclient.h.
mmoc::mmoc | ( | ) |
Definition at line 25 of file mmorpgclient.cpp.
void mmoc::close | ( | ) |
Definition at line 278 of file mmorpgclient.cpp.
void mmoc::connectTo | ( | const char * | host, |
const char * | port | ||
) |
Definition at line 47 of file mmorpgclient.cpp.
|
virtual |
Reimplemented from RText.
Definition at line 283 of file mmorpgclient.cpp.
void mmoc::createThread | ( | ) |
Definition at line 225 of file mmorpgclient.cpp.
|
inline |
Definition at line 20 of file mmorpgclient.h.
bool mmoc::getStatus | ( | int | in) |
Definition at line 100 of file mmorpgclient.cpp.
bool mmoc::listenThread | ( | ) |
Definition at line 190 of file mmorpgclient.cpp.
void mmoc::negotiate | ( | std::vector< std::string * > * | d) |
Definition at line 243 of file mmorpgclient.cpp.
void mmoc::ParseBinaryData | ( | std::vector< char * > & | in) |
void mmoc::ParseMovement | ( | POSpack & | in) |
Definition at line 259 of file mmorpgclient.cpp.
void mmoc::ParseRemoteInput | ( | char * | buf) |
Definition at line 113 of file mmorpgclient.cpp.
void mmoc::send | ( | char * | buffer, |
int | size | ||
) |
Definition at line 230 of file mmorpgclient.cpp.
void mmoc::send | ( | std::string & | string) |
Definition at line 235 of file mmorpgclient.cpp.
Definition at line 36 of file mmorpgclient.h.
Definition at line 35 of file mmorpgclient.h.
Definition at line 37 of file mmorpgclient.h.