LeviLamina
Loading...
Searching...
No Matches
RecipeUnlockingSystem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/ViewT.h"
7#include "mc/deps/ecs/strict/Include.h"
8#include "mc/world/item/crafting/RecipeUnlockingRequirement.h"
9
10// auto generated forward declare list
11// clang-format off
13class Recipes;
14class ServerPlayer;
19// clang-format on
20
22public:
23 // RecipeUnlockingSystem inner types declare
24 // clang-format off
26 // clang-format on
27
28 // RecipeUnlockingSystem inner types define
30 public:
31 // member variables
32 // NOLINTBEGIN
35 // NOLINTEND
36
37 public:
38 // prevent constructor by default
42 };
43
44public:
45 // static functions
46 // NOLINTBEGIN
47 MCAPI static void
48 _handleCriterionUnlocks(::ServerPlayer* serverPlayer, ::UnlockedRecipesServerComponent& unlockedComp);
49
50 MCAPI static void
51 _handleInitialUnlocks(::ServerPlayer* serverPlayer, ::UnlockedRecipesServerComponent& unlockedComp);
52
53 MCAPI static void
54 _handleInstructionUnlocks(::ServerPlayer* serverPlayer, ::UnlockedRecipesServerComponent& unlockedComp);
55
56 MCAPI static void _tick(::ViewT<
61
62 MCAPI static ::std::vector<::std::string> _unlockRecipes(
64 ::Recipes const& recipes,
65 bool playerIsInWater,
66 ::std::optional<::RecipeUnlockingSystem::InventoryChangedData> const& inventoryChanged
67 );
68
69 MCAPI static void _useContext(
71 ::Recipes const& recipes,
72 ::RecipeUnlockingRequirement::UnlockingContext context,
73 ::std::vector<::std::string>& unlockedRecipeIds
74 );
75
76 MCAPI static ::TickingSystemWithInfo createSystem();
77 // NOLINTEND
78};
Definition ActorOwnerComponent.h:10
Definition RecipeUnlockingSystem.h:21
Definition Recipes.h:36
Definition ServerPlayer.h:64
Definition StrictEntityContext.h:10
Definition UnlockedRecipesServerComponent.h:12
Definition ViewT.h:6
Definition Include.h:6
Definition RecipeUnlockingSystem.h:29
Definition ServerPlayerComponent.h:5
Definition TickingSystemWithInfo.h:11
Definition context.h:5
Definition Alias.h:14