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

Public Types

using EventType = ::LevelNotificationEvent

Public Member Functions

ScriptTickListener & operator= (ScriptTickListener const &)
 ScriptTickListener (ScriptTickListener const &)
virtual::EventResult onLevelTickStart (::Level &level)
virtual::EventResult onLevelTickEnd (::Level &)
virtual void onScriptTickStart ()
virtual void onScriptTickEnd ()
MCAPI::ServerPerformanceData & _getServerPerfData ()
MCAPI::EventResult $onLevelTickStart (::Level &level)
MCAPI::EventResult $onLevelTickEnd (::Level &)
MCAPI void $onScriptTickStart ()
MCAPI void $onScriptTickEnd ()
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 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 $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)
virtual void onRunSystemTick (::ScriptDeferredFlushTracker &deferredTracker)
virtual void onFlushWorldAfterEvents (::ScriptDeferredFlushTracker &deferredTracker)
virtual void onFlushSystemAfterEvents (::ScriptDeferredFlushTracker &deferredTracker)
virtual void onFlushEditorProjectAfterEvents (::ScriptDeferredFlushTracker &deferredTracker)
virtual void onFlushEditorExtensionContextAfterEvents (::ScriptDeferredFlushTracker &deferredTracker)
virtual void onFlushBlockCustomComponentAfterEvents (::ScriptDeferredFlushTracker &deferredTracker)
virtual void onFlushEditorDataStoreAfterEvents (::ScriptDeferredFlushTracker &deferredTracker)
virtual void onFlushItemCustomComponentAfterEvents (::ScriptDeferredFlushTracker &deferredTracker)
virtual void onPreFlushAfterEvents ()
virtual void onPostFlushAfterEvents ()
MCAPI void $onRunSystemTick (::ScriptDeferredFlushTracker &deferredTracker)
MCAPI void $onFlushWorldAfterEvents (::ScriptDeferredFlushTracker &deferredTracker)
MCAPI void $onFlushSystemAfterEvents (::ScriptDeferredFlushTracker &deferredTracker)
MCAPI void $onFlushEditorProjectAfterEvents (::ScriptDeferredFlushTracker &deferredTracker)
MCAPI void $onFlushEditorExtensionContextAfterEvents (::ScriptDeferredFlushTracker &deferredTracker)
MCAPI void $onFlushBlockCustomComponentAfterEvents (::ScriptDeferredFlushTracker &deferredTracker)
MCAPI void $onFlushEditorDataStoreAfterEvents (::ScriptDeferredFlushTracker &deferredTracker)
MCAPI void $onFlushItemCustomComponentAfterEvents (::ScriptDeferredFlushTracker &deferredTracker)
MCAPI void $onPreFlushAfterEvents ()
MCAPI void $onPostFlushAfterEvents ()

Public Attributes

::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mFlushingCoroutineSubscription
::ll::TypedStorage< 8, 8, ::ScriptDeferredEventCoordinator & > mDeferredEventCoordinator
::ll::TypedStorage< 8, 8, ::LevelEventCoordinator & > mLevelEventCoordinator
::ll::TypedStorage< 8, 8, ::ScriptPluginManager & > mPluginManager
::ll::TypedStorage< 8, 8, ::DebuggerDiagnostics & > mDiagnostics
::ll::TypedStorage< 8, 8, ::ScriptAsyncJobCoordinator & > mAsyncJobCoordinator
::ll::TypedStorage< 8, 8, uint64 > mCurrentTick
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > mLevelTickStartTime
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > mScriptTickStartTime
::ll::TypedStorage< 8, 8, ::std::chrono::nanoseconds > mScriptCoroutineDuration

Member Function Documentation

◆ onScriptTickStart()

virtual void ScriptTickListener::onScriptTickStart ( )
virtual

Reimplemented from ScriptDeferredEventListener.

◆ onScriptTickEnd()

virtual void ScriptTickListener::onScriptTickEnd ( )
virtual

Reimplemented from ScriptDeferredEventListener.

◆ _getServerPerfData()

MCAPI::ServerPerformanceData & ScriptTickListener::_getServerPerfData ( )
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 ScriptTickListener::$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 ScriptTickListener::$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.

◆ $onScriptTickStart()

MCAPI void ScriptTickListener::$onScriptTickStart ( )
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.

◆ $onScriptTickEnd()

MCAPI void ScriptTickListener::$onScriptTickEnd ( )
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.

◆ $onLevelInitialized()

MCAPI::EventResult LevelEventListener::$onLevelInitialized ( ::Level & level)
inherited
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)
inherited
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)
inherited
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)
inherited
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)
inherited
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 )
inherited
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)
inherited
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)
inherited
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)
inherited
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)
inherited
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 )
inherited
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)
inherited
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.

◆ $onRunSystemTick()

MCAPI void ScriptDeferredEventListener::$onRunSystemTick ( ::ScriptDeferredFlushTracker & deferredTracker)
inherited
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.

◆ $onFlushWorldAfterEvents()

MCAPI void ScriptDeferredEventListener::$onFlushWorldAfterEvents ( ::ScriptDeferredFlushTracker & deferredTracker)
inherited
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.

◆ $onFlushSystemAfterEvents()

MCAPI void ScriptDeferredEventListener::$onFlushSystemAfterEvents ( ::ScriptDeferredFlushTracker & deferredTracker)
inherited
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.

◆ $onFlushEditorProjectAfterEvents()

MCAPI void ScriptDeferredEventListener::$onFlushEditorProjectAfterEvents ( ::ScriptDeferredFlushTracker & deferredTracker)
inherited
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.

◆ $onFlushEditorExtensionContextAfterEvents()

MCAPI void ScriptDeferredEventListener::$onFlushEditorExtensionContextAfterEvents ( ::ScriptDeferredFlushTracker & deferredTracker)
inherited
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.

◆ $onFlushBlockCustomComponentAfterEvents()

MCAPI void ScriptDeferredEventListener::$onFlushBlockCustomComponentAfterEvents ( ::ScriptDeferredFlushTracker & deferredTracker)
inherited
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.

◆ $onFlushEditorDataStoreAfterEvents()

MCAPI void ScriptDeferredEventListener::$onFlushEditorDataStoreAfterEvents ( ::ScriptDeferredFlushTracker & deferredTracker)
inherited
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.

◆ $onFlushItemCustomComponentAfterEvents()

MCAPI void ScriptDeferredEventListener::$onFlushItemCustomComponentAfterEvents ( ::ScriptDeferredFlushTracker & deferredTracker)
inherited
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.

◆ $onPreFlushAfterEvents()

MCAPI void ScriptDeferredEventListener::$onPreFlushAfterEvents ( )
inherited
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.

◆ $onPostFlushAfterEvents()

MCAPI void ScriptDeferredEventListener::$onPostFlushAfterEvents ( )
inherited
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: