![]() |
ManiaScript
2019-10-10
The script language used in ManiaPlanet gaming system
|
#include <big.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, 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 | |
| const CTitle | TitleMaker |
| const CPackCreator | PackCreator |
| const Text | EditedTitleId |
| const CPackCreatorTitleInfo | EditedTitleInfo |
| const Boolean | Dialog_IsFinished |
| const Boolean | Dialog_Success |
| const Boolean | Dialog_Aborted |
Public Attributes inherited from CNod | |
| const Ident | Id |
API for titles in edition mode.
| Void CTitleEdition::Dialog_ImportFiles | ( | ) |
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 | ||
| ) |
| const Boolean CTitleEdition::Dialog_Aborted |
| const Boolean CTitleEdition::Dialog_IsFinished |
| const Boolean CTitleEdition::Dialog_Success |
| const Text CTitleEdition::EditedTitleId |
| const CPackCreatorTitleInfo CTitleEdition::EditedTitleInfo |
| const CPackCreator CTitleEdition::PackCreator |
PackCreator - only available when the title author is the current logged user.
| const CTitle CTitleEdition::TitleMaker |
1.8.15