LeviLamina
Loading...
Searching...
No Matches
ActorFilterGroup.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/filters/FilterGroup.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class FilterInput;
13namespace Json { class Value; }
14// clang-format on
15
17public:
18 // ActorFilterGroup inner types declare
19 // clang-format off
20 struct LegacyMapping;
21 // clang-format on
22
23 // ActorFilterGroup inner types define
24 enum class Processing : int {
25 Default = 0,
26 ReadValue = 1,
27 ReadString = 2,
28 Environment = 3,
29 Item = 4,
30 Armor = 5,
31 Equipment = 6,
32 };
33
35 public:
36 // member variables
37 // NOLINTBEGIN
43 // NOLINTEND
44
45 public:
46 // prevent constructor by default
47 LegacyMapping& operator=(LegacyMapping const&);
50 };
51
52public:
53 // virtual functions
54 // NOLINTBEGIN
55 // vIndex: 1
56 virtual bool parse(::Json::Value const& jsonVal) /*override*/;
57
58 // vIndex: 2
59 virtual ::std::shared_ptr<::FilterGroup> _createSubgroup(::FilterGroup::CollectionType type) const /*override*/;
60
61 // vIndex: 0
62 virtual ~ActorFilterGroup() /*override*/;
63 // NOLINTEND
64
65public:
66 // member functions
67 // NOLINTBEGIN
68 MCAPI bool _addLegacyFilter(
69 ::std::string const& name,
71 ::FilterInput const& filterInput
72 );
73
74 MCAPI bool _handleUnknownMember(::std::string const& name, ::Json::Value const& jsonVal);
75
76 MCAPI bool
77 _parseMemberCollectionJSONCpp(::FilterGroup::CollectionType collectionType, ::Json::Value const& jsonVal);
78
79 MCAPI bool _parseMemberJSONCpp(::std::string const& name, ::Json::Value const& jsonVal);
80
81 MCAPI bool _parseObjectJSONCpp(::std::string const& name, ::Json::Value const& jsonVal);
82
83 MCAPI bool _processLegacyArray(
84 ::std::string const& name,
85 ::Json::Value const& jsonVal,
87 );
88
89 MCAPI bool _processLegacyMember(
90 ::std::string const& name,
91 ::Json::Value const& jsonVal,
93 );
94
95 MCAPI bool evaluateActor(::Actor const& e, ::VariantParameterListConst const& params) const;
96 // NOLINTEND
97
98public:
99 // static functions
100 // NOLINTBEGIN
101 MCAPI static void initialize();
102 // NOLINTEND
103
104public:
105 // destructor thunk
106 // NOLINTBEGIN
107 MCFOLD void $dtor();
108 // NOLINTEND
109
110public:
111 // virtual function thunks
112 // NOLINTBEGIN
113 MCAPI bool $parse(::Json::Value const& jsonVal);
114
115 MCAPI ::std::shared_ptr<::FilterGroup> $_createSubgroup(::FilterGroup::CollectionType type) const;
116 // NOLINTEND
117
118public:
119 // vftables
120 // NOLINTBEGIN
121 MCAPI static void** $vftable();
122 // NOLINTEND
123};
Definition ActorFilterGroup.h:16
Definition Actor.h:104
Definition FilterGroup.h:20
Definition FilterInput.h:5
Definition Item.h:65
Definition Value.h:16
Definition ActorFilterGroup.h:34
Definition VariantParameterListConst.h:5
Definition Alias.h:14