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 // NOLINTEND
47
48public:
49 // static functions
50 // NOLINTBEGIN
51 MCAPI static ::Scripting::ClassBinding bind();
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor(
59 ::br::spawn::EntityType const& entityType,
60 ::br::spawn::EntitySpawnReason entitySpawnReason,
61 ::BlockSource& region,
62 ::Vec3 position
63 );
64 // NOLINTEND
65};
66
67} // namespace ScriptModuleMinecraft
Definition BlockSource.h:73
Definition ScriptEntitySpawnType.h:19
Definition WeakLifetimeScope.h:14
Definition Vec3.h:10
Definition ClassBinding.h:19
Definition EntityType.h:17