$treeview $search $mathjax
Stratagus
2.2.6
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
Go to the source code of this file.
master.h - The master server headerfile. | |
int | MetaServerInUse |
std::string | MasterHost |
int | MasterPort |
Metaserver Address. | |
int | MetaInit () |
int | MetaClose () |
int | MetaServerOK (char *reply) |
int | SendMetaCommand (const char *command, const char *format,...) |
int | RecvMetaReply (char **reply) |
int | GetMetaParameter (char *reply, int pos, char **value) |
int | CclSetMetaServer (lua_State *l) |
Metaserver Port. |
int CclSetMetaServer | ( | lua_State * | l | ) |
Metaserver Port.
Set the metaserver to use for internet play.
l | Lua state. |
int GetMetaParameter | ( | char * | reply, | |
int | pos, | |||
char ** | value | |||
) |
Retrieves the value of the parameter at position paramNumber
reply | The reply from the metaserver | |
pos | The parameter number | |
value | The returned value |
int MetaClose | ( | ) |
Close Connection to Master Server
int MetaInit | ( | ) |
Initialize the TCP connection to the Meta Server.
int MetaServerOK | ( | char * | reply | ) |
Checks if a Message was OK or ERR
int RecvMetaReply | ( | char ** | reply | ) |
Receive reply from Meta Server
reply | Text of the reply |
int SendMetaCommand | ( | const char * | command, | |
const char * | format, | |||
... | ||||
) |
Send a command to the meta server
command | command to send | |
format | format of parameters | |
... | parameters |
std::string MasterHost |
int MasterPort |
Metaserver Address.
int MetaServerInUse |