Skip to main content
Version: 1.1.1

Struct ScriptButtonChosenEvent

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

A player picked a button in a script's message box. The others hand the same button to their copy of the script.

[NetworkedEvent(EventScope.Area, Policy.SubjectOwner, Reject = typeof(ScriptEventReject))]
public struct ScriptButtonChosenEvent

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

Button​

public sbyte Button { readonly get; set; }

Property Value​

sbyte

Code​

This event's code on the wire, once the host has placed its mod's block.

public RelayMessageCode Code { get; }

Property Value​

RelayMessageCode

Player​

[Subject]
public MainCharacter Player { readonly get; set; }

Property Value​

MainCharacter

RefId​

public uint RefId { readonly get; set; }

Property Value​

uint

Script​

public FormId Script { readonly get; set; }

Property Value​

FormId