|
void | PushGuiPage (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &name, JS::HandleValue initData) |
|
void | SwitchGuiPage (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &name, JS::HandleValue initData) |
|
void | PopGuiPage (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | PopGuiPageCB (ScriptInterface::CxPrivate *pCxPrivate, JS::HandleValue args) |
|
void | ResetCursor (ScriptInterface::CxPrivate *pCxPrivate) |
|
JS::Value | GuiInterfaceCall (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &name, JS::HandleValue data) |
|
void | PostNetworkCommand (ScriptInterface::CxPrivate *pCxPrivate, JS::HandleValue cmd) |
|
entity_id_t | PickEntityAtPoint (ScriptInterface::CxPrivate *pCxPrivate, int x, int y) |
|
std::vector< entity_id_t > | PickPlayerEntitiesInRect (ScriptInterface::CxPrivate *pCxPrivate, int x0, int y0, int x1, int y1, int player) |
|
std::vector< entity_id_t > | PickPlayerEntitiesOnScreen (ScriptInterface::CxPrivate *pCxPrivate, int player) |
|
std::vector< entity_id_t > | PickNonGaiaEntitiesOnScreen (ScriptInterface::CxPrivate *pCxPrivate) |
|
std::vector< entity_id_t > | PickSimilarPlayerEntities (ScriptInterface::CxPrivate *pCxPrivate, const std::string &templateName, bool includeOffScreen, bool matchRank, bool allowFoundations) |
|
CFixedVector3D | GetTerrainAtScreenPoint (ScriptInterface::CxPrivate *pCxPrivate, int x, int y) |
|
std::wstring | SetCursor (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &name) |
|
bool | IsVisualReplay (ScriptInterface::CxPrivate *pCxPrivate) |
|
std::wstring | GetCurrentReplayDirectory (ScriptInterface::CxPrivate *pCxPrivate) |
|
int | GetPlayerID (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | SetPlayerID (ScriptInterface::CxPrivate *pCxPrivate, int id) |
|
void | SetViewedPlayer (ScriptInterface::CxPrivate *pCxPrivate, int id) |
|
JS::Value | GetEngineInfo (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | StartNetworkGame (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | StartGame (ScriptInterface::CxPrivate *pCxPrivate, JS::HandleValue attribs, int playerID) |
|
JS::Value | StartSavedGame (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &name) |
|
void | SaveGame (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &filename, const std::wstring &description, JS::HandleValue GUIMetadata) |
|
void | SaveGamePrefix (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &prefix, const std::wstring &description, JS::HandleValue GUIMetadata) |
|
void | SetNetworkGameAttributes (ScriptInterface::CxPrivate *pCxPrivate, JS::HandleValue attribs1) |
|
void | StartNetworkHost (ScriptInterface::CxPrivate *pCxPrivate, const CStrW &playerName, const u16 serverPort) |
|
void | StartNetworkJoin (ScriptInterface::CxPrivate *pCxPrivate, const CStrW &playerName, const CStr &serverAddress, u16 serverPort) |
|
u16 | GetDefaultPort (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | DisconnectNetworkGame (ScriptInterface::CxPrivate *pCxPrivate) |
|
std::string | GetPlayerGUID (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | KickPlayer (ScriptInterface::CxPrivate *pCxPrivate, const CStrW &playerName, bool ban) |
|
JS::Value | PollNetworkClient (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | AssignNetworkPlayer (ScriptInterface::CxPrivate *pCxPrivate, int playerID, const std::string &guid) |
|
void | ClearAllPlayerReady (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | SendNetworkChat (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &message) |
|
void | SendNetworkReady (ScriptInterface::CxPrivate *pCxPrivate, int message) |
|
JS::Value | GetAIs (ScriptInterface::CxPrivate *pCxPrivate) |
|
JS::Value | GetSavedGames (ScriptInterface::CxPrivate *pCxPrivate) |
|
bool | DeleteSavedGame (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &name) |
|
void | OpenURL (ScriptInterface::CxPrivate *pCxPrivate, const std::string &url) |
|
std::wstring | GetMatchID (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | RestartInAtlas (ScriptInterface::CxPrivate *pCxPrivate) |
|
bool | AtlasIsAvailable (ScriptInterface::CxPrivate *pCxPrivate) |
|
bool | IsAtlasRunning (ScriptInterface::CxPrivate *pCxPrivate) |
|
JS::Value | LoadMapSettings (ScriptInterface::CxPrivate *pCxPrivate, const VfsPath &pathname) |
|
JS::Value | GetInitAttributes (ScriptInterface::CxPrivate *pCxPrivate) |
|
float | CameraGetX (ScriptInterface::CxPrivate *pCxPrivate) |
| Get the current X coordinate of the camera. More...
|
|
float | CameraGetZ (ScriptInterface::CxPrivate *pCxPrivate) |
| Get the current Z coordinate of the camera. More...
|
|
void | CameraFollow (ScriptInterface::CxPrivate *pCxPrivate, entity_id_t entityid) |
| Start / stop camera following mode. More...
|
|
void | CameraFollowFPS (ScriptInterface::CxPrivate *pCxPrivate, entity_id_t entityid) |
| Start / stop first-person camera following mode. More...
|
|
void | SetCameraData (ScriptInterface::CxPrivate *pCxPrivate, entity_pos_t x, entity_pos_t y, entity_pos_t z, entity_pos_t rotx, entity_pos_t roty, entity_pos_t zoom) |
| Set the data (position, orientation and zoom) of the camera. More...
|
|
void | CameraMoveTo (ScriptInterface::CxPrivate *pCxPrivate, entity_pos_t x, entity_pos_t z) |
| Move camera to a 2D location. More...
|
|
entity_id_t | GetFollowedEntity (ScriptInterface::CxPrivate *pCxPrivate) |
|
bool | HotkeyIsPressed_ (ScriptInterface::CxPrivate *pCxPrivate, const std::string &hotkeyName) |
|
void | DisplayErrorDialog (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &msg) |
|
JS::Value | GetProfilerState (ScriptInterface::CxPrivate *pCxPrivate) |
|
bool | IsUserReportEnabled (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | SetUserReportEnabled (ScriptInterface::CxPrivate *pCxPrivate, bool enabled) |
|
std::string | GetUserReportStatus (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | SubmitUserReport (ScriptInterface::CxPrivate *pCxPrivate, const std::string &type, int version, const std::wstring &data) |
|
void | SetSimRate (ScriptInterface::CxPrivate *pCxPrivate, float rate) |
|
float | GetSimRate (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | SetTurnLength (ScriptInterface::CxPrivate *pCxPrivate, int length) |
|
void | SetCameraTarget (ScriptInterface::CxPrivate *pCxPrivate, float x, float y, float z) |
|
int | Crash (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | DebugWarn (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | ForceGC (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | DumpSimState (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | DumpTerrainMipmap (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | EnableTimeWarpRecording (ScriptInterface::CxPrivate *pCxPrivate, unsigned int numTurns) |
|
void | RewindTimeWarp (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | QuickSave (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | QuickLoad (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | SetBoundingBoxDebugOverlay (ScriptInterface::CxPrivate *pCxPrivate, bool enabled) |
|
void | Script_EndGame (ScriptInterface::CxPrivate *pCxPrivate) |
|
CStrW | GetSystemUsername (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | ExitProgram (ScriptInterface::CxPrivate *pCxPrivate) |
|
bool | IsPaused (ScriptInterface::CxPrivate *pCxPrivate) |
|
void | SetPaused (ScriptInterface::CxPrivate *pCxPrivate, bool pause, bool sendMessage) |
|
int | GetFps (ScriptInterface::CxPrivate *pCxPrivate) |
|
JS::Value | GetGUIObjectByName (ScriptInterface::CxPrivate *pCxPrivate, const CStr &name) |
|
std::wstring | GetBuildTimestamp (ScriptInterface::CxPrivate *pCxPrivate, int mode) |
|
JS::Value | ReadJSONFile (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &filePath) |
|
void | WriteJSONFile (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &filePath, JS::HandleValue val1) |
|
bool | TemplateExists (ScriptInterface::CxPrivate *pCxPrivate, const std::string &templateName) |
|
CParamNode | GetTemplate (ScriptInterface::CxPrivate *pCxPrivate, const std::string &templateName) |
|
int | GetTextWidth (ScriptInterface::CxPrivate *pCxPrivate, const CStr &fontName, const CStrW &text) |
|
static void | InitJsTimers (ScriptInterface &scriptInterface) |
|
void | StartJsTimer (ScriptInterface::CxPrivate *pCxPrivate, unsigned int slot) |
|
void | StopJsTimer (ScriptInterface::CxPrivate *pCxPrivate, unsigned int slot) |
|