DamageTypeDatabase
Class in SurvivEngine Namespace
Inherits from DatabaseAssetBase<string>
Class in SurvivEngine Namespace
Inherits from DatabaseAssetBase<string>
A database storing and providing damage type names and IDs.
A maximum of 32 damage types are supported, for use in a bitmask.
Gets the damage type string representation associated with the given ID.
damageTypeID The ID to search with.
Attempts to get the 0 to 32 index associated with the given name's hash.
damageTypeName The name to hash.
index The resultant index.
Attempts to get the 0 to 32 index associated with the given ID.
damageTypeID The ID to search with.
index The resultant index.
Gets the 0 to 32 index associated with the given name's hash.
Returns -1 if no index is found.
damageTypeName The name to hash.
Gets the 0 to 32 index associated with the given ID.
Returns -1 if no index is found.
damageTypeID The ID to search with.