LeviLamina
Loading...
Searching...
No Matches
ScriptContainerRules.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
10namespace Scripting { struct InterfaceBinding; }
11// clang-format on
12
13namespace ScriptModuleMinecraft {
14
15class ScriptContainerRules {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<1, 1, bool> mAllowNestedStorageItems;
20 ::ll::TypedStorage<8, 24, ::std::vector<::ItemDescriptor>> mBannedItemsDescriptor;
21 ::ll::TypedStorage<8, 24, ::std::vector<::ItemDescriptor>> mAllowedItemsDescriptor;
22 ::ll::TypedStorage<4, 8, ::std::optional<int>> mWeightLimit;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 ScriptContainerRules& operator=(ScriptContainerRules const&);
28 ScriptContainerRules(ScriptContainerRules const&);
29 ScriptContainerRules();
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI ScriptContainerRules(
35 ::StorageItemComponent const& storageItemComponent,
36 ::StorageWeightLimitItemComponent const* storageWeightLimitItemComponent
37 );
38
39 MCAPI void _setAllowedItems(::std::vector<::std::string> const& allowedItems);
40
41 MCAPI void _setBannedItems(::std::vector<::std::string> const& bannedItems);
42
43 MCAPI ::ScriptModuleMinecraft::ScriptContainerRules& operator=(::ScriptModuleMinecraft::ScriptContainerRules&&);
44
45 MCAPI ~ScriptContainerRules();
46 // NOLINTEND
47
48public:
49 // static functions
50 // NOLINTBEGIN
51 MCAPI static ::Scripting::InterfaceBinding bind();
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor(
58 ::StorageItemComponent const& storageItemComponent,
59 ::StorageWeightLimitItemComponent const* storageWeightLimitItemComponent
60 );
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCAPI void $dtor();
67 // NOLINTEND
68};
69
70} // namespace ScriptModuleMinecraft
Definition ItemDescriptor.h:25
Definition ScriptContainerRules.h:15
Definition StorageItemComponent.h:31
Definition StorageWeightLimitItemComponent.h:17
Definition InterfaceBinding.h:16