Method GetDetailDefinition
GetDetailDefinition<T>(bool)
This will return a reference to the requested DetailDefinition by type.
Declaration
public T GetDetailDefinition<T>(bool lookInReferenceDefinition = true) where T : BaseDetailDefinition
Parameters
| Type | Name | Description |
|---|---|---|
| bool | lookInReferenceDefinition |
Returns
| Type | Description |
|---|---|
| T | A reference to the DetailDefinition, or null if this GameItemDefinition does not have one. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of DetailDefinition requested. |