LeviLamina
Loading...
Searching...
No Matches
ScriptWorldAfterEvents.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
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"
11
12// auto generated forward declare list
13// clang-format off
14class Level;
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; }
69// clang-format on
70
71namespace ScriptModuleMinecraft {
72
75 public ::Scripting::WeakHandleFromThis<::ScriptModuleMinecraft::IScriptWorldAfterEvents> {
76public:
77 // ScriptWorldAfterEvents inner types declare
78 // clang-format off
81 // clang-format on
82
83 // ScriptWorldAfterEvents inner types define
85 public:
86 // member variables
87 // NOLINTBEGIN
90 // NOLINTEND
91
92 public:
93 // prevent constructor by default
97
98 public:
99 // member functions
100 // NOLINTBEGIN
102 // NOLINTEND
103
104 public:
105 // destructor thunk
106 // NOLINTBEGIN
107 MCNAPI void $dtor();
108 // NOLINTEND
109 };
110
113 ::ScriptModuleMinecraft::ScriptWorldAfterEvents> {
114 public:
115 // virtual functions
116 // NOLINTBEGIN
117 // vIndex: 2
118 virtual void onFlushWorldAfterEvents(::ScriptDeferredFlushTracker& deferredTracker) /*override*/;
119
120 // vIndex: 0
121 virtual ~ScriptWorldAfterEventsDeferredEventListener() /*override*/ = default;
122 // NOLINTEND
123
124 public:
125 // virtual function thunks
126 // NOLINTBEGIN
128 // NOLINTEND
129
130 public:
131 // vftables
132 // NOLINTBEGIN
133 MCNAPI static void** $vftable();
134 // NOLINTEND
135 };
136
137public:
138 // member variables
139 // NOLINTBEGIN
152 // NOLINTEND
153
154public:
155 // prevent constructor by default
159
160public:
161 // virtual functions
162 // NOLINTBEGIN
163 // vIndex: 0
164 virtual ~ScriptWorldAfterEvents() /*override*/;
165
166 // vIndex: 1
167 virtual ::Level& getLevel() const /*override*/;
168
169 // vIndex: 2
170 virtual void onGameRuleChange(
171 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptGameRuleChangeAfterEvent>&
172 gameRulesChangeEvent
173 ) /*override*/;
174
175 // vIndex: 3
176 virtual void onWeatherChanged(
177 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptWeatherChangedAfterEvent>&
178 weatherChangedEvent
179 ) /*override*/;
180
181 // vIndex: 32
182 virtual void onPushButton(
183 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptButtonPushAfterEvent>& pushedButton
184 ) /*override*/;
185
186 // vIndex: 9
187 virtual void onActorLoad(
188 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorLoadAfterEvent>& eventData
189 ) /*override*/;
190
191 // vIndex: 10
192 virtual void onActorSpawn(
193 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorSpawnAfterEvent>& eventData
194 ) /*override*/;
195
196 // vIndex: 15
197 virtual void onDataDrivenActorEventSend(
198 ::std::shared_ptr<::ScriptModuleMinecraft::ScriptDataDrivenActorTriggerAfterEventIntermediateData>& eventData
199 ) /*override*/;
200
201 // vIndex: 12
202 virtual void onActorHitEntity(
203 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHitEntityAfterEvent>& eventData
204 ) /*override*/;
205
206 // vIndex: 13
207 virtual void onActorHitBlock(
208 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHitBlockAfterEvent>& eventData
209 ) /*override*/;
210
211 // vIndex: 7
212 virtual void onActorAddEffect(
213 ::std::shared_ptr<::ScriptModuleMinecraft::ScriptActorAddEffectAfterEventIntermediateData>& eventData
214 ) /*override*/;
215
216 // vIndex: 31
217 virtual void onActivateLever(
218 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptLeverActionAfterEvent>& leverEvent
219 ) /*override*/;
220
221 // vIndex: 35
222 virtual void onPlayerPlaceBlock(
223 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerPlaceBlockAfterEvent>& blockPlaceEvent
224 ) /*override*/;
225
226 // vIndex: 34
227 virtual void onExplodeBlock(
228 ::std::shared_ptr<::ScriptModuleMinecraft::ScriptBlockExplodedAfterEventIntermediateData>& eventData
229 ) /*override*/;
230
231 // vIndex: 36
232 virtual void onPlayerBreakBlock(
233 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerBreakBlockAfterEvent>& blockBreakEvent
234 ) /*override*/;
235
236 // vIndex: 16
237 virtual void onActorHurt(
238 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHurtAfterEvent>& actorHurtEvent
239 ) /*override*/;
240
241 // vIndex: 17
242 virtual void onActorHealthChanged(
243 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHealthChangedAfterEvent>&
244 actorHealthChangedEvent
245 ) /*override*/;
246
247 // vIndex: 18
248 virtual void onActorDie(
249 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorDieAfterEvent>& actorDieEvent
250 ) /*override*/;
251
252 // vIndex: 11
253 virtual void onActorRemoved(
254 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor> const& removedActor,
255 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorRemoveAfterEvent>& eventData
256 ) /*override*/;
257
258 // vIndex: 41
259 virtual void onItemUse(
260 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseAfterEvent>& eventData
261 ) /*override*/;
262
263 // vIndex: 42
264 virtual void onItemUseOn(
265 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseOnAfterEvent>& eventData
266 ) /*override*/;
267
268 // vIndex: 43
269 virtual void onItemStartUseOn(
270 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStartUseOnAfterEvent>& eventData
271 ) /*override*/;
272
273 // vIndex: 44
274 virtual void onItemStopUseOn(
275 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStopUseOnAfterEvent>& eventData
276 ) /*override*/;
277
278 // vIndex: 45
279 virtual void onItemStartUse(
280 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStartUseAfterEvent>& eventData
281 ) /*override*/;
282
283 // vIndex: 46
284 virtual void onItemCompleteUse(
285 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemCompleteUseAfterEvent>& eventData
286 ) /*override*/;
287
288 // vIndex: 47
289 virtual void onItemReleaseUse(
290 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemReleaseUseAfterEvent>& eventData
291 ) /*override*/;
292
293 // vIndex: 48
294 virtual void onItemStopUse(
295 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStopUseAfterEvent>& eventData
296 ) /*override*/;
297
298 // vIndex: 5
299 virtual void onPlayerJoin(
300 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerJoinAfterEvent>& eventData
301 ) /*override*/;
302
303 // vIndex: 6
304 virtual void onPlayerLeave(
305 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerLeaveAfterEvent>& eventData
306 ) /*override*/;
307
308 // vIndex: 19
309 virtual void onPlayerSpawn(
310 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerSpawnAfterEvent>& eventData
311 ) /*override*/;
312
313 // vIndex: 20
314 virtual void onPlayerDimensionChange(
315 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerDimensionChangeAfterEvent>& eventData
316 ) /*override*/;
317
318 // vIndex: 21
319 virtual void onPlayerInputModeChange(
320 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInputModeChangeAfterEvent>& eventData
321 ) /*override*/;
322
323 // vIndex: 22
324 virtual void onPlayerInputPermissionCategoryChange(
325 ::Scripting::StrongTypedObjectHandle<
326 ::ScriptModuleMinecraft::ScriptPlayerInputPermissionCategoryChangeAfterEvent>& eventData
327 ) /*override*/;
328
329 // vIndex: 23
330 virtual void onPlayerInteractWithEntity(
331 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInteractWithEntityAfterEvent>&
332 eventData
333 ) /*override*/;
334
335 // vIndex: 24
336 virtual void onPlayerInteractWithBlock(
337 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInteractWithBlockAfterEvent>&
338 eventData
339 ) /*override*/;
340
341 // vIndex: 25
342 virtual void onPlayerGameModeChange(
343 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerGameModeChangeAfterEvent>& eventData
344 ) /*override*/;
345
346 // vIndex: 4
347 virtual void onWorldInitialize(
348 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptWorldInitializeAfterEvent>& eventData
349 ) /*override*/;
350
351 // vIndex: 8
352 virtual void onChat(
353 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptChatSendAfterEvent>& eventData
354 ) /*override*/;
355
356 // vIndex: 14
357 virtual void onServerMessage(
358 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptServerMessageAfterEvent>& eventData
359 ) /*override*/;
360
361 // vIndex: 49
362 virtual void onProjectileHitEntity(
363 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptProjectileHitEntityAfterEvent>& eventData
364 ) /*override*/;
365
366 // vIndex: 50
367 virtual void onProjectileHitBlock(
368 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptProjectileHitBlockAfterEvent>& eventData
369 ) /*override*/;
370
371 // vIndex: 30
372 virtual void onActivatePiston(
373 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPistonActionAfterEvent>& eventData
374 ) /*override*/;
375
376 // vIndex: 33
377 virtual void onExplosion(
378 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptExplosionStartedAfterEvent>& eventData
379 ) /*override*/;
380
381 // vIndex: 37
382 virtual void onPushPressurePlate(
383 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPressurePlatePushAfterEvent>&
384 pushedPressurePlate
385 ) /*override*/;
386
387 // vIndex: 38
388 virtual void onPopPressurePlate(
389 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPressurePlatePopAfterEvent>&
390 poppedPressurePlate
391 ) /*override*/;
392
393 // vIndex: 39
394 virtual void onHitTargetBlock(
395 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptTargetBlockHitAfterEvent>& hitTargetBlock
396 ) /*override*/;
397
398 // vIndex: 40
399 virtual void onTripTripWire(
400 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptTripWireTripAfterEvent>& trippedTripWire
401 ) /*override*/;
402
403 // vIndex: 26
404 virtual void onPlayerEmote(
405 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerEmoteAfterEvent>& emoteEvent
406 ) /*override*/;
407
408 // vIndex: 27
409 virtual void onPlayerButtonInput(
410 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerButtonInputAfterEvent>& inputEvent
411 ) /*override*/;
412
413 // vIndex: 28
414 virtual void onPlayerInventoryItemChange(
415 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInventoryItemChangeAfterEvent>&
416 inventoryEvent
417 ) /*override*/;
418
419 // vIndex: 29
420 virtual void onPlayerHotbarSelectedSlotChange(
421 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerHotbarSelectedSlotChangeAfterEvent>&
422 hotbarEvent
423 ) /*override*/;
424 // NOLINTEND
425
426public:
427 // member functions
428 // NOLINTBEGIN
429 MCNAPI ScriptWorldAfterEvents(::Scripting::WeakLifetimeScope const& scope, ::gsl::not_null<::Level*> level);
430
431 MCNAPI ::std::vector<::ScriptModuleMinecraft::ScriptWorldAfterEvents::SignalNameSubscriberCount>
433
434 MCNAPI void
435 registerListeners(bool worldListener, ::ScriptModuleMinecraft::ScriptGlobalEventListeners& globalEventListeners);
436 // NOLINTEND
437
438public:
439 // static functions
440 // NOLINTBEGIN
441 MCNAPI static void bind(::Scripting::ModuleBindingBuilder& moduleBuilder);
442
443 MCNAPI static ::ScriptModuleMinecraft::ScriptAfterEventMetadata<
444 ::ScriptModuleMinecraft::ScriptWorldAfterEvents> const&
446 // NOLINTEND
447
448public:
449 // static variables
450 // NOLINTBEGIN
451 MCNAPI static char const*& bindingName();
452 // NOLINTEND
453
454public:
455 // constructor thunks
456 // NOLINTBEGIN
457 MCNAPI void* $ctor(::Scripting::WeakLifetimeScope const& scope, ::gsl::not_null<::Level*> level);
458 // NOLINTEND
459
460public:
461 // destructor thunk
462 // NOLINTBEGIN
463 MCNAPI void $dtor();
464 // NOLINTEND
465
466public:
467 // virtual function thunks
468 // NOLINTBEGIN
469 MCNAPI ::Level& $getLevel() const;
470
471 MCNAPI void $onGameRuleChange(
472 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptGameRuleChangeAfterEvent>&
473 gameRulesChangeEvent
474 );
475
476 MCNAPI void $onWeatherChanged(
477 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptWeatherChangedAfterEvent>&
478 weatherChangedEvent
479 );
480
481 MCNAPI void $onPushButton(
482 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptButtonPushAfterEvent>& pushedButton
483 );
484
485 MCNAPI void
486 $onActorLoad(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorLoadAfterEvent>& eventData);
487
488 MCNAPI void
489 $onActorSpawn(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorSpawnAfterEvent>& eventData);
490
492 ::std::shared_ptr<::ScriptModuleMinecraft::ScriptDataDrivenActorTriggerAfterEventIntermediateData>& eventData
493 );
494
495 MCNAPI void $onActorHitEntity(
496 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHitEntityAfterEvent>& eventData
497 );
498
499 MCNAPI void $onActorHitBlock(
500 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHitBlockAfterEvent>& eventData
501 );
502
503 MCNAPI void $onActorAddEffect(
504 ::std::shared_ptr<::ScriptModuleMinecraft::ScriptActorAddEffectAfterEventIntermediateData>& eventData
505 );
506
507 MCNAPI void $onActivateLever(
508 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptLeverActionAfterEvent>& leverEvent
509 );
510
512 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerPlaceBlockAfterEvent>& blockPlaceEvent
513 );
514
515 MCNAPI void $onExplodeBlock(
516 ::std::shared_ptr<::ScriptModuleMinecraft::ScriptBlockExplodedAfterEventIntermediateData>& eventData
517 );
518
520 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerBreakBlockAfterEvent>& blockBreakEvent
521 );
522
523 MCNAPI void $onActorHurt(
524 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHurtAfterEvent>& actorHurtEvent
525 );
526
528 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorHealthChangedAfterEvent>&
529 actorHealthChangedEvent
530 );
531
532 MCNAPI void
533 $onActorDie(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorDieAfterEvent>& actorDieEvent);
534
535 MCNAPI void $onActorRemoved(
536 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor> const& removedActor,
537 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorRemoveAfterEvent>& eventData
538 );
539
540 MCNAPI void
541 $onItemUse(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseAfterEvent>& eventData);
542
543 MCNAPI void
544 $onItemUseOn(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemUseOnAfterEvent>& eventData);
545
546 MCNAPI void $onItemStartUseOn(
547 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStartUseOnAfterEvent>& eventData
548 );
549
550 MCNAPI void $onItemStopUseOn(
551 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStopUseOnAfterEvent>& eventData
552 );
553
554 MCNAPI void $onItemStartUse(
555 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStartUseAfterEvent>& eventData
556 );
557
559 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemCompleteUseAfterEvent>& eventData
560 );
561
562 MCNAPI void $onItemReleaseUse(
563 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemReleaseUseAfterEvent>& eventData
564 );
565
566 MCNAPI void $onItemStopUse(
567 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStopUseAfterEvent>& eventData
568 );
569
570 MCNAPI void
571 $onPlayerJoin(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerJoinAfterEvent>& eventData);
572
573 MCNAPI void $onPlayerLeave(
574 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerLeaveAfterEvent>& eventData
575 );
576
577 MCNAPI void $onPlayerSpawn(
578 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerSpawnAfterEvent>& eventData
579 );
580
582 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerDimensionChangeAfterEvent>& eventData
583 );
584
586 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInputModeChangeAfterEvent>& eventData
587 );
588
590 ::Scripting::StrongTypedObjectHandle<
591 ::ScriptModuleMinecraft::ScriptPlayerInputPermissionCategoryChangeAfterEvent>& eventData
592 );
593
595 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInteractWithEntityAfterEvent>&
596 eventData
597 );
598
600 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInteractWithBlockAfterEvent>&
601 eventData
602 );
603
605 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerGameModeChangeAfterEvent>& eventData
606 );
607
609 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptWorldInitializeAfterEvent>& eventData
610 );
611
612 MCNAPI void
613 $onChat(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptChatSendAfterEvent>& eventData);
614
615 MCNAPI void $onServerMessage(
616 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptServerMessageAfterEvent>& eventData
617 );
618
620 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptProjectileHitEntityAfterEvent>& eventData
621 );
622
624 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptProjectileHitBlockAfterEvent>& eventData
625 );
626
627 MCNAPI void $onActivatePiston(
628 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPistonActionAfterEvent>& eventData
629 );
630
631 MCNAPI void $onExplosion(
632 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptExplosionStartedAfterEvent>& eventData
633 );
634
636 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPressurePlatePushAfterEvent>&
637 pushedPressurePlate
638 );
639
641 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPressurePlatePopAfterEvent>&
642 poppedPressurePlate
643 );
644
645 MCNAPI void $onHitTargetBlock(
646 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptTargetBlockHitAfterEvent>& hitTargetBlock
647 );
648
649 MCNAPI void $onTripTripWire(
650 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptTripWireTripAfterEvent>& trippedTripWire
651 );
652
653 MCNAPI void $onPlayerEmote(
654 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerEmoteAfterEvent>& emoteEvent
655 );
656
658 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerButtonInputAfterEvent>& inputEvent
659 );
660
662 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerInventoryItemChangeAfterEvent>&
663 inventoryEvent
664 );
665
667 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayerHotbarSelectedSlotChangeAfterEvent>&
668 hotbarEvent
669 );
670 // NOLINTEND
671
672public:
673 // vftables
674 // NOLINTBEGIN
675 MCNAPI static void** $vftable();
676 // NOLINTEND
677};
678
679} // namespace ScriptModuleMinecraft
Definition Level.h:239
Definition ScriptDeferredFlushTracker.h:13
Definition IScriptScriptDeferredEventListener.h:8
Definition IScriptWorldAfterEvents.h:65
Definition ScriptActor.h:62
Definition ScriptGlobalEventListeners.h:14
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)
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 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
STL namespace.
Definition ScriptActorAddEffectAfterEventIntermediateData.h:13
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 ScriptAfterEventMetadata.h:8
Definition ScriptBlockExplodedAfterEventIntermediateData.h:15
Definition ScriptButtonPushAfterEvent.h:15
Definition ScriptChatSendAfterEvent.h:20
Definition ScriptDataDrivenActorTriggerAfterEventIntermediateData.h:7
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 ScriptPlayerButtonInputAfterEvent.h:12
Definition ScriptPlayerDimensionChangeAfterEvent.h:18
Definition ScriptPlayerEmoteAfterEvent.h:14
Definition ScriptPlayerGameModeChangeAfterEvent.h:17
Definition ScriptPlayerHotbarSelectedSlotChangeAfterEvent.h:18
Definition ScriptPlayerInputModeChangeAfterEvent.h:12
Definition ScriptPlayerInputPermissionCategoryChangeAfterEvent.h:12
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 ScriptWorldInitializeAfterEvent.h:12
Definition Alias.h:14