Click or drag to resize

ModdableObjectReference Class

Represents a unique reference to a moddable game object identified by a 64-bit Id value. Note that the reference is to the game object and not the ModdableContent component.
Inheritance Hierarchy
SystemObject
  UMod.ModdableModdableObjectReference

Namespace:  UMod.Moddable
Assembly:  UMod (in UMod.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public sealed class ModdableObjectReference : ISerializationCallbackReceiver

The ModdableObjectReference type exposes the following members.

Constructors
  NameDescription
Public methodModdableObjectReference
Initializes a new instance of the ModdableObjectReference class
Top
Properties
  NameDescription
Public propertyIsValid
Returns a value indicationg whether this object reference has been assigned a value.
Top
Methods
  NameDescription
Public methodStatic memberCreateNew
Create new moddable object reference and generate a unique reference Id.
Public methodEquals
Override implementation. Checks for equality based on the inner referenceID value.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Override implementation.
(Overrides ObjectGetHashCode.)
Public methodOnAfterDeserialize
Called by Unity.
Public methodOnBeforeSerialize
Called by Unity.
Top
Operators
See Also