DimensionObserverManager

Stores a list of observers (i.e. players), per dimension Can be used to notify players about some dimension local events, or change of dimension's parameters (like borders)

Members

Functions

getDimensionObservers
auto getDimensionObservers(DimensionId dimensionId)
Undocumented in source. Be warned that the author may not have intended to support it.
removeObserver
void removeObserver(SessionId sessionId)
Undocumented in source. Be warned that the author may not have intended to support it.
updateObserver
void updateObserver(SessionId sessionId, DimensionId dimensionId)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

dimObservers
HashMap!(DimensionId, MultiHashSet!SessionId) dimObservers;
Undocumented in source.
dimensionObserverAdded
void delegate(DimensionId, SessionId) dimensionObserverAdded;
Undocumented in source.
observerDimensions
HashMap!(SessionId, DimensionId) observerDimensions;
Undocumented in source.

Meta