ModdableObjectReference Class |
Namespace: UMod.Moddable
[SerializableAttribute] public sealed class ModdableObjectReference : ISerializationCallbackReceiver
The ModdableObjectReference type exposes the following members.
| Name | Description | |
|---|---|---|
| ModdableObjectReference | Initializes a new instance of the ModdableObjectReference class |
| Name | Description | |
|---|---|---|
| IsValid |
Returns a value indicationg whether this object reference has been assigned a value.
|
| Name | Description | |
|---|---|---|
| CreateNew |
Create new moddable object reference and generate a unique reference Id.
| |
| Equals |
Override implementation.
Checks for equality based on the inner referenceID value.
(Overrides ObjectEquals(Object).) | |
| GetHashCode |
Override implementation.
(Overrides ObjectGetHashCode.) | |
| OnAfterDeserialize |
Called by Unity.
| |
| OnBeforeSerialize |
Called by Unity.
|
| Name | Description | |
|---|---|---|
| (ModdableObjectReference to Int64) |
Implicit conversion to inner 64-bit Id value.
|