3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/deps/scripting/lifetime_registry/WeakHandleFromThis.h"
8#include "mc/scripting/modules/minecraft/events/IScriptScriptDeferredEventListener.h"
9#include "mc/scripting/modules/minecraft/events/IScriptWorldAfterEvents.h"
10#include "mc/scripting/modules/minecraft/events/metadata/ScriptAfterEventMetadata.h"
16namespace ScriptModuleMinecraft {
class ScriptActor; }
17namespace ScriptModuleMinecraft {
class ScriptGlobalEventListeners; }
18namespace ScriptModuleMinecraft {
struct ScriptActorAddEffectAfterEventIntermediateData; }
19namespace ScriptModuleMinecraft {
struct ScriptActorDieAfterEvent; }
20namespace ScriptModuleMinecraft {
struct ScriptActorHealthChangedAfterEvent; }
21namespace ScriptModuleMinecraft {
struct ScriptActorHitBlockAfterEvent; }
22namespace ScriptModuleMinecraft {
struct ScriptActorHitEntityAfterEvent; }
23namespace ScriptModuleMinecraft {
struct ScriptActorHurtAfterEvent; }
24namespace ScriptModuleMinecraft {
struct ScriptActorLoadAfterEvent; }
25namespace ScriptModuleMinecraft {
struct ScriptActorRemoveAfterEvent; }
26namespace ScriptModuleMinecraft {
struct ScriptActorSpawnAfterEvent; }
27namespace ScriptModuleMinecraft {
struct ScriptBlockExplodedAfterEventIntermediateData; }
28namespace ScriptModuleMinecraft {
struct ScriptButtonPushAfterEvent; }
29namespace ScriptModuleMinecraft {
struct ScriptChatSendAfterEvent; }
30namespace ScriptModuleMinecraft {
struct ScriptDataDrivenActorTriggerAfterEventIntermediateData; }
31namespace ScriptModuleMinecraft {
struct ScriptExplosionStartedAfterEvent; }
32namespace ScriptModuleMinecraft {
struct ScriptGameRuleChangeAfterEvent; }
33namespace ScriptModuleMinecraft {
struct ScriptItemCompleteUseAfterEvent; }
34namespace ScriptModuleMinecraft {
struct ScriptItemReleaseUseAfterEvent; }
35namespace ScriptModuleMinecraft {
struct ScriptItemStartUseAfterEvent; }
36namespace ScriptModuleMinecraft {
struct ScriptItemStartUseOnAfterEvent; }
37namespace ScriptModuleMinecraft {
struct ScriptItemStopUseAfterEvent; }
38namespace ScriptModuleMinecraft {
struct ScriptItemStopUseOnAfterEvent; }
39namespace ScriptModuleMinecraft {
struct ScriptItemUseAfterEvent; }
40namespace ScriptModuleMinecraft {
struct ScriptItemUseOnAfterEvent; }
41namespace ScriptModuleMinecraft {
struct ScriptLeverActionAfterEvent; }
42namespace ScriptModuleMinecraft {
struct ScriptPistonActionAfterEvent; }
43namespace ScriptModuleMinecraft {
struct ScriptPlayerBreakBlockAfterEvent; }
44namespace ScriptModuleMinecraft {
struct ScriptPlayerButtonInputAfterEvent; }
45namespace ScriptModuleMinecraft {
struct ScriptPlayerDimensionChangeAfterEvent; }
46namespace ScriptModuleMinecraft {
struct ScriptPlayerEmoteAfterEvent; }
47namespace ScriptModuleMinecraft {
struct ScriptPlayerGameModeChangeAfterEvent; }
48namespace ScriptModuleMinecraft {
struct ScriptPlayerInputModeChangeAfterEvent; }
49namespace ScriptModuleMinecraft {
struct ScriptPlayerInputPermissionCategoryChangeAfterEvent; }
50namespace ScriptModuleMinecraft {
struct ScriptPlayerInteractWithBlockAfterEvent; }
51namespace ScriptModuleMinecraft {
struct ScriptPlayerInteractWithEntityAfterEvent; }
52namespace ScriptModuleMinecraft {
struct ScriptPlayerJoinAfterEvent; }
53namespace ScriptModuleMinecraft {
struct ScriptPlayerLeaveAfterEvent; }
54namespace ScriptModuleMinecraft {
struct ScriptPlayerPlaceBlockAfterEvent; }
55namespace ScriptModuleMinecraft {
struct ScriptPlayerSpawnAfterEvent; }
56namespace ScriptModuleMinecraft {
struct ScriptPressurePlatePopAfterEvent; }
57namespace ScriptModuleMinecraft {
struct ScriptPressurePlatePushAfterEvent; }
58namespace ScriptModuleMinecraft {
struct ScriptProjectileHitBlockAfterEvent; }
59namespace ScriptModuleMinecraft {
struct ScriptProjectileHitEntityAfterEvent; }
60namespace ScriptModuleMinecraft {
struct ScriptServerMessageAfterEvent; }
61namespace ScriptModuleMinecraft {
struct ScriptTargetBlockHitAfterEvent; }
62namespace ScriptModuleMinecraft {
struct ScriptTripWireTripAfterEvent; }
63namespace ScriptModuleMinecraft {
struct ScriptWeatherChangedAfterEvent; }
64namespace ScriptModuleMinecraft {
struct ScriptWorldInitializeAfterEvent; }
65namespace Scripting {
class ModuleBindingBuilder; }
66namespace Scripting {
class WeakLifetimeScope; }
69namespace ScriptModuleMinecraft {
111 ::ScriptModuleMinecraft::ScriptWorldAfterEvents> {
165 virtual ::Level& getLevel() const ;
168 virtual
void onGameRuleChange(
174 virtual
void onWeatherChanged(
180 virtual
void onPushButton(
185 virtual
void onActorLoad(
190 virtual
void onActorSpawn(
195 virtual
void onDataDrivenActorEventSend(
200 virtual
void onActorHitEntity(
205 virtual
void onActorHitBlock(
210 virtual
void onActorAddEffect(
215 virtual
void onActivateLever(
220 virtual
void onPlayerPlaceBlock(
225 virtual
void onExplodeBlock(
230 virtual
void onPlayerBreakBlock(
235 virtual
void onActorHurt(
240 virtual
void onActorHealthChanged(
242 actorHealthChangedEvent
246 virtual
void onActorDie(
251 virtual
void onActorRemoved(
252 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::
ScriptActor> const& removedActor,
257 virtual
void onItemUse(
262 virtual
void onItemUseOn(
267 virtual
void onItemStartUseOn(
272 virtual
void onItemStopUseOn(
277 virtual
void onItemStartUse(
282 virtual
void onItemCompleteUse(
287 virtual
void onItemReleaseUse(
292 virtual
void onItemStopUse(
297 virtual
void onPlayerJoin(
302 virtual
void onPlayerLeave(
307 virtual
void onPlayerSpawn(
312 virtual
void onPlayerDimensionChange(
317 virtual
void onPlayerInputModeChange(
322 virtual
void onPlayerInputPermissionCategoryChange(
323 ::Scripting::StrongTypedObjectHandle<
328 virtual
void onPlayerInteractWithEntity(
334 virtual
void onPlayerInteractWithBlock(
340 virtual
void onPlayerGameModeChange(
345 virtual
void onWorldInitialize(
355 virtual
void onServerMessage(
360 virtual
void onProjectileHitEntity(
365 virtual
void onProjectileHitBlock(
370 virtual
void onActivatePiston(
375 virtual
void onExplosion(
380 virtual
void onPushPressurePlate(
386 virtual
void onPopPressurePlate(
392 virtual
void onHitTargetBlock(
397 virtual
void onTripTripWire(
402 virtual
void onPlayerEmote(
407 virtual
void onPlayerButtonInput(
427 MCNAPI static
void bind(::Scripting::ModuleBindingBuilder& moduleBuilder);
443 MCNAPI
void*
$ctor(::Scripting::WeakLifetimeScope const& scope, ::gsl::not_null<::
Level*> level);
515 actorHealthChangedEvent
522 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::
ScriptActor> const& removedActor,
576 ::Scripting::StrongTypedObjectHandle<
Definition ScriptDeferredFlushTracker.h:5
Definition IScriptScriptDeferredEventListener.h:8
Definition IScriptWorldAfterEvents.h:63
Definition ScriptActor.h:59
Definition ScriptGlobalEventListeners.h:14
Definition ScriptWorldAfterEvents.h:111
static MCAPI void ** $vftable()
MCAPI void $onFlushWorldAfterEvents(::ScriptDeferredFlushTracker &deferredTracker)
Definition ScriptWorldAfterEvents.h:73
MCAPI void $onPlayerGameModeChange(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerGameModeChangeAfterEvent > &eventData)
MCAPI void $onWeatherChanged(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptWeatherChangedAfterEvent > &weatherChangedEvent)
MCAPI void $onActorHealthChanged(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHealthChangedAfterEvent > &actorHealthChangedEvent)
MCAPI void $onItemStartUseOn(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStartUseOnAfterEvent > &eventData)
MCAPI ::std::vector<::ScriptModuleMinecraft::ScriptWorldAfterEvents::SignalNameSubscriberCount > getFineGrainedSignalSubscriberStats() const
MCAPI void $onWorldInitialize(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptWorldInitializeAfterEvent > &eventData)
MCAPI void $onItemStartUse(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStartUseAfterEvent > &eventData)
static MCAPI void ** $vftable()
MCAPI void $onPlayerSpawn(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerSpawnAfterEvent > &eventData)
MCAPI void * $ctor(::Scripting::WeakLifetimeScope const &scope, ::gsl::not_null<::Level * > level)
MCAPI void $onActorSpawn(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorSpawnAfterEvent > &eventData)
MCAPI void $onProjectileHitEntity(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptProjectileHitEntityAfterEvent > &eventData)
MCAPI void $onPushPressurePlate(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPressurePlatePushAfterEvent > &pushedPressurePlate)
MCAPI void $onDataDrivenActorEventSend(::std::shared_ptr<::ScriptModuleMinecraft::ScriptDataDrivenActorTriggerAfterEventIntermediateData > &eventData)
MCAPI void $onActorHitEntity(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHitEntityAfterEvent > &eventData)
MCAPI void $onPlayerButtonInput(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerButtonInputAfterEvent > &inputEvent)
MCAPI void $onPlayerBreakBlock(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerBreakBlockAfterEvent > &blockBreakEvent)
MCAPI void $onItemStopUseOn(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStopUseOnAfterEvent > &eventData)
MCAPI void $onPopPressurePlate(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPressurePlatePopAfterEvent > &poppedPressurePlate)
MCAPI void $onTripTripWire(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptTripWireTripAfterEvent > &trippedTripWire)
MCAPI void $onActorHitBlock(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHitBlockAfterEvent > &eventData)
MCAPI void $onPushButton(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptButtonPushAfterEvent > &pushedButton)
MCAPI void $onPlayerInteractWithBlock(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInteractWithBlockAfterEvent > &eventData)
MCAPI void $onPlayerDimensionChange(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerDimensionChangeAfterEvent > &eventData)
MCAPI void $onPlayerPlaceBlock(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerPlaceBlockAfterEvent > &blockPlaceEvent)
static MCAPI void bind(::Scripting::ModuleBindingBuilder &moduleBuilder)
MCAPI void $onPlayerInteractWithEntity(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInteractWithEntityAfterEvent > &eventData)
static MCAPI char const *& bindingName()
MCAPI void $onActorDie(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorDieAfterEvent > &actorDieEvent)
MCAPI void $onHitTargetBlock(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptTargetBlockHitAfterEvent > &hitTargetBlock)
MCAPI void $onActorHurt(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHurtAfterEvent > &actorHurtEvent)
MCAPI void $onExplodeBlock(::std::shared_ptr<::ScriptModuleMinecraft::ScriptBlockExplodedAfterEventIntermediateData > &eventData)
MCAPI void $onChat(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptChatSendAfterEvent > &eventData)
MCAPI void $onItemUse(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseAfterEvent > &eventData)
MCAPI void $onGameRuleChange(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptGameRuleChangeAfterEvent > &gameRulesChangeEvent)
MCAPI void $onServerMessage(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptServerMessageAfterEvent > &eventData)
MCAPI void $onPlayerLeave(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerLeaveAfterEvent > &eventData)
MCAPI void $onActivateLever(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptLeverActionAfterEvent > &leverEvent)
MCAPI void $onPlayerInputModeChange(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInputModeChangeAfterEvent > &eventData)
MCAPI void $onExplosion(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptExplosionStartedAfterEvent > &eventData)
MCAPI void $onPlayerEmote(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerEmoteAfterEvent > &emoteEvent)
static MCAPI ::ScriptModuleMinecraft::ScriptAfterEventMetadata< ::ScriptModuleMinecraft::ScriptWorldAfterEvents > const & getMetadata()
MCAPI void $onActorLoad(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorLoadAfterEvent > &eventData)
MCAPI void $onItemCompleteUse(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemCompleteUseAfterEvent > &eventData)
MCAPI void registerListeners(bool worldListener, ::ScriptModuleMinecraft::ScriptGlobalEventListeners &globalEventListeners)
MCAPI void $onActorRemoved(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor > const &removedActor, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorRemoveAfterEvent > &eventData)
MCAPI void $onActivatePiston(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPistonActionAfterEvent > &eventData)
MCAPI void $onProjectileHitBlock(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptProjectileHitBlockAfterEvent > &eventData)
MCAPI void $onItemReleaseUse(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemReleaseUseAfterEvent > &eventData)
MCAPI void $onItemUseOn(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseOnAfterEvent > &eventData)
MCAPI void $onItemStopUse(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStopUseAfterEvent > &eventData)
MCAPI::Level & $getLevel() const
MCAPI void $onPlayerJoin(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerJoinAfterEvent > &eventData)
MCAPI void $onActorAddEffect(::std::shared_ptr<::ScriptModuleMinecraft::ScriptActorAddEffectAfterEventIntermediateData > &eventData)
MCAPI void $onPlayerInputPermissionCategoryChange(::Scripting::StrongTypedObjectHandle< ::ScriptModuleMinecraft::ScriptPlayerInputPermissionCategoryChangeAfterEvent > &eventData)
Definition WeakHandleFromThis.h:8
Definition ScriptActorDieAfterEvent.h:12
Definition ScriptActorHealthChangedAfterEvent.h:12
Definition ScriptActorHitBlockAfterEvent.h:12
Definition ScriptActorHitEntityAfterEvent.h:12
Definition ScriptActorHurtAfterEvent.h:12
Definition ScriptActorLoadAfterEvent.h:16
Definition ScriptActorRemoveAfterEvent.h:12
Definition ScriptActorSpawnAfterEvent.h:17
Definition ScriptChatSendAfterEvent.h:20
Definition ScriptExplosionStartedAfterEvent.h:16
Definition ScriptGameRuleChangeAfterEvent.h:12
Definition ScriptItemCompleteUseAfterEvent.h:20
Definition ScriptItemReleaseUseAfterEvent.h:19
Definition ScriptItemStartUseAfterEvent.h:19
Definition ScriptItemStartUseOnAfterEvent.h:19
Definition ScriptItemStopUseAfterEvent.h:19
Definition ScriptItemStopUseOnAfterEvent.h:19
Definition ScriptItemUseAfterEvent.h:19
Definition ScriptItemUseOnAfterEvent.h:22
Definition ScriptLeverActionAfterEvent.h:20
Definition ScriptPistonActionAfterEvent.h:20
Definition ScriptPlayerBreakBlockAfterEvent.h:20
Definition ScriptPlayerDimensionChangeAfterEvent.h:18
Definition ScriptPlayerEmoteAfterEvent.h:14
Definition ScriptPlayerGameModeChangeAfterEvent.h:17
Definition ScriptPlayerInteractWithBlockAfterEvent.h:21
Definition ScriptPlayerInteractWithEntityAfterEvent.h:19
Definition ScriptPlayerJoinAfterEvent.h:16
Definition ScriptPlayerLeaveAfterEvent.h:12
Definition ScriptPlayerPlaceBlockAfterEvent.h:18
Definition ScriptPlayerSpawnAfterEvent.h:12
Definition ScriptPressurePlatePopAfterEvent.h:15
Definition ScriptPressurePlatePushAfterEvent.h:15
Definition ScriptProjectileHitBlockAfterEvent.h:18
Definition ScriptProjectileHitEntityAfterEvent.h:16
Definition ScriptServerMessageAfterEvent.h:12
Definition ScriptTargetBlockHitAfterEvent.h:15
Definition ScriptTripWireTripAfterEvent.h:17
Definition ScriptWeatherChangedAfterEvent.h:12
Definition ScriptWorldAfterEvents.h:82
MCAPI ~SignalNameSubscriberCount()
Definition ScriptWorldInitializeAfterEvent.h:12