Makinom  2.21.0
API Documentation
GamingIsLove.Makinom.BaseSettings Class Reference
Inheritance diagram for GamingIsLove.Makinom.BaseSettings:
GamingIsLove.Makinom.IBaseData GamingIsLove.Makinom.BackupSettings GamingIsLove.Makinom.EditorSettings GamingIsLove.Makinom.GameControlsSettings GamingIsLove.Makinom.GameSettings GamingIsLove.Makinom.GenericAssetListSettings< T, V > GamingIsLove.Makinom.SaveGameSettings GamingIsLove.Makinom.SceneConnectionsSettings GamingIsLove.Makinom.TextCodeSettings GamingIsLove.Makinom.UIBoxesSettings GamingIsLove.Makinom.UISettings GamingIsLove.Makinom.UISystemSettings

Public Member Functions

virtual void LoadProject (MakinomProjectAsset project)
 Loads the settings found in the Project asset. More...
 
virtual void InitDataAssetSettings ()
 Initializes the settings of directly referenced data assets. More...
 
virtual DataFile GetSaveData (bool encrypt, DataFile.SaveFormatType format)
 Gets the save data. More...
 
virtual bool HasChanged (MakinomProjectAsset project, bool encrypt, DataFile.SaveFormatType format, out DataFile file)
 
virtual DataObject GetData ()
 Gets a GamingIsLove.Makinom.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a GamingIsLove.Makinom.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for the field defined using the settingAutoSetup option of the GamingIsLove.Makinom.EditorInfoAttribute. More...
 

Properties

abstract string Filename [get]
 Gets the filename used for saving the settings. More...
 
virtual System.Type InstanceType [get]
 
virtual int Count [get]
 
virtual bool HasGeneralSettings [get]
 

Member Function Documentation

◆ EditorAutoSetup()

virtual void GamingIsLove.Makinom.BaseSettings.EditorAutoSetup ( string  fieldName)
virtual

Called for the field defined using the settingAutoSetup option of the GamingIsLove.Makinom.EditorInfoAttribute.

Parameters
fieldNameThe name of the field the function is called for.

Implements GamingIsLove.Makinom.IBaseData.

Reimplemented in GamingIsLove.Makinom.SaveGameSettings, and GamingIsLove.Makinom.UISystemSettings.

◆ GetData()

virtual DataObject GamingIsLove.Makinom.BaseSettings.GetData ( )
virtual

Gets a GamingIsLove.Makinom.DataObject representing the class.

Returns
GamingIsLove.Makinom.DataObject containing the class data.

Implements GamingIsLove.Makinom.IBaseData.

Reimplemented in GamingIsLove.Makinom.GenericAssetListSettings< T, V >.

◆ GetSaveData()

virtual DataFile GamingIsLove.Makinom.BaseSettings.GetSaveData ( bool  encrypt,
DataFile.SaveFormatType  format 
)
virtual

Gets the save data.

Parameters
listThe list of save data the data will be added to.
encryptIf true, the data will be encrypted.

◆ InitDataAssetSettings()

virtual void GamingIsLove.Makinom.BaseSettings.InitDataAssetSettings ( )
virtual

Initializes the settings of directly referenced data assets.

Reimplemented in GamingIsLove.Makinom.GenericAssetListSettings< T, V >.

◆ LoadProject()

virtual void GamingIsLove.Makinom.BaseSettings.LoadProject ( MakinomProjectAsset  project)
virtual

Loads the settings found in the Project asset.

Parameters
projectThe Project asset.

◆ SetData()

Property Documentation

◆ Filename

abstract string GamingIsLove.Makinom.BaseSettings.Filename
get

Gets the filename used for saving the settings.

The filename.