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