LeviLamina
Loading...
Searching...
No Matches
ScriptModuleMinecraft::ScriptWorldBeforeEvents Class Reference
+ Inheritance diagram for ScriptModuleMinecraft::ScriptWorldBeforeEvents:

Public Member Functions

ScriptWorldBeforeEventsoperator= (ScriptWorldBeforeEvents const &)
 
 ScriptWorldBeforeEvents (ScriptWorldBeforeEvents const &)
 
virtual void onBeforeActorRemove (::Actor const &actor)
 
virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptChatSendBeforeEvent > > onBeforeChat (::ChatEvent const &chatEvent, ::Player const &player)
 
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptExplosionStartedBeforeEvent > > onBeforeExplosion (::ExplosionStartedEvent const &event)
 
virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseBeforeEvent > > onBeforeItemUse (::Player const &player, ::ItemUseEvent const &itemEvent)
 
virtual ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseOnBeforeEvent > > onBeforeItemUseOn (::Player const &player, ::ItemUseOnEvent const &itemEvent)
 
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerBreakBlockBeforeEvent > > onBeforePlayerBreakBlock (::Player const &player, ::BlockTryDestroyByPlayerEvent const &eventData)
 
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerPlaceBlockBeforeEvent > > onBeforePlayerPlaceBlock (::Player const &player, ::BlockTryPlaceByPlayerEvent const &eventData)
 
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInteractWithBlockBeforeEvent > > onBeforePlayerInteractWithBlock (::Player &player, ::PlayerInteractWithBlockBeforeEvent const &eventData)
 
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInteractWithEntityBeforeEvent > > onBeforePlayerInteractWithEntity (::Player &player, ::Actor &target, ::PlayerInteractWithEntityBeforeEvent const &eventData)
 
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerGameModeChangeBeforeEvent > > onBeforePlayerGameModeChange (::Player const &player, ::GameType fromGameMode, ::GameType toGameMode)
 
virtual void onBeforeWorldInitialize (::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockComponentRegistry > const &blockComponentRegistry, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemComponentRegistry > const &itemComponentRegistry)
 
virtual void onBeforePlayerLeave (::Player const &player)
 
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorAddEffectBeforeEvent > > onBeforeEffectAddedEventSend (::ActorAddEffectEvent &actorEffectAddedEvent, ::Actor const &actor)
 
virtual ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptWeatherChangedBeforeEvent > > onBeforeWeatherChangedEvent (::ScriptModuleMinecraft::ScriptWeatherType previousWeatherType, ::ScriptModuleMinecraft::ScriptWeatherType newWeatherType, int duration)
 
MCAPI ScriptWorldBeforeEvents (::ScriptModuleMinecraft::ScriptWorldBeforeEvents &&)
 
MCAPI ScriptWorldBeforeEvents (::Scripting::WeakLifetimeScope scope, ::Level *level)
 
MCAPI ::std::vector<::ScriptModuleMinecraft::SignalNameSubscriberCountgetFineGrainedSignalSubscriberStats () const
 
MCAPI::ScriptModuleMinecraft::ScriptWorldBeforeEvents & operator= (::ScriptModuleMinecraft::ScriptWorldBeforeEvents &&)
 
MCAPI void registerListeners ()
 
MCAPI void * $ctor (::ScriptModuleMinecraft::ScriptWorldBeforeEvents &&)
 
MCAPI void * $ctor (::Scripting::WeakLifetimeScope scope, ::Level *level)
 
MCAPI void $dtor ()
 
MCAPI void $onBeforeActorRemove (::Actor const &actor)
 
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptChatSendBeforeEvent > > $onBeforeChat (::ChatEvent const &chatEvent, ::Player const &player)
 
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptExplosionStartedBeforeEvent > > $onBeforeExplosion (::ExplosionStartedEvent const &event)
 
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseBeforeEvent > > $onBeforeItemUse (::Player const &player, ::ItemUseEvent const &itemEvent)
 
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseOnBeforeEvent > > $onBeforeItemUseOn (::Player const &player, ::ItemUseOnEvent const &itemEvent)
 
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerBreakBlockBeforeEvent > > $onBeforePlayerBreakBlock (::Player const &player, ::BlockTryDestroyByPlayerEvent const &eventData)
 
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerPlaceBlockBeforeEvent > > $onBeforePlayerPlaceBlock (::Player const &player, ::BlockTryPlaceByPlayerEvent const &eventData)
 
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInteractWithBlockBeforeEvent > > $onBeforePlayerInteractWithBlock (::Player &player, ::PlayerInteractWithBlockBeforeEvent const &eventData)
 
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInteractWithEntityBeforeEvent > > $onBeforePlayerInteractWithEntity (::Player &player, ::Actor &target, ::PlayerInteractWithEntityBeforeEvent const &eventData)
 
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerGameModeChangeBeforeEvent > > $onBeforePlayerGameModeChange (::Player const &player, ::GameType fromGameMode, ::GameType toGameMode)
 
MCAPI void $onBeforeWorldInitialize (::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockComponentRegistry > const &blockComponentRegistry, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemComponentRegistry > const &itemComponentRegistry)
 
