18 #ifndef INCLUDED_JSI_LOBBY 19 #define INCLUDED_JSI_LOBBY 65 std::string
EncryptPassword(
const std::string& password,
const std::string& username);
69 #endif // CONFIG2_LOBBY
void SendGetProfile(ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &player)
Definition: JSInterface_Lobby.cpp:144
void SendChangeStateGame(ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &nbp, const std::wstring &players)
Definition: JSInterface_Lobby.cpp:174
JS::Value GetBoardList(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:222
void RegisterScriptFunctions(ScriptInterface &scriptInterface)
Registers the functions of the JavaScript interface for internationalization and localization into th...
Definition: JSInterface_Lobby.cpp:30
bool HasXmppClient(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:70
void SetRankedGame(ScriptInterface::CxPrivate *pCxPrivate, bool isRanked)
Definition: JSInterface_Lobby.cpp:80
void LobbySetNick(ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &nick)
Definition: JSInterface_Lobby.cpp:280
void StartRegisterXmppClient(ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &username, const std::wstring &password)
Definition: JSInterface_Lobby.cpp:96
Config::Value_type Value
Definition: json_spirit_value.h:181
bool IsRankedGame(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:75
void LobbyKick(ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &nick, const std::wstring &reason)
Definition: JSInterface_Lobby.cpp:298
void SendUnregisterGame(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:167
std::wstring LobbyGetPlayerPresence(ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &nickname)
Definition: JSInterface_Lobby.cpp:314
Definition: JSInterface_Lobby.h:25
void SendGetGameList(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:123
void DisconnectXmppClient(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:117
void LobbyClearPresenceUpdates(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:195
void LobbySetPlayerPresence(ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &presence)
Definition: JSInterface_Lobby.cpp:272
void SendRegisterGame(ScriptInterface::CxPrivate *pCxPrivate, JS::HandleValue data)
Definition: JSInterface_Lobby.cpp:159
JS::Value LobbyGuiPollMessage(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:250
int LobbyGetMucMessageCount(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:203
JS::Value GetPlayerList(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:181
std::wstring LobbyGetNick(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:288
void LobbyBan(ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &nick, const std::wstring &reason)
Definition: JSInterface_Lobby.cpp:306
void StopXmppClient(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:104
std::wstring LobbyGetRoomSubject(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:370
void LobbySendMessage(ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &message)
Definition: JSInterface_Lobby.cpp:264
void SendGetRatingList(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:137
void StartXmppClient(ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &username, const std::wstring &password, const std::wstring &room, const std::wstring &nick, int historyRequestSize)
Definition: JSInterface_Lobby.cpp:87
Definition: ScriptInterface.h:99
Abstraction around a SpiderMonkey JSContext.
Definition: ScriptInterface.h:71
void SendGetBoardList(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:130
JS::Value GetProfile(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:236
void ConnectXmppClient(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:111
JS::Value GetGameList(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Lobby.cpp:208
void SendGameReport(ScriptInterface::CxPrivate *pCxPrivate, JS::HandleValue data)
Definition: JSInterface_Lobby.cpp:151
std::string EncryptPassword(const std::string &password, const std::string &username)
Definition: JSInterface_Lobby.cpp:335
std::wstring LobbyGetPlayerRole(ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &nickname)
Definition: JSInterface_Lobby.cpp:324