Struct DoorTransitionEvent
Namespace: OblivionMP.SDK.Common.Events
Assembly: OblivionMP.SDK.Common.dll
A door was opened or closed. The result is the door's state; a refused transition puts the actor's game back to it. A server raise leaves the actor null and reaches any door with Script.
[NetworkedEvent(EventScope.Server, Policy.SubjectOwner, Reject = typeof(DoorTransitionReject))]
public struct DoorTransitionEvent
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
Actor
[Subject]
public MainCharacter? Actor { readonly get; set; }
Property Value
Code
This event's code on the wire, once the host has placed its mod's block.
public RelayMessageCode Code { get; }
Property Value
RelayMessageCode
RefId
public uint RefId { readonly get; set; }
Property Value
Source
public DoorTransitionSource Source { readonly get; set; }
Property Value
DoorTransitionSource
Transition
public DoorTransition Transition { readonly get; set; }
Property Value
DoorTransition