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 ScriptPlayerHotbarSelectedSlotChangeAfterEvent; }
49namespace ScriptModuleMinecraft {
struct ScriptPlayerInputModeChangeAfterEvent; }
50namespace ScriptModuleMinecraft {
struct ScriptPlayerInputPermissionCategoryChangeAfterEvent; }
51namespace ScriptModuleMinecraft {
struct ScriptPlayerInteractWithBlockAfterEvent; }
52namespace ScriptModuleMinecraft {
struct ScriptPlayerInteractWithEntityAfterEvent; }
53namespace ScriptModuleMinecraft {
struct ScriptPlayerInventoryItemChangeAfterEvent; }
54namespace ScriptModuleMinecraft {
struct ScriptPlayerJoinAfterEvent; }
55namespace ScriptModuleMinecraft {
struct ScriptPlayerLeaveAfterEvent; }
56namespace ScriptModuleMinecraft {
struct ScriptPlayerPlaceBlockAfterEvent; }
57namespace ScriptModuleMinecraft {
struct ScriptPlayerSpawnAfterEvent; }
58namespace ScriptModuleMinecraft {
struct ScriptPressurePlatePopAfterEvent; }
59namespace ScriptModuleMinecraft {
struct ScriptPressurePlatePushAfterEvent; }
60namespace ScriptModuleMinecraft {
struct ScriptProjectileHitBlockAfterEvent; }
61namespace ScriptModuleMinecraft {
struct ScriptProjectileHitEntityAfterEvent; }
62namespace ScriptModuleMinecraft {
struct ScriptServerMessageAfterEvent; }
63namespace ScriptModuleMinecraft {
struct ScriptTargetBlockHitAfterEvent; }
64namespace ScriptModuleMinecraft {
struct ScriptTripWireTripAfterEvent; }
65namespace ScriptModuleMinecraft {
struct ScriptWeatherChangedAfterEvent; }
66namespace ScriptModuleMinecraft {
struct ScriptWorldInitializeAfterEvent; }
67namespace Scripting {
class ModuleBindingBuilder; }
68namespace Scripting {
class WeakLifetimeScope; }
71namespace ScriptModuleMinecraft {
113 ::ScriptModuleMinecraft::ScriptWorldAfterEvents> {
167 virtual ::Level& getLevel() const ;
170 virtual
void onGameRuleChange(
176 virtual
void onWeatherChanged(
182 virtual
void onPushButton(
187 virtual
void onActorLoad(
192 virtual
void onActorSpawn(
197 virtual
void onDataDrivenActorEventSend(
202 virtual
void onActorHitEntity(
207 virtual
void onActorHitBlock(
212 virtual
void onActorAddEffect(
217 virtual
void onActivateLever(
222 virtual
void onPlayerPlaceBlock(
227 virtual
void onExplodeBlock(
232 virtual
void onPlayerBreakBlock(
237 virtual
void onActorHurt(
242 virtual
void onActorHealthChanged(
244 actorHealthChangedEvent
248 virtual
void onActorDie(
253 virtual
void onActorRemoved(
254 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::
ScriptActor> const& removedActor,
259 virtual
void onItemUse(
264 virtual
void onItemUseOn(
269 virtual
void onItemStartUseOn(
274 virtual
void onItemStopUseOn(
279 virtual
void onItemStartUse(
284 virtual
void onItemCompleteUse(
289 virtual
void onItemReleaseUse(
294 virtual
void onItemStopUse(
299 virtual
void onPlayerJoin(
304 virtual
void onPlayerLeave(
309 virtual
void onPlayerSpawn(
314 virtual
void onPlayerDimensionChange(
319 virtual
void onPlayerInputModeChange(
324 virtual
void onPlayerInputPermissionCategoryChange(
325 ::Scripting::StrongTypedObjectHandle<
330 virtual
void onPlayerInteractWithEntity(
336 virtual
void onPlayerInteractWithBlock(
342 virtual
void onPlayerGameModeChange(
347 virtual
void onWorldInitialize(
357 virtual
void onServerMessage(
362 virtual
void onProjectileHitEntity(
367 virtual
void onProjectileHitBlock(
372 virtual
void onActivatePiston(
377 virtual
void onExplosion(
382 virtual
void onPushPressurePlate(
388 virtual
void onPopPressurePlate(
394 virtual
void onHitTargetBlock(
399 virtual
void onTripTripWire(
404 virtual
void onPlayerEmote(
409 virtual
void onPlayerButtonInput(
414 virtual
void onPlayerInventoryItemChange(
420 virtual
void onPlayerHotbarSelectedSlotChange(
441 MCNAPI static
void bind(::Scripting::ModuleBindingBuilder& moduleBuilder);
457 MCNAPI
void*
$ctor(::Scripting::WeakLifetimeScope const& scope, ::gsl::not_null<::
Level*> level);
529 actorHealthChangedEvent
536 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::
ScriptActor> const& removedActor,
590 ::Scripting::StrongTypedObjectHandle<
Definition ScriptDeferredFlushTracker.h:13
Definition IScriptScriptDeferredEventListener.h:8
Definition IScriptWorldAfterEvents.h:65
Definition ScriptActor.h:62
Definition ScriptGlobalEventListeners.h:14
Definition ScriptWorldAfterEvents.h:113
static MCAPI void ** $vftable()
MCAPI void $onFlushWorldAfterEvents(::ScriptDeferredFlushTracker &deferredTracker)
Definition ScriptWorldAfterEvents.h:75
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 $onPlayerHotbarSelectedSlotChange(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerHotbarSelectedSlotChangeAfterEvent > &hotbarEvent)
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 $onPlayerInventoryItemChange(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInventoryItemChangeAfterEvent > &inventoryEvent)
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 ScriptPlayerHotbarSelectedSlotChangeAfterEvent.h:18
Definition ScriptPlayerInteractWithBlockAfterEvent.h:21
Definition ScriptPlayerInteractWithEntityAfterEvent.h:19
Definition ScriptPlayerInventoryItemChangeAfterEvent.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:16
Definition ScriptProjectileHitEntityAfterEvent.h:16
Definition ScriptServerMessageAfterEvent.h:12
Definition ScriptTargetBlockHitAfterEvent.h:15
Definition ScriptTripWireTripAfterEvent.h:17
Definition ScriptWeatherChangedAfterEvent.h:12
Definition ScriptWorldAfterEvents.h:84
MCAPI ~SignalNameSubscriberCount()
Definition ScriptWorldInitializeAfterEvent.h:12