Struct PresenceChangeEvent
Namespace: OblivionMP.SDK.Common.Events
Assembly: OblivionMP.SDK.Common.dll
A script enabled, disabled or destroyed a ref, as the block's owner reports it. The result is the ref's presence.
[NetworkedEvent(EventScope.Server, Policy.Anyone, Reject = typeof(PresenceChangeReject))]
public struct PresenceChangeEvent
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
Code
This event's code on the wire, once the host has placed its mod's block.
public RelayMessageCode Code { get; }
Property Value
RelayMessageCode
Flag
public PresenceFlag Flag { readonly get; set; }
Property Value
PresenceFlag
RefId
public uint RefId { readonly get; set; }
Property Value
Value
public bool Value { readonly get; set; }