跳到主要内容
版本:Next

Struct SpellCastEvent

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

A character started casting a spell.

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

Inherited Members​

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

Properties​

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

Spell​

public NetworkFormId Spell { readonly get; set; }

Property Value​

NetworkFormId