ManiaScript Trackmania 2020  30/10/2024
CMatchSettingsManager Class Reference

Allows handling of match-settings files. More...

#include <2024_10_30.h>

Inheritance diagram for CMatchSettingsManager:
CNod

Public Member Functions

Void MatchSettings_RefreshFiles ()
 
CMatchSettings MatchSettings_FindFile (Text FilePath)
 
CMatchSettings MatchSettings_CreateFile (Text FilePath)
 
CMatchSettings MatchSettings_CreateTemp ()
 
Void MatchSettings_Save (CMatchSettings MatchSettings)
 
Void MatchSettings_ReloadFromFile (CMatchSettings MatchSettings)
 
CMatchSettings MatchSettings_SaveAs (Text FilePath, CMatchSettings MatchSettings)
 
Void MatchSettings_EditScriptSettings (CMatchSettings MatchSettings)
 
Void MatchSettings_Remove (CMatchSettings MatchSettings)
 

Public Attributes

Boolean const MatchSettings_EditScriptSettings_Ongoing
 
Array< CMatchSettings *const > MatchSettings
 
Array< CMatchSettings *const > MatchSettings_File
 
Array< CMatchSettings *const > MatchSettings_Temp
 
- Public Attributes inherited from CNod
Ident const Id
 

Detailed Description

Allows handling of match-settings files.

Definition at line 16194 of file 2024_10_30.h.

Member Function Documentation

◆ MatchSettings_CreateFile()

CMatchSettings CMatchSettingsManager::MatchSettings_CreateFile ( Text  FilePath)

Create a new matchsettings file.

◆ MatchSettings_CreateTemp()

CMatchSettings CMatchSettingsManager::MatchSettings_CreateTemp ( )

Create a new temporary matchsettings. Those will be lost when the game is closed.

◆ MatchSettings_EditScriptSettings()

Void CMatchSettingsManager::MatchSettings_EditScriptSettings ( CMatchSettings  MatchSettings)

◆ MatchSettings_FindFile()

CMatchSettings CMatchSettingsManager::MatchSettings_FindFile ( Text  FilePath)

◆ MatchSettings_RefreshFiles()

Void CMatchSettingsManager::MatchSettings_RefreshFiles ( )

Clear all matchsettings files and reload them from disk. Be aware that any non-saved changes will be lost. Temporary matchsettings are not changed.

◆ MatchSettings_ReloadFromFile()

Void CMatchSettingsManager::MatchSettings_ReloadFromFile ( CMatchSettings  MatchSettings)

◆ MatchSettings_Remove()

Void CMatchSettingsManager::MatchSettings_Remove ( CMatchSettings  MatchSettings)

Remove a matchsetting file (or only the matchsetting for temp ones).

◆ MatchSettings_Save()

Void CMatchSettingsManager::MatchSettings_Save ( CMatchSettings  MatchSettings)

Save a matchsettings file.

◆ MatchSettings_SaveAs()

CMatchSettings CMatchSettingsManager::MatchSettings_SaveAs ( Text  FilePath,
CMatchSettings  MatchSettings 
)

Save a matchsettings to a new file.

Member Data Documentation

◆ MatchSettings

Array<CMatchSettings* const > CMatchSettingsManager::MatchSettings

Array of the matchsettings

Definition at line 16239 of file 2024_10_30.h.

◆ MatchSettings_EditScriptSettings_Ongoing

Boolean const CMatchSettingsManager::MatchSettings_EditScriptSettings_Ongoing

Definition at line 16231 of file 2024_10_30.h.

◆ MatchSettings_File

Array<CMatchSettings* const > CMatchSettingsManager::MatchSettings_File

Definition at line 16243 of file 2024_10_30.h.

◆ MatchSettings_Temp

Array<CMatchSettings* const > CMatchSettingsManager::MatchSettings_Temp

Definition at line 16247 of file 2024_10_30.h.


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