LeviLamina
Loading...
Searching...
No Matches
AutomationBehaviorTreeGroup.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/bhave/BehaviorTreeDefinitionPtr.h"
7
8// auto generated forward declare list
9// clang-format off
10class BehaviorFactory;
13// clang-format on
14
15class AutomationBehaviorTreeGroup {
16public:
17 // AutomationBehaviorTreeGroup inner types define
18 using BehaviorDefinitionMap = ::std::unordered_map<::std::string, ::std::unique_ptr<::BehaviorTreeDefinition>>;
19
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 8, ::ResourcePackManager&> mResourcePackManager;
24 ::ll::TypedStorage<8, 8, ::BehaviorFactory&> mFactory;
25 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::BehaviorTreeDefinition>>>
26 mDefinitions;
27 ::ll::TypedStorage<8, 64, ::std::unordered_set<::BehaviorTreeDefinitionPtr*>> mRegisteredPtrs;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 AutomationBehaviorTreeGroup& operator=(AutomationBehaviorTreeGroup const&);
33 AutomationBehaviorTreeGroup(AutomationBehaviorTreeGroup const&);
34 AutomationBehaviorTreeGroup();
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI ::BehaviorTreeDefinitionPtr tryGetDefinition(::std::string const& defId);
40
41 MCAPI ~AutomationBehaviorTreeGroup();
42 // NOLINTEND
43
44public:
45 // destructor thunk
46 // NOLINTBEGIN
47 MCAPI void $dtor();
48 // NOLINTEND
49};
Definition BehaviorFactory.h:13
Definition BehaviorTreeDefinition.h:10
Definition ResourcePackManager.h:29