Method AddDetailDefinition
AddDetailDefinition<T>()
This will add a DetailDefinition of specified type to this GameItemDefinition.
Declaration
public T AddDetailDefinition<T>() where T : BaseDetailDefinition
Returns
Type | Description |
---|---|
T | A reference to the DetailDefinition that was just added. |
Type Parameters
Name | Description |
---|---|
T | The type of the new DetailDefinition to add. |