MCAPI void $onBeforePlayerLeave (::Player const &player)
 
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorAddEffectBeforeEvent > > $onBeforeEffectAddedEventSend (::ActorAddEffectEvent &actorEffectAddedEvent, ::Actor const &actor)
 
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptWeatherChangedBeforeEvent > > $onBeforeWeatherChangedEvent (::ScriptModuleMinecraft::ScriptWeatherType previousWeatherType, ::ScriptModuleMinecraft::ScriptWeatherType newWeatherType, int duration)
 

Static Public Member Functions

static MCAPI void bind (::Scripting::ModuleBindingBuilder &moduleBuilder)
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 16, ::Scripting::WeakLifetimeScopemScope
 
::ll::TypedStorage< 8, 8, ::Level * > mLevel
 
::ll::TypedStorage< 8, 16, ::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::ScriptWorldBeforeEvents > > mHandle
 
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptFilteredEventSignal< ::ScriptModuleMinecraft::ScriptChatSendBeforeEvent, 1, ::ScriptModuleMinecraft::EmptyFilter > > > mBeforeChatSignal
 
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptFilteredEventSignal< ::ScriptModuleMinecraft::ScriptExplosionStartedBeforeEvent, 1, ::ScriptModuleMinecraft::EmptyFilter > > > mBeforeExplosionSignal
 
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptFilteredEventSignal< ::ScriptModuleMinecraft::ScriptItemUseBeforeEvent, 1, ::ScriptModuleMinecraft::EmptyFilter > > > mBeforeItemUseEventSignal
 
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptFilteredEventSignal< ::ScriptModuleMinecraft::ScriptItemUseOnBeforeEvent, 1, ::ScriptModuleMinecraft::EmptyFilter > > > mBeforeItemUseOnEventSignal
 
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptFilteredEventSignal< ::ScriptModuleMinecraft::ScriptPlayerBreakBlockBeforeEvent, 1, ::ScriptModuleMinecraft::EventFilters::ScriptBlockEventFilter > > > mBeforePlayerBreakBlockEventSignal
 
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptFilteredEventSignal< ::ScriptModuleMinecraft::ScriptPlayerPlaceBlockBeforeEvent, 1, ::ScriptModuleMinecraft::EventFilters::ScriptBlockEventFilter > > > mBeforePlayerPlaceBlockEventSignal
 
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptFilteredEventSignal< ::ScriptModuleMinecraft::ScriptActorRemoveBeforeEvent, 1, ::ScriptModuleMinecraft::EmptyFilter > > > mBeforeActorRemoveEventSignal
 
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptFilteredEventSignal< ::ScriptModuleMinecraft::ScriptPlayerInteractWithBlockBeforeEvent, 1, ::ScriptModuleMinecraft::EmptyFilter > > > mBeforePlayerInteractWithBlockEventSignal
 
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptFilteredEventSignal< ::ScriptModuleMinecraft::ScriptPlayerInteractWithEntityBeforeEvent, 1, ::ScriptModuleMinecraft::EmptyFilter > > > mBeforePlayerInteractWithEntityEventSignal
 
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptFilteredEventSignal< ::ScriptModuleMinecraft::ScriptPlayerLeaveBeforeEvent, 1, ::ScriptModuleMinecraft::EmptyFilter > > > mBeforePlayerLeaveEventSignal
 
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptFilteredEventSignal< ::ScriptModuleMinecraft::ScriptPlayerGameModeChangeBeforeEvent, 1, ::ScriptModuleMinecraft::EmptyFilter > > > mBeforePlayerGameModeChangeEventSignal
 
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptFilteredEventSignal< ::ScriptModuleMinecraft::ScriptActorAddEffectBeforeEvent, 1, ::ScriptModuleMinecraft::EmptyFilter > > > mBeforeEffectAddEventSignal
 
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptFilteredEventSignal< ::ScriptModuleMinecraft::ScriptWeatherChangedBeforeEvent, 1, ::ScriptModuleMinecraft::EmptyFilter > > > mBeforeWeatherChangedEventSignal
 
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptFilteredEventSignal< ::ScriptModuleMinecraft::ScriptWorldInitializeBeforeEvent, 1, ::ScriptModuleMinecraft::EmptyFilter > > > mBeforeWorldInitializeEventSignal
 

Member Function Documentation

◆ onBeforeActorRemove()

virtual void ScriptModuleMinecraft::ScriptWorldBeforeEvents::onBeforeActorRemove ( ::Actor const & actor)
virtual

◆ onBeforeWorldInitialize()

virtual void ScriptModuleMinecraft::ScriptWorldBeforeEvents::onBeforeWorldInitialize ( ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockComponentRegistry > const & blockComponentRegistry,
::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemComponentRegistry > const & itemComponentRegistry )
virtual

◆ onBeforePlayerLeave()

virtual void ScriptModuleMinecraft::ScriptWorldBeforeEvents::onBeforePlayerLeave ( ::Player const & player)
virtual

◆ $vftable()

static MCAPI void ** ScriptModuleMinecraft::ScriptWorldBeforeEvents::$vftable ( )
static
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: