Trackmania Turbo ManiaScript Reference 2016.11.07.1615
A ManiaScript Reference of the Trackmania Turbo game.
Loading...
Searching...
No Matches
CDataMgr Struct Reference

#include <doc.h>

Inheritance diagram for CDataMgr:
[legend]

Public Types

enum  EFileType { Map , Ghost }
 
enum  EResult {
  NotStarted , Running , Cancelled , Finished_Ok ,
  Error_MountRead , Error_MountWrite , Error_Delete , Error_NoUserRecords ,
  Error_NoUserDataCache , Error_MasterServer , Error_FindOrAddFid , Error_DownloadPackDesc ,
  Error_LoadFromFid , Error_FidNotLoadable , Error_BadFileType , Error_MedalGhostReplayFidNotFound ,
  Error_MedalGhostNotFoundOnReplay , Error_SaveUserRecordsToFid , Error_FindFid , Error_SaveToFid ,
  Error_UrlNotReachable , Error_EmptyUrl , Error_Internal , Error_NotEnoughSpace
}
 

Public Member Functions

Void MapFilterClear ()
 
Void DeleteFile (Text FileName)
 
Void RetrieveNewFileName (Ident UserId, Text SlotName, EFileType FileType)
 
Void GetNewMapEditionId (Ident UserId, Integer MinEditionId)
 
Void RetrieveMapFileNameFromEditionId (Ident UserId, Text FileName)
 
Void RetrieveUserFiles (Ident UserId, Text SlotName, EFileType FileType)
 
Void RetrieveGameFiles (EFileType FileType)
 
Void RetrieveOrderedCampaignMaps ()
 
Void ClearFileList ()
 
Void LoadMapThumbnail (Integer MapIndex)
 
Void UploadUserFile (Text PostUrl, Text MapName, Text Metadata)
 
Void UploadUserFile (Text PostUrl, Text MapName, Text Metadata, Text AdditionalHeaders)
 
Void QueryHasFreeSpaceForNewMap (Ident UserId)
 
Void RetrieveRecords (CMapInfo MapInfo, Ident UserId)
 
Void RetrieveRecordsNoMedals (Text MapUid, Ident UserId)
 
Void StoreRecord (Text MapUid, Ident UserId, CGhost Ghost)
 
Void StoreRecord (Text MapUid, Ident UserId, CGhost Ghost, Text GhostName)
 
CGhost GhostRetrieve (Text GhostUrl)
 
CGhost GhostRetrieveFromPlayer (CPlayer GamePlayer)
 
CGhost GhostRetrieveFromTaskResult (CWebServicesTaskResult_GhostHandle TaskResult)
 
Void GhostDestroy (CGhost Ghost)
 

Public Attributes

const CMapInfo[] Maps
 
const CHighScore[] Records
 
const CGhost[] Ghosts
 
const Boolean HasFreeSpaceForNewMap
 
const CImage MapThumbnail
 
Text MapFilterStartWithPath
 
const Boolean Ready
 
const Boolean DoNotSwitchOff
 
const EResult LatestResult
 
const Ident MenuUserId
 
const Text NewFileName
 
const Integer MinEditionId
 
const Text MapFileNameFromEditionId
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

Script API to manage user data.


The documentation for this struct was generated from the following file: