Struct ScriptActivationEvent
Namespace: OblivionMP.SDK.Common.Events
Assembly: OblivionMP.SDK.Common.dll
A scripted ref was activated. The others replay the activation with the instigator's copy as the action ref; a null instigator stands for the ref itself, the way a chained activation or a server raise has no actor.
[NetworkedEvent(EventScope.Area, Policy.SubjectOwner, Reject = typeof(ScriptEventReject))]
public struct ScriptActivationEvent
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
Area
[Area]
public AreaId Area { readonly get; set; }
Property Value
AreaId
Code
This event's code on the wire, once the host has placed its mod's block.
public RelayMessageCode Code { get; }
Property Value
RelayMessageCode
Instigator
[Subject]
public Character? Instigator { readonly get; set; }
Property Value
RefId
public uint RefId { readonly get; set; }
Property Value
Script
public FormId Script { readonly get; set; }
Property Value
FormId
Seed
public ulong Seed { readonly get; set; }