LeviLamina
Loading...
Searching...
No Matches
UnlockedRecipesClientComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Recipe;
8class Recipes;
9// clang-format on
10
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<4, 4, int> mUnlockedCategories;
16 ::ll::TypedStorage<4, 4, int> mNewlyUnlockedCategories;
17 ::ll::TypedStorage<8, 64, ::std::unordered_set<int>> mUnlockedItems;
18 ::ll::TypedStorage<8, 64, ::std::unordered_set<::std::string>> mUnlockedRecipes;
19 ::ll::TypedStorage<8, 64, ::std::unordered_set<::std::string>> mNewlyUnlockedRecipes;
20 // NOLINTEND
21
22public:
23 // member functions
24 // NOLINTBEGIN
25#ifdef LL_PLAT_C
27
28 MCAPI void addUnlockedRecipes(
29 ::Recipes const& recipes,
30 ::std::vector<::std::string> const& unlockedRecipeIds,
31 bool newlyUnlocked
32 );
33#endif
34
35 MCAPI bool isRecipeUnlocked(::Recipe const& recipe) const;
36
37 MCAPI bool isRecipeUnlocked(::std::string const& recipeId) const;
38
39#ifdef LL_PLAT_C
40 MCAPI void removeAllRecipes();
41
42 MCAPI void removeRecipes(::Recipes const& recipes, ::std::vector<::std::string> const& unlockedRecipeIds);
43#endif
44 // NOLINTEND
45
46public:
47 // constructor thunks
48 // NOLINTBEGIN
49#ifdef LL_PLAT_C
50 MCAPI void* $ctor();
51#endif
52 // NOLINTEND
53};
Definition Recipe.h:32
Definition Recipes.h:37
Definition UnlockedRecipesClientComponent.h:11