Pyrogenesis  trunk
Namespaces | Functions
JSInterface_Lobby.h File Reference
#include "lib/config2.h"
#include "scriptinterface/ScriptInterface.h"
#include "scriptinterface/ScriptVal.h"
Include dependency graph for JSInterface_Lobby.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 JSI_Lobby
 

Functions

void JSI_Lobby::RegisterScriptFunctions (ScriptInterface &scriptInterface)
 Registers the functions of the JavaScript interface for internationalization and localization into the specified JavaScript context. More...
 
bool JSI_Lobby::HasXmppClient (ScriptInterface::CxPrivate *pCxPrivate)
 
bool JSI_Lobby::IsRankedGame (ScriptInterface::CxPrivate *pCxPrivate)
 
void JSI_Lobby::SetRankedGame (ScriptInterface::CxPrivate *pCxPrivate, bool isRanked)
 
void JSI_Lobby::StartXmppClient (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &username, const std::wstring &password, const std::wstring &room, const std::wstring &nick, int historyRequestSize)
 
void JSI_Lobby::StartRegisterXmppClient (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &username, const std::wstring &password)
 
void JSI_Lobby::StopXmppClient (ScriptInterface::CxPrivate *pCxPrivate)
 
void JSI_Lobby::ConnectXmppClient (ScriptInterface::CxPrivate *pCxPrivate)
 
void JSI_Lobby::DisconnectXmppClient (ScriptInterface::CxPrivate *pCxPrivate)
 
void JSI_Lobby::SendGetGameList (ScriptInterface::CxPrivate *pCxPrivate)
 
void JSI_Lobby::SendGetBoardList (ScriptInterface::CxPrivate *pCxPrivate)
 
void JSI_Lobby::SendGetRatingList (ScriptInterface::CxPrivate *pCxPrivate)
 
void JSI_Lobby::SendGetProfile (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &player)
 
void JSI_Lobby::SendGameReport (ScriptInterface::CxPrivate *pCxPrivate, JS::HandleValue data)
 
void JSI_Lobby::SendRegisterGame (ScriptInterface::CxPrivate *pCxPrivate, JS::HandleValue data)
 
void JSI_Lobby::SendUnregisterGame (ScriptInterface::CxPrivate *pCxPrivate)
 
void JSI_Lobby::SendChangeStateGame (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &nbp, const std::wstring &players)
 
JS::Value JSI_Lobby::GetPlayerList (ScriptInterface::CxPrivate *pCxPrivate)
 
void JSI_Lobby::LobbyClearPresenceUpdates (ScriptInterface::CxPrivate *pCxPrivate)
 
int JSI_Lobby::LobbyGetMucMessageCount (ScriptInterface::CxPrivate *pCxPrivate)
 
JS::Value JSI_Lobby::GetGameList (ScriptInterface::CxPrivate *pCxPrivate)
 
JS::Value JSI_Lobby::GetBoardList (ScriptInterface::CxPrivate *pCxPrivate)
 
JS::Value JSI_Lobby::GetProfile (ScriptInterface::CxPrivate *pCxPrivate)
 
JS::Value JSI_Lobby::LobbyGuiPollMessage (ScriptInterface::CxPrivate *pCxPrivate)
 
void JSI_Lobby::LobbySendMessage (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &message)
 
void JSI_Lobby::LobbySetPlayerPresence (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &presence)
 
void JSI_Lobby::LobbySetNick (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &nick)
 
std::wstring JSI_Lobby::LobbyGetNick (ScriptInterface::CxPrivate *pCxPrivate)
 
void JSI_Lobby::LobbyKick (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &nick, const std::wstring &reason)
 
void JSI_Lobby::LobbyBan (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &nick, const std::wstring &reason)
 
std::wstring JSI_Lobby::LobbyGetPlayerPresence (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &nickname)
 
std::wstring JSI_Lobby::LobbyGetPlayerRole (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &nickname)
 
std::wstring JSI_Lobby::LobbyGetRoomSubject (ScriptInterface::CxPrivate *pCxPrivate)
 
std::string JSI_Lobby::EncryptPassword (const std::string &password, const std::string &username)
 
std::wstring JSI_Lobby::EncryptPassword (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &pass, const std::wstring &user)