Struct HorseMountRequestedEvent
Namespace: OblivionMP.SDK.Common.Events
Assembly: OblivionMP.SDK.Common.dll
A character starts mounting a horse. The server names it as the rider and moves the horse to the rider's client.
[NetworkedEvent(EventScope.Server, Policy.SubjectOwner, Reject = typeof(HorseMountReject))]
public struct HorseMountRequestedEvent
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
Horse
public Npc Horse { readonly get; set; }
Property Value
Rider
[Subject]
public Character Rider { readonly get; set; }