Class UpdatableField
Defines how to set and get values from a field for the UpdateEngine.
public abstract class UpdatableField : UpdatableMember
  - Inheritance
 - 
      objectUpdatableField
 
- Derived
 
- Inherited Members
 
Fields
Offset
Offset of this field in its containing object.
public int Offset
  Field Value
Size
Size of this field.
public int Size
  Field Value
Methods
GetObject(nint)
Gets a reference object from a field.
public object GetObject(nint obj)
  Parameters
objnintThe object encoded as a native pointer (UpdateEngine will make sure it is pinned).
Returns
- object
 The object value from the field.
GetSetOperationType()
Internally used to know type of set operation to use.
public UpdateOperationType GetSetOperationType()
  Returns
SetBlittable(nint, nint)
Sets a blittable field (from its pointer).
public void SetBlittable(nint obj, nint data)
  Parameters
SetObject(nint, object)
Sets a reference object from a field.
public void SetObject(nint obj, object data)
  Parameters
objnintThe object encoded as a native pointer (UpdateEngine will make sure it is pinned).
dataobjectThe object value to set.
SetStruct(nint, object)
Sets a non-blittable struct field (given in boxed form).
public abstract void SetStruct(nint obj, object data)
  Parameters
objnintThe container object.
dataobjectThe new value to unbox and set