Makinom  1.18.0
API Documentation
Makinom.BaseTypeData Class Reference

Default XML data serialization implementation. Descend your class from this class if no special XML data serialization is needed. More...

Inheritance diagram for Makinom.BaseTypeData:
Makinom.IBaseData Makinom.BaseAssetSource< T > Makinom.BaseInputIDKeySetting Makinom.BaseMoveSetting Makinom.BaseSaveGameFileHandler Makinom.BaseTextFileHandler Makinom.BoolValue_BaseType Makinom.FloatValue_BaseType Makinom.Formulas.FormulaBool_BaseType Makinom.Formulas.FormulaFloat_BaseType Makinom.Formulas.FormulaString_BaseType Makinom.Formulas.FormulaVector3_BaseType Makinom.Schematics.MachineBaseStartVariable Makinom.Schematics.SchematicBool_BaseType Makinom.Schematics.SchematicFloat_BaseType Makinom.Schematics.SchematicString_BaseType Makinom.Schematics.SchematicVector3_BaseType Makinom.StringValue_BaseType Makinom.UI.BaseHUDElementSetting Makinom.UI.BaseHUDSetting Makinom.UI.GUIBaseLayoutSettings Makinom.Vector3Value_BaseType Makinom.Wrapper.BaseDestroySetting Makinom.Wrapper.BaseInstantiateSetting Makinom.Wrapper.BaseLoadSceneSetting Makinom.Wrapper.BaseRandomNumberSetting

Public Member Functions

virtual DataObject GetData ()
 Gets a Makinom.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a Makinom.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the Makinom.EditorLayoutAttribute. More...
 
virtual bool IsType (string type)
 Checks if the setting is of a defindd type. More...
 

Detailed Description

Default XML data serialization implementation. Descend your class from this class if no special XML data serialization is needed.

Member Function Documentation

◆ EditorAutoSetup()

virtual void Makinom.BaseTypeData.EditorAutoSetup ( string  fieldName)
virtual

Called for all fields using the autoSetup option of the Makinom.EditorLayoutAttribute.

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

Implements Makinom.IBaseData.

◆ GetData()

virtual DataObject Makinom.BaseTypeData.GetData ( )
virtual

Gets a Makinom.DataObject representing the class.

Returns
Makinom.DataObject containing the class data.

Implements Makinom.IBaseData.

◆ IsType()

virtual bool Makinom.BaseTypeData.IsType ( string  type)
virtual

Checks if the setting is of a defindd type.

Parameters
typeThe class type of string, consisting of namespace and class name.
Returns
true if the type matches.

◆ SetData()