Changeset View
Changeset View
Standalone View
Standalone View
source/network/scripting/JSInterface_Network.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | namespace JSI_Network | ||||
CStr GetPlayerGUID(ScriptInterface::CmptPrivate* pCmptPrivate); | CStr GetPlayerGUID(ScriptInterface::CmptPrivate* pCmptPrivate); | ||||
void KickPlayer(ScriptInterface::CmptPrivate* pCmptPrivate, const CStrW& playerName, bool ban); | void KickPlayer(ScriptInterface::CmptPrivate* pCmptPrivate, const CStrW& playerName, bool ban); | ||||
void AssignNetworkPlayer(ScriptInterface::CmptPrivate* pCmptPrivate, int playerID, const CStr& guid); | void AssignNetworkPlayer(ScriptInterface::CmptPrivate* pCmptPrivate, int playerID, const CStr& guid); | ||||
void ClearAllPlayerReady (ScriptInterface::CmptPrivate* pCmptPrivate); | void ClearAllPlayerReady (ScriptInterface::CmptPrivate* pCmptPrivate); | ||||
void SendNetworkChat(ScriptInterface::CmptPrivate* pCmptPrivate, const CStrW& message); | void SendNetworkChat(ScriptInterface::CmptPrivate* pCmptPrivate, const CStrW& message); | ||||
void SendNetworkReady(ScriptInterface::CmptPrivate* pCmptPrivate, int message); | void SendNetworkReady(ScriptInterface::CmptPrivate* pCmptPrivate, int message); | ||||
void SetTurnLength(ScriptInterface::CmptPrivate* pCmptPrivate, int length); | void SetTurnLength(ScriptInterface::CmptPrivate* pCmptPrivate, int length); | ||||
CStr HashPassword(const CStr& password); | |||||
void RegisterScriptFunctions(const ScriptInterface& scriptInterface); | void RegisterScriptFunctions(const ScriptInterface& scriptInterface); | ||||
} | } | ||||
#endif // INCLUDED_JSI_NETWORK | #endif // INCLUDED_JSI_NETWORK |
Wildfire Games · Phabricator