![]() |
ManiaScript Trackmania 2020
14/07/2025
|
API for titles in edition mode. More...
#include <2025_07_14.h>
Public Types | |
| enum | EDrive { TitleReadable, Title, User } |
Public Member Functions | |
| Void | File_ImportFromUser (Text FileName) |
| Void | File_Move (Text OrigName, Text DestNameOrFolder, Boolean KeepOriginalCopy) |
| Boolean | File_Exists (Text FileName, CTitleEdition::EDrive InDrive) |
| Void | File_Delete (Text Name) |
| Void | File_WriteText (Text FileName, Text Text) |
| Text | File_ReadText (Text FileName) |
| Void | Dialog_ImportFiles () |
| Void | OpenTitleFolderInExplorer () |
| Void | ReloadTitleDesc () |
| Void | SaveTitleDesc () |
| Void | SetTitleCampaign (Integer CampaignNum, Text ScoreContext, Text MapsFolderNameOrPlayListName, Boolean OfficialRecordEnabled) |
| Void | SetTitleCampaign (Integer CampaignNum, Text ScoreContext, Text MapsFolderNameOrPlayListName, Boolean OfficialRecordEnabled, Boolean DisableUnlockSystem) |
Public Attributes | |
| CTitle *const | TitleMaker |
| CPackCreator *const | PackCreator |
| Text const | EditedTitleId |
| CPackCreatorTitleInfo *const | EditedTitleInfo |
| Boolean const | Dialog_IsFinished |
| Boolean const | Dialog_Success |
| Boolean const | Dialog_Aborted |
Public Attributes inherited from CNod | |
| Ident const | Id |
API for titles in edition mode.
Definition at line 16100 of file 2025_07_14.h.
| Enumerator | |
|---|---|
| TitleReadable | |
| Title | |
| User | |
Definition at line 16105 of file 2025_07_14.h.
| Void CTitleEdition::Dialog_ImportFiles | ( | ) |
| Boolean CTitleEdition::File_Exists | ( | Text | FileName, |
| CTitleEdition::EDrive | InDrive | ||
| ) |
Will copy file 'FileName' from the UserDir to the TitleDir, including its dependencies.
Will move or copy file 'OrigName' to 'DestName'. If DestName is a '\' terminated folder path, keeps the orginial short name.
| Void CTitleEdition::OpenTitleFolderInExplorer | ( | ) |
| Void CTitleEdition::ReloadTitleDesc | ( | ) |
| Void CTitleEdition::SaveTitleDesc | ( | ) |
| Void CTitleEdition::SetTitleCampaign | ( | Integer | CampaignNum, |
| Text | ScoreContext, | ||
| Text | MapsFolderNameOrPlayListName, | ||
| Boolean | OfficialRecordEnabled | ||
| ) |
nb: The maps from the campaign are automatically added to the pack, no need to Build_AddFile().
| Void CTitleEdition::SetTitleCampaign | ( | Integer | CampaignNum, |
| Text | ScoreContext, | ||
| Text | MapsFolderNameOrPlayListName, | ||
| Boolean | OfficialRecordEnabled, | ||
| Boolean | DisableUnlockSystem | ||
| ) |
| Boolean const CTitleEdition::Dialog_Aborted |
Definition at line 16165 of file 2025_07_14.h.
| Boolean const CTitleEdition::Dialog_IsFinished |
Definition at line 16157 of file 2025_07_14.h.
| Boolean const CTitleEdition::Dialog_Success |
Definition at line 16161 of file 2025_07_14.h.
| Text const CTitleEdition::EditedTitleId |
Definition at line 16121 of file 2025_07_14.h.
| CPackCreatorTitleInfo* const CTitleEdition::EditedTitleInfo |
Definition at line 16125 of file 2025_07_14.h.
| CPackCreator* const CTitleEdition::PackCreator |
PackCreator - only available when the title author is the current logged user.
Definition at line 16117 of file 2025_07_14.h.
| CTitle* const CTitleEdition::TitleMaker |
Definition at line 16113 of file 2025_07_14.h.