Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
LevelEventListener Class Reference
Inheritance diagram for LevelEventListener:

Public Types

using EventType = ::LevelNotificationEvent

Public Member Functions

virtual::EventResult onLevelInitialized (::Level &level)
virtual::EventResult onLevelAddedPlayer (::Player &player)
virtual::EventResult onLevelRemovedPlayer (::Player &player)
virtual::EventResult onLevelRemovedActor (::Actor &actor)
virtual::EventResult onLevelTick (::Level &level)
virtual::EventResult onLevelTickStart (::Level &level)
virtual::EventResult onLevelTickEnd (::Level &)
virtual::EventResult onLevelWeatherChange (::std::string const &dimension, bool wasRaining, bool wasLightning, bool isRaining, bool isLightning)
virtual::EventResult onRealmsStory (::std::string const &storyData)
virtual::EventResult onWorldClockTimeModified (::gsl::not_null<::WorldClock * > clock)
virtual::EventResult onWorldClockPaused (::gsl::not_null<::WorldClock * > clock)
virtual::EventResult onWorldClockResumed (::gsl::not_null<::WorldClock * > clock)
virtual::EventResult onWorldClockTimeMarker (::gsl::not_null<::WorldClock * > clock, ::std::string const &timeMarkerName)
virtual::EventResult onEvent (::LevelNotificationEvent const &event)
MCAPI::EventResult $onLevelInitialized (::Level &level)
MCAPI::EventResult $onLevelAddedPlayer (::Player &player)
MCAPI::EventResult $onLevelRemovedPlayer (::Player &player)
MCAPI::EventResult $onLevelRemovedActor (::Actor &actor)
MCAPI::EventResult $onLevelTick (::Level &level)
MCAPI::EventResult $onLevelTickStart (::Level &level)
MCAPI::EventResult $onLevelTickEnd (::Level &)
MCAPI::EventResult $onLevelWeatherChange (::std::string const &dimension, bool wasRaining, bool wasLightning, bool isRaining, bool isLightning)
MCAPI::EventResult $onRealmsStory (::std::string const &storyData)
MCAPI::EventResult $onWorldClockTimeModified (::gsl::not_null<::WorldClock * > clock)
MCAPI::EventResult $onWorldClockPaused (::gsl::not_null<::WorldClock * > clock)
MCAPI::EventResult $onWorldClockResumed (::gsl::not_null<::WorldClock * > clock)
MCAPI::EventResult $onWorldClockTimeMarker (::gsl::not_null<::WorldClock * > clock, ::std::string const &timeMarkerName)
MCAPI::EventResult $onEvent (::LevelNotificationEvent const &event)

Member Function Documentation

◆ $onLevelInitialized()

MCAPI::EventResult LevelEventListener::$onLevelInitialized ( ::Level & level)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onLevelAddedPlayer()

MCAPI::EventResult LevelEventListener::$onLevelAddedPlayer ( ::Player & player)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onLevelRemovedPlayer()

MCAPI::EventResult LevelEventListener::$onLevelRemovedPlayer ( ::Player & player)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onLevelRemovedActor()

MCAPI::EventResult LevelEventListener::$onLevelRemovedActor ( ::Actor & actor)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onLevelTick()

MCAPI::EventResult LevelEventListener::$onLevelTick ( ::Level & level)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onLevelTickStart()

MCAPI::EventResult LevelEventListener::$onLevelTickStart ( ::Level & level)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onLevelTickEnd()

MCAPI::EventResult LevelEventListener::$onLevelTickEnd ( ::Level & )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onLevelWeatherChange()

MCAPI::EventResult LevelEventListener::$onLevelWeatherChange ( ::std::string const & dimension,
bool wasRaining,
bool wasLightning,
bool isRaining,
bool isLightning )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onRealmsStory()

MCAPI::EventResult LevelEventListener::$onRealmsStory ( ::std::string const & storyData)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onWorldClockTimeModified()

MCAPI::EventResult LevelEventListener::$onWorldClockTimeModified ( ::gsl::not_null<::WorldClock * > clock)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onWorldClockPaused()

MCAPI::EventResult LevelEventListener::$onWorldClockPaused ( ::gsl::not_null<::WorldClock * > clock)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onWorldClockResumed()

MCAPI::EventResult LevelEventListener::$onWorldClockResumed ( ::gsl::not_null<::WorldClock * > clock)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onWorldClockTimeMarker()

MCAPI::EventResult LevelEventListener::$onWorldClockTimeMarker ( ::gsl::not_null<::WorldClock * > clock,
::std::string const & timeMarkerName )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onEvent()

MCAPI::EventResult LevelEventListener::$onEvent ( ::LevelNotificationEvent const & event)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: