LeviLamina
Loading...
Searching...
No Matches
RecipeUnlockingRequirement.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8// clang-format on
9
10class RecipeUnlockingRequirement {
11public:
12 // RecipeUnlockingRequirement inner types define
13 enum class UnlockingContext : int {
14 None = 0,
15 AlwaysUnlocked = 1,
16 PlayerInWater = 2,
17 PlayerHasManyItems = 3,
18 };
19
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 4, ::RecipeUnlockingRequirement::UnlockingContext> mContext;
24 ::ll::TypedStorage<8, 24, ::std::vector<::RecipeIngredient>> mIngredients;
25 // NOLINTEND
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCAPI RecipeUnlockingRequirement();
31
32 MCAPI bool canBeUnlockedByContext(::RecipeUnlockingRequirement::UnlockingContext context) const;
33
34 MCAPI bool canBeUnlockedByIngredient(::RecipeIngredient const& ingredient) const;
35
36 MCFOLD ::RecipeUnlockingRequirement::UnlockingContext getUnlockingContext() const;
37
38 MCAPI bool isUnlockable() const;
39
40 MCAPI ~RecipeUnlockingRequirement();
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCAPI static ::RecipeUnlockingRequirement::UnlockingContext
47 unlockingContextFromString(::std::string const& context);
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCAPI void* $ctor();
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCAPI void $dtor();
60 // NOLINTEND
61};
Definition RecipeIngredient.h:16
Definition context.h:5