跳到主要内容
版本:Next

Struct SpellReleaseCastEvent

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

A character released a spell it was casting, or fired a staff.

[NetworkedEvent(EventScope.Area, Policy.SubjectOwner)]
public struct SpellReleaseCastEvent

Inherited Members​

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties​

AimDirection​

public Vector3 AimDirection { readonly get; set; }

Property Value​

Vector3

CastIndex​

Counts the caster's casts, so a later aim update can name the cast it belongs to.

public uint CastIndex { readonly get; set; }

Property Value​

uint

Caster​

[Subject]
public Character Caster { readonly get; set; }

Property Value​

Character

Code​

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

public RelayMessageCode Code { get; }

Property Value​

RelayMessageCode

IsStaff​

public bool IsStaff { readonly get; set; }

Property Value​

bool

  • Properties
    • AimDirection
    • CastIndex
    • Caster
    • Code
    • IsStaff