LocationChangedEvent
v4 location-transition event. Carries the new location’s ID and a hydrated LocationView for richer metadata access.
public class LocationChangedEvent : EventBase
Inheritance System.Object → EventBase → LocationChangedEvent
Properties
Location
Hydrated view of the new location (connections filtered by visibility). Null only in path-test mode.
public LocationView? Location { get; }
Property Value
LocationId
Uuid of the location now occupied.
public string LocationId { get; }
Property Value
PreviousLocationId
Uuid of the location the player just left. Null on the first MoveTo of a run.
public string? PreviousLocationId { get; }
Property Value
Methods
Accept(IEventQueueVisitor)
Dispatches to Visit(LocationChangedEvent).
public override void Accept(IEventQueueVisitor visitor);
Parameters
visitor IEventQueueVisitor
Visitor to dispatch this event to.
Inherited Properties
| Member | Source |
|---|---|
At | inherited from EventBase |
Timing | inherited from EventBase |