LeviLamina
Loading...
Searching...
No Matches
UnlockedRecipesServerComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Actor;
8class CompoundTag;
10// clang-format on
11
13public:
14 // UnlockedRecipesServerComponent inner types declare
15 // clang-format off
17 // clang-format on
18
19 // UnlockedRecipesServerComponent inner types define
21 public:
22 // UnlockingInstruction inner types define
23 enum class Instruction : int {
24 UnlockRecipe = 0,
25 UnlockAllRecipes = 1,
26 RemoveRecipe = 2,
27 RemoveAllRecipes = 3,
28 };
29
30 public:
31 // member variables
32 // NOLINTBEGIN
35 // NOLINTEND
36
37 public:
38 // prevent constructor by default
42
43 public:
44 // member functions
45 // NOLINTBEGIN
47 // NOLINTEND
48
49 public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCFOLD void $dtor();
53 // NOLINTEND
54 };
55
56public:
57 // member variables
58 // NOLINTBEGIN
59 ::ll::TypedStorage<1, 1, bool> mInventoryHasChanged;
60 ::ll::TypedStorage<1, 1, bool> mInitialDataSent;
61 ::ll::TypedStorage<4, 4, uint> mUsedContexts;
62 ::ll::TypedStorage<8, 64, ::std::unordered_set<::std::string>> mUnlockedRecipes;
63 ::ll::TypedStorage<8, 64, ::std::unordered_set<int>> mChangedInventorySlots;
64 ::ll::TypedStorage<8, 24, ::std::vector<::UnlockedRecipesServerComponent::UnlockingInstruction>>
65 mUnlockingInstructions;
66 // NOLINTEND
67
68public:
69 // prevent constructor by default
71
72public:
73 // member functions
74 // NOLINTBEGIN
76
77 MCAPI void addAdditionalSaveData(::CompoundTag& tag) const;
78
79 MCAPI void addUnlockingInstruction(::UnlockedRecipesServerComponent::UnlockingInstruction instruction);
80
81 MCAPI ::UnlockedRecipesServerComponent& operator=(::UnlockedRecipesServerComponent&&);
82
83 MCAPI void readAdditionalSaveData(::Actor& tag, ::CompoundTag const&, ::DataLoadHelper&);
84 // NOLINTEND
85
86public:
87 // static variables
88 // NOLINTBEGIN
89 MCAPI static ::std::string const& COMPONENT_TAG();
90
91 MCAPI static ::std::string const& UNLOCKED_RECIPES_TAG();
92
93 MCAPI static ::std::string const& USED_CONTEXTS_TAG();
94 // NOLINTEND
95
96public:
97 // constructor thunks
98 // NOLINTBEGIN
99 MCAPI void* $ctor(::UnlockedRecipesServerComponent const&);
100 // NOLINTEND
101};
Definition Actor.h:104
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition UnlockedRecipesServerComponent.h:12
Definition UnlockedRecipesServerComponent.h:20
Definition Alias.h:14