mDefineItem

Summary

Class for creating user defined DataItem Usually used as a scriptable object using mDataDefineItem

Relation

UIDataItem

Constructor

#ctor( ) Initializes a new instance of the class.
#ctor(System.Int32) Initializes a new instance of the class.

Indexer

This[System.String] Gets or sets the string with the specified key.

Property

Count Gets the count.
Keys Gets the keys.
Values Gets the values.

Method

Finalize( ) Finalizes an instance of the class.
CreateEmpty(System.String) Initializes a new instance of the class.
Create(System.Collections.Generic.Dictionary{System.String,System.Object}) Initializes a new instance of the class.
Validate(System.Boolean) Validate data
Add(System.String,System.Object) Adds the specified key.
Clear( ) Clears this instance.
ContainsKey(System.String) Determines whether the specified key contains value.
Remove(System.String) Removes the specified key.
GetEnumerator( ) Gets the enumerator.
GetBoolean(System.String,System.Boolean) Get the value of Boolean of specified key
GetInt(System.String,System.Int32) Get the value of Int of specified key
GetLong(System.String,System.Int64) Get the value of Long of specified key
GetFloat(System.String,System.Single) Get the value of Float of specified key
GetDouble(System.String,System.Double) Get the value of Double of specified key
GetString(System.String,System.String) Get the value of String of specified key
GetObject(System.String,System.Object,System.Boolean) Acquire raw object data corresponding to a specific key
GetLocalizedString(System.String,System.String,System.String) Get the value of translated string of specified key and language Search values with keys of the form Key:Language
GetAssetString(System.String,mAssetType,System.String,System.String) Get the value of translated string of specified key and asset type / platform Search values with keys of the form Key:AssetType(Platform)
GetLocalizedAssetString(System.String,mAssetType,System.String,System.String,System.String) Get the value of translated string of specified key and language, asset type / platform Search values with keys of the form Key:Language:AssetType(Platform)
ContainsLocalizedKey(System.String,System.String) Check if there is a value corresponding to a specific key and language Search values with keys of the form Key:Language
ContainsAssetKey(System.String,mAssetType,System.String) Check if there is a value corresponding to a specific key and asset type / platform Search values with keys of the form Key:AssetType(Platform)
ContainsLocalizedAssetKey(System.String,mAssetType,System.String,System.String) Check if there is a value corresponding to a specific key and language, asset type / platform Search values with keys of the form Key:Language:AssetType(Platform)
IsInt(System.String) Determines whether the specified key is int.
IsLong(System.String) Determines whether the specified key is long.
IsDouble(System.String) Determines whether the specified key is double.
IsFloat(System.String) Determines whether the specified key is float.
IsString(System.String) Determines whether the specified key is string.
IsBoolean(System.String) Determines whether the specified key is boolean.
IsLocalizedString(System.String,System.String) Determines whether [is localized string] [the specified key].
IsAssetString(System.String,mAssetType,System.String) Determines whether [is asset string] [the specified key].
IsLocalizedAssetString(System.String,mAssetType,System.String,System.String) Determines whether [is localized asset string] [the specified key].
Each<T>(System.Action{System.String,System.Object}) Foreach action like LINQ
SelectTask<T>(System.Func{System.String,System.Object,mTask}) Create a task list in a way like the Select() method of LINQ
Select<T>(System.Func{System.String,System.Object,System.Object}) Manipulate the list in a way like the Select() method of LINQ
Where<T>(System.Func{System.String,System.Object,System.Boolean}) Filter the list in a way like the Where() method of LINQ
All<T>(System.Func{System.String,System.Object,System.Boolean}) Returns true when you match all of the conditions like the All() method of LINQ
Any<T>(System.Func{System.String,System.Object,System.Boolean}) Returns true when you match all of the conditions like the All() method of LINQ
ToString( ) Serialize mDefineItem -> string
Serialize(mDefineItem) Serialize mDefineItem -> string
Deserialize(System.String) Deserialization string -> mDefineItem

Reference