Skip to main content
Version: 1.1.1

Struct ScriptVariablesChangeEvent

Namespace: OblivionMP.SDK.Common.Events
Assembly: OblivionMP.SDK.Common.dll

A script wrote its variables on a ref, as the block's owner reports them. The result is the ref's script variables.

[NetworkedEvent(EventScope.Server, Policy.Anyone, Reject = typeof(ScriptVariablesChangeReject))]
public struct ScriptVariablesChangeEvent

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

RefId​

public uint RefId { readonly get; set; }

Property Value​

uint

Script​

public FormId Script { readonly get; set; }

Property Value​

FormId

Variables​

public ScriptVariablesData Variables { readonly get; set; }

Property Value​

ScriptVariablesData