DatabaseAssetBase_T
Generic abstract class in SurvivEngine Namespace
Inherits from SurvivEngine.DatabaseAssetBase
Generic abstract class in SurvivEngine Namespace
Inherits from SurvivEngine.DatabaseAssetBase
Generic class for database assets representing a specified type T. Inherit from this to create databases of T.
An enumerable collection of all registered values in this database.
An enumerable collection of all registered keys in this database.
Does the generic type T inherit from UnityEngine.Object?
The amount of elements registered in this database.
Adds a new element to the serialized values list.
newElement The new element to be added
Sets the value with the hash of the given name in the database.
Can optionally specify to add a new element if the name does not exist in the database. Defaults to false.
name The name to hash.
value The value to assign.
addIfNotFound Whether or not to add a new element if the hash is not found in the database.
Sets the value with the given id in the database.
Can optionally specify to add a new element if the id does not exist in the database. Defaults to false.
id The id to assign to.
value The value to assign.
addIfNotFound Whether or not to add a new element if the id is not found in the database.
Gets the value with the hash of the given name in the database.
name The name to hash.
Gets the value with the given id in the database.
id The id of the element to get.
Does the database contain an entry for the given ID?
id The id to check.
Does the database contain an entry for the given name hash?
name The name to hash.
Attempts to get a value with the hash of the given name in the database.
name The name to hash.
value The value found.
Attempts to get a value with the given id in the database.
id The id of the element to retrieve.
value The value found.