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