Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptLootItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/script_core/lifetime_registry/scripting/StrongTypedObjectHandle.h"
7#include "mc/scripting/modules/minecraft/loot_tables/ScriptLootPoolEntry.h"
8
9// auto generated forward declare list
10// clang-format off
11class LootItem;
12class LootPoolEntry;
13namespace ScriptModuleMinecraft { class ScriptLootItemCondition; }
14namespace ScriptModuleMinecraft { class ScriptLootItemFunction; }
15namespace Scripting { struct ClassBinding; }
16// clang-format on
17
18namespace ScriptModuleMinecraft {
19
20class ScriptLootItem : public ::ScriptModuleMinecraft::ScriptLootPoolEntry {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 8, ::LootItem const&> mLootItem;
25 ::ll::TypedStorage<
26 8,
27 32,
28 ::std::optional<
29 ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptLootItemCondition>>>>
30 mConditions;
31 ::ll::TypedStorage<
32 8,
33 32,
34 ::std::optional<
35 ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptLootItemFunction>>>>
36 mFunctions;
37 // NOLINTEND
38
39public:
40 // prevent constructor by default
41 ScriptLootItem& operator=(ScriptLootItem const&);
42 ScriptLootItem(ScriptLootItem const&);
43 ScriptLootItem();
44
45public:
46 // virtual functions
47 // NOLINTBEGIN
48 virtual ::LootPoolEntry const& _getEntry() const /*override*/;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCNAPI ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptLootItemFunction>>
56 // NOLINTEND
57
58public:
59 // static functions
60 // NOLINTBEGIN
61 MCNAPI static ::Scripting::ClassBinding bind();
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCNAPI ::LootPoolEntry const& $_getEntry() const;
68
69
70 // NOLINTEND
71};
72
73} // namespace ScriptModuleMinecraft
Definition LootItem.h:17
Definition LootPoolEntry.h:19
Definition ScriptLootItemCondition.h:12
Definition ScriptLootItemFunction.h:18
MCAPI::LootPoolEntry const & $_getEntry() const
static MCAPI ::Scripting::ClassBinding bind()
MCAPI ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptLootItemFunction > > getFunctions()
Definition ScriptLootPoolEntry.h:16
Definition ClassBinding.h:10