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
72
73public:
74 // member functions
75 // NOLINTBEGIN
77
78 MCAPI void addAdditionalSaveData(::CompoundTag& tag) const;
79
80 MCAPI void addUnlockingInstruction(::UnlockedRecipesServerComponent::UnlockingInstruction instruction);
81
82 MCAPI ::UnlockedRecipesServerComponent& operator=(::UnlockedRecipesServerComponent&&);
83
84 MCAPI void readAdditionalSaveData(::Actor&, ::CompoundTag const& tag, ::DataLoadHelper&);
85 // NOLINTEND
86
87public:
88 // static variables
89 // NOLINTBEGIN
90 MCAPI static ::std::string const& COMPONENT_TAG();
91
92 MCAPI static ::std::string const& UNLOCKED_RECIPES_TAG();
93
94 MCAPI static ::std::string const& USED_CONTEXTS_TAG();
95 // NOLINTEND
96
97public:
98 // constructor thunks
99 // NOLINTBEGIN
100 MCAPI void* $ctor(::UnlockedRecipesServerComponent const&);
101 // NOLINTEND
102};
Definition Actor.h:102
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition UnlockedRecipesServerComponent.h:12
Definition UnlockedRecipesServerComponent.h:20
Definition Alias.h:14