LeviLamina
Loading...
Searching...
No Matches
ScriptEntitySpawnCallbackArgs.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/scripting/modules/minecraft/ScriptDimensionLocation.h"
8#include "mc/world/level/chunk/EntitySpawnReason.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockSource;
13class Vec3;
14namespace ScriptModuleMinecraft { class ScriptEntitySpawnType; }
15namespace Scripting { class WeakLifetimeScope; }
16namespace Scripting { struct ClassBinding; }
17namespace br::spawn { struct EntityType; }
18// clang-format on
19
20namespace ScriptModuleMinecraft {
21
22class ScriptEntitySpawnCallbackArgs {
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptEntitySpawnType>>
27 mEntitySpawnType;
28 ::ll::TypedStorage<2, 2, ::br::spawn::EntitySpawnReason> mEntitySpawnReason;
29 ::ll::TypedStorage<8, 48, ::ScriptModuleMinecraft::ScriptDimensionLocation> mDimensionLocation;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 ScriptEntitySpawnCallbackArgs();
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI ScriptEntitySpawnCallbackArgs(
41 ::br::spawn::EntityType const& entityType,
42 ::br::spawn::EntitySpawnReason entitySpawnReason,
43 ::BlockSource& region,
44 ::Vec3 position
45 );
46
47 MCAPI ~ScriptEntitySpawnCallbackArgs();
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCAPI static ::Scripting::ClassBinding bind();
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(
61 ::br::spawn::EntityType const& entityType,
62 ::br::spawn::EntitySpawnReason entitySpawnReason,
63 ::BlockSource& region,
64 ::Vec3 position
65 );
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCAPI void $dtor();
72 // NOLINTEND
73};
74
75} // namespace ScriptModuleMinecraft
Definition BlockSource.h:68
Definition ScriptEntitySpawnType.h:17
Definition WeakLifetimeScope.h:7
Definition Vec3.h:10
Definition ClassBinding.h:19
Definition EntityType.h:16