CGameDataManagerScript

TrackMania Turbo API


CGameDataManagerScript

ID 0x031B5000
Uninstantiable

Inherits from MwFoundations::CMwNod

Script API to manage user data.

Methods

void MapFilterClear()

void DeleteFile(wstring FileName)

void RetrieveNewFileName(MwId UserId, string SlotName, CGameDataManagerScript::EFileType FileType)

void GetNewMapEditionId(MwId UserId, uint MinEditionId)

void RetrieveMapFileNameFromEditionId(MwId UserId, wstring FileName)

void RetrieveUserFiles(MwId UserId, string SlotName, CGameDataManagerScript::EFileType FileType)

void RetrieveGameFiles(CGameDataManagerScript::EFileType FileType)

void RetrieveOrderedCampaignMaps()

void ClearFileList()

void LoadMapThumbnail(uint MapIndex)

void UploadUserFile(string PostUrl, wstring MapName, string Metadata)

void UploadUserFile2(string PostUrl, wstring MapName, string Metadata, string AdditionalHeaders)

void QueryHasFreeSpaceForNewMap(MwId UserId)

void RetrieveRecords(CGameCtnChallengeInfo@ MapInfo, MwId UserId)

void RetrieveRecordsNoMedals(string MapUid, MwId UserId)

void StoreRecord(string MapUid, MwId UserId, CGameGhostScript@ Ghost)

void StoreRecordName(string MapUid, MwId UserId, CGameGhostScript@ Ghost, string GhostName)

CGameGhostScript@ GhostRetrieve(string GhostUrl)

CGameGhostScript@ GhostRetrieveFromPlayer(CGamePlayer@ GamePlayer)

CGameGhostScript@ GhostRetrieveFromTaskResult(CWebServicesTaskResult_GhostHandle@ TaskResult)

void GhostDestroy(CGameGhostScript@ Ghost)

vec3 GetColorForUserId(MwId UserId)

Members

const MwFastBuffer<CGameCtnChallengeInfo@> Maps

const MwFastBuffer<CGameHighScore@> Records

const MwFastBuffer<CGameGhostScript@> Ghosts

const bool HasFreeSpaceForNewMap

const CPlugBitmap@ MapThumbnail

string MapFilterStartWithPath

const bool Ready

const bool DoNotSwitchOff

const CGameDataManagerScript::EResult LatestResult

EResult::NotStarted
EResult::Running
EResult::Cancelled
EResult::Finished_Ok
EResult::Error_MountRead
EResult::Error_MountWrite
EResult::Error_Delete
EResult::Error_NoUserRecords
EResult::Error_NoUserDataCache
EResult::Error_MasterServer
EResult::Error_FindOrAddFid
EResult::Error_DownloadPackDesc
EResult::Error_LoadFromFid
EResult::Error_FidNotLoadable
EResult::Error_BadFileType
EResult::Error_MedalGhostReplayFidNotFound
EResult::Error_MedalGhostNotFoundOnReplay
EResult::Error_SaveUserRecordsToFid
EResult::Error_FindFid
EResult::Error_SaveToFid
EResult::Error_UrlNotReachable
EResult::Error_EmptyUrl
EResult::Error_Internal
EResult::Error_NotEnoughSpace

const MwId MenuUserId

const wstring NewFileName

const uint MinEditionId

const wstring MapFileNameFromEditionId

Inherited members CMwNod

string IdName

const MwId Id

Enums

EFileType

EFileType::Map
EFileType::Ghost

EResult

EResult::NotStarted
EResult::Running
EResult::Cancelled
EResult::Finished_Ok
EResult::Error_MountRead
EResult::Error_MountWrite
EResult::Error_Delete
EResult::Error_NoUserRecords
EResult::Error_NoUserDataCache
EResult::Error_MasterServer
EResult::Error_FindOrAddFid
EResult::Error_DownloadPackDesc
EResult::Error_LoadFromFid
EResult::Error_FidNotLoadable
EResult::Error_BadFileType
EResult::Error_MedalGhostReplayFidNotFound
EResult::Error_MedalGhostNotFoundOnReplay
EResult::Error_SaveUserRecordsToFid
EResult::Error_FindFid
EResult::Error_SaveToFid
EResult::Error_UrlNotReachable
EResult::Error_EmptyUrl
EResult::Error_Internal
EResult::Error_NotEnoughSpace

Documentation from build 2016-11-07 16:15:45
(Page rendering: 0.05 seconds, 11.3 MB)