Struct PlacementChangeEvent
Namespace: OblivionMP.SDK.Common.Events
Assembly: OblivionMP.SDK.Common.dll
A script moved a ref within its cell, as the block's owner reports it. The result is the ref's transform.
[NetworkedEvent(EventScope.Server, Policy.Anyone, Reject = typeof(PlacementChangeReject))]
public struct PlacementChangeEvent
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
Cell
public FullCellId Cell { readonly get; set; }
Property Value
FullCellId
Code
This event's code on the wire, once the host has placed its mod's block.
public RelayMessageCode Code { get; }
Property Value
RelayMessageCode
Position
public Vector3 Position { readonly get; set; }
Property Value
RefId
public uint RefId { readonly get; set; }
Property Value
Rotation
public float Rotation { readonly get; set; }