_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
◆ Context()
◆ ~Context()
◆ addUser()
void Context::addUser |
( |
std::string |
name | ) |
|
|
inline |
◆ disconnect()
void Context::disconnect |
( |
| ) |
|
|
inline |
◆ doOneStep()
virtual void Context::doOneStep |
( |
| ) |
|
|
inlinevirtual |
◆ getChannels()
std::vector<std::string> Context::getChannels |
( |
| ) |
|
|
inline |
◆ getCurrentChannel()
std::string Context::getCurrentChannel |
( |
| ) |
|
|
inline |
◆ getFriends()
std::vector<Friend*> Context::getFriends |
( |
| ) |
|
|
inline |
◆ getGames()
std::vector<Game*> Context::getGames |
( |
| ) |
|
|
inline |
◆ getHost()
CHost* Context::getHost |
( |
| ) |
|
|
inline |
◆ getInfo()
std::queue<std::string>* Context::getInfo |
( |
| ) |
|
|
inline |
◆ getMsgIStream()
◆ getPassword1()
uint32_t* Context::getPassword1 |
( |
| ) |
|
|
inline |
◆ getTCPSocket()
◆ getUDPSocket()
◆ getUsername()
std::string Context::getUsername |
( |
| ) |
|
|
inline |
◆ getUsers()
std::set<std::string> Context::getUsers |
( |
| ) |
|
|
inline |
◆ handleUDP()
virtual bool Context::handleUDP |
( |
const unsigned char * |
buffer, |
|
|
int |
len, |
|
|
CHost |
host |
|
) |
| |
|
inlinevirtual |
◆ isConnected()
bool Context::isConnected |
( |
| ) |
|
|
inline |
◆ isConnecting()
bool Context::isConnecting |
( |
| ) |
|
|
inline |
◆ isDisconnected()
bool Context::isDisconnected |
( |
| ) |
|
|
inline |
◆ joinChannel()
void Context::joinChannel |
( |
std::string |
name | ) |
|
|
inline |
◆ joinGame()
virtual void Context::joinGame |
( |
std::string |
username, |
|
|
std::string |
pw |
|
) |
| |
|
inlinevirtual |
◆ leaveGame()
virtual void Context::leaveGame |
( |
| ) |
|
|
inlinevirtual |
◆ punchNAT()
void Context::punchNAT |
( |
std::string |
username | ) |
|
|
inline |
◆ refreshChannels()
void Context::refreshChannels |
( |
| ) |
|
|
inline |
◆ refreshFriends()
void Context::refreshFriends |
( |
| ) |
|
|
inline |
◆ refreshGames()
void Context::refreshGames |
( |
| ) |
|
|
inline |
◆ removeUser()
void Context::removeUser |
( |
std::string |
name | ) |
|
|
inline |
◆ reportGameResult()
virtual void Context::reportGameResult |
( |
| ) |
|
|
inlinevirtual |
◆ reportUserdata()
void Context::reportUserdata |
( |
uint32_t |
id, |
|
|
std::vector< std::string > |
values |
|
) |
| |
|
inline |
◆ requestExternalAddress()
void Context::requestExternalAddress |
( |
| ) |
|
|
inline |
◆ requestExtraUserInfo()
void Context::requestExtraUserInfo |
( |
std::string |
username | ) |
|
|
inline |
◆ sendText()
void Context::sendText |
( |
std::string |
txt, |
|
|
bool |
silent = false |
|
) |
| |
|
inline |
◆ sendUdpConnectionInfo()
void Context::sendUdpConnectionInfo |
( |
| ) |
|
|
inline |
◆ setChannels()
void Context::setChannels |
( |
std::vector< std::string > |
channels | ) |
|
|
inline |
◆ setCreateAccount()
void Context::setCreateAccount |
( |
bool |
flag | ) |
|
|
inline |
◆ setCurrentChannel()
void Context::setCurrentChannel |
( |
std::string |
name | ) |
|
|
inline |
◆ setFriendslist()
void Context::setFriendslist |
( |
std::vector< Friend * > |
friends | ) |
|
|
inline |
◆ setGamelist()
void Context::setGamelist |
( |
std::vector< Game * > |
games | ) |
|
|
inline |
◆ setHost()
◆ setPassword()
void Context::setPassword |
( |
std::string |
pw | ) |
|
|
inline |
◆ setState()
◆ setUsername()
void Context::setUsername |
( |
std::string |
arg | ) |
|
|
inline |
◆ shouldCreateAccount()
bool Context::shouldCreateAccount |
( |
| ) |
|
|
inline |
◆ showChat()
void Context::showChat |
( |
std::string |
arg | ) |
|
|
inline |
◆ showError()
void Context::showError |
( |
std::string |
arg | ) |
|
|
inline |
◆ showInfo()
void Context::showInfo |
( |
std::string |
arg | ) |
|
|
inline |
◆ startAdvertising()
virtual void Context::startAdvertising |
( |
bool |
isStarted = false | ) |
|
|
inlinevirtual |
◆ stopAdvertising()
virtual void Context::stopAdvertising |
( |
| ) |
|
|
inlinevirtual |
◆ AddUser
◆ clientToken
uint32_t Context::clientToken |
◆ RemoveUser
◆ serverToken
uint32_t Context::serverToken |
◆ SetActiveChannel
◆ SetChannels
◆ SetFriends
◆ SetGames
◆ ShowChat
◆ ShowError
◆ ShowInfo
◆ ShowUserInfo
◆ udpToken
uint32_t Context::udpToken |
The documentation for this class was generated from the following file:
(C) Copyright 1998-2012 by The