LeviLamina
Loading...
Searching...
No Matches
ScriptLootTable.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/WeakLifetimeScope.h"
8
9// auto generated forward declare list
10// clang-format off
11class LootTable;
12namespace ScriptModuleMinecraft { class ScriptLootPool; }
13namespace Scripting { struct ClassBinding; }
14// clang-format on
15
16namespace ScriptModuleMinecraft {
17
18class ScriptLootTable {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 16, ::Scripting::WeakLifetimeScope> mScope;
23 ::ll::TypedStorage<8, 8, ::LootTable const&> mLootTable;
24 ::ll::TypedStorage<
25 8,
26 32,
27 ::std::optional<::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptLootPool>>>>
28 mPools;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 ScriptLootTable& operator=(ScriptLootTable const&);
34 ScriptLootTable(ScriptLootTable const&);
35 ScriptLootTable();
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI ::std::string getPath() const;
41
42 MCAPI ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptLootPool>> getPools();
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static ::Scripting::ClassBinding bind();
49 // NOLINTEND
50};
51
52} // namespace ScriptModuleMinecraft
Definition LootTable.h:15
Definition ScriptLootPool.h:21
Definition ClassBinding.h:19