ManiaScript Reference
2019-05
|
Public Types | |
enum | EMediaType { Image, Sound, Script, MatchSettings, Module, Skins } |
Public Attributes | |
const CTaskResult [] | TaskResults |
const CCampaign [] | Campaigns |
const CGhost [] | Ghosts |
Public Attributes inherited from CNod | |
const Ident | Id |
Script API to manage game data.
CTaskResult_GameModeList CDataFileMgr::GameMode_GetGameList | ( | Integer | Scope, |
Text | Path, | ||
Boolean | Flatten | ||
) |
CTaskResult_Ghost CDataFileMgr::Ghost_Download | ( | Text | FileName, |
Text | Url | ||
) |
CTaskResult_MapList CDataFileMgr::Map_GetFilteredGameList | ( | Integer | Scope, |
Text | Path, | ||
Boolean | Flatten | ||
) |
Get the list of map stored in the specified path. Scope is used to specify if the list is retrieved from game data (1), title data (2) or user data (4).
CTaskResult_MapList CDataFileMgr::Map_GetGameList | ( | Text | Path, |
Boolean | Flatten | ||
) |
Get the list of map stored in the specified path.
CTaskResult_MapList CDataFileMgr::Map_GetGameList | ( | Text | Path, |
Boolean | Flatten, | ||
Boolean | SortByNameElseByDate, | ||
Boolean | SortOrderAsc | ||
) |
Get the list of map stored according to the filters in the specified path.
CTaskResult_MapList CDataFileMgr::Map_GetUserList | ( | Ident | UserId | ) |
Get the list of map stored in the user slot/dir.
Void CDataFileMgr::Map_RefreshFromDisk | ( | ) |
CTaskResult_FileList CDataFileMgr::Media_GetFilteredGameList | ( | EMediaType | Type, |
Integer | Scope, | ||
Text | Path, | ||
Boolean | Flatten | ||
) |
Get the list of media stored in the specified path. Scope is used to specify if the list is retrieved from game data (1), title data (2) or user data (4).
CTaskResult_FileList CDataFileMgr::Media_GetGameList | ( | EMediaType | Type, |
Text | Path, | ||
Boolean | Flatten | ||
) |
Get the list of media stored in the specified path.
CTaskResult_FileList CDataFileMgr::Media_GetGameList | ( | EMediaType | Type, |
Text | Path, | ||
Boolean | Flatten, | ||
Boolean | SortByNameElseByDate, | ||
Boolean | SortOrderAsc | ||
) |
Get the list of media stored according to the filters in the specified path.
CTaskResult CDataFileMgr::Pack_DownloadOrUpdate | ( | Text | DisplayName, |
Text | Url | ||
) |
CTaskResult_ReplayList CDataFileMgr::Replay_GetFilteredGameList | ( | Integer | Scope, |
Text | Path, | ||
Boolean | Flatten | ||
) |
Get the list of replay stored in the specified path. Scope is used to specify if the list is retrieved from game data (1), title data (2) or user data (4).
CTaskResult_ReplayList CDataFileMgr::Replay_GetGameList | ( | Text | Path, |
Boolean | Flatten | ||
) |
Get the list of replay stored in the specified path.
CTaskResult_ReplayList CDataFileMgr::Replay_GetGameList | ( | Text | Path, |
Boolean | Flatten, | ||
Boolean | SortByNameElseByDate, | ||
Boolean | SortOrderAsc | ||
) |
Get the list of replay stored according to the filters in the specified path.
CTaskResult_GhostList CDataFileMgr::Replay_Load | ( | Text | Path | ) |
Get the list of ghosts from the replay stored at the specified file path.
Void CDataFileMgr::Replay_RefreshFromDisk | ( | ) |
CTaskResult CDataFileMgr::Replay_Save | ( | Text | Path, |
CMap | Map, | ||
CGhost | Ghost | ||
) |
Save the map and the ghost into a replay file stored at the specified path.
const CCampaign [] CDataFileMgr::Campaigns |
Array of campaigns.
const CGhost [] CDataFileMgr::Ghosts |
Array of ghosts.
const CTaskResult [] CDataFileMgr::TaskResults |
Array of task results.