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