Class OpenObjectTypeSet<TType, TEntry, TObject>
A less restrictive version of the object type set, for protected use.
Inheritance
DataSet<TType>
ObjectTypeSet<TType, TEntry, TObject>
OpenObjectTypeSet<TType, TEntry, TObject>
Implements
ISerializationCallbackReceiver
IObjectTypeSet<TType, TObject>
IOpenDataSet<TType>
IDataSet<TType>
Inherited Members
Namespace: InsaneScatterbrain.MapGraph
Syntax
public abstract class OpenObjectTypeSet<TType, TEntry, TObject> : ObjectTypeSet<TType, TEntry, TObject>, ISerializationCallbackReceiver, IObjectTypeSet<TType, TObject>, IOpenDataSet<TType>, IDataSet<TType>, IDataSet where TType : IObjectType<TEntry, TObject> where TEntry : IObjectTypeEntry<TObject> where TObject : Object
Type Parameters
Name | Description |
---|---|
TType | The type of object type. |
TEntry | The type of the entry. |
TObject | The type of object stored in the entry. |
Methods
Get(string)
Gets the item of with the given ID.
Declaration
public TType Get(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | The ID. |
Returns
Type | Description |
---|---|
TType | The item. |
GetByName(string)
Gets the item of with the given name.
Declaration
public TType GetByName(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name. |
Returns
Type | Description |
---|---|
TType | The item. |
Implements
UnityEngine.ISerializationCallbackReceiver