跳到主要内容
版本:Next

Struct HealthChangedEvent

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

[NetworkedEvent(EventScope.Server, Policy.Anyone)]
public struct HealthChangedEvent

Inherited Members​

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

Properties​

Amount​

public float Amount { readonly get; set; }

Property Value​

float

Attacker​

public Character? Attacker { 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

Victim​

public Vitals Victim { readonly get; set; }

Property Value​

Vitals