Method IsPayload
IsPayload<T>(ref T, int)
Determines whether the specified trait value matches a payload stored in the runtime asset.
Declaration
public bool IsPayload<T>(ref T value, int payload) where T : struct
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | Trait value to check the payload against. |
| int | payload | Payload index to check the trait for. |
Returns
| Type | Description |
|---|---|
| bool | True if the trait value matches the payload store in the runtime asset; false otherwise. |
Type Parameters
| Name | Description |
|---|---|
| T |