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 MCNAPI bool _addLegacyFilter(
69 ::std::string const& name,
71 ::FilterInput const& filterInput
72 );
73
74 MCNAPI bool _handleUnknownMember(::std::string const& name, ::Json::Value const& jsonVal);
75
76 MCNAPI bool
77 _parseMemberCollectionJSONCpp(::FilterGroup::CollectionType collectionType, ::Json::Value const& jsonVal);
78
79 MCNAPI bool _parseMemberJSONCpp(::std::string const& name, ::Json::Value const& jsonVal);
80
81 MCNAPI bool _parseObjectJSONCpp(::std::string const& name, ::Json::Value const& jsonVal);
82
84 ::std::string const& name,
85 ::Json::Value const& jsonVal,
87 );
88
90 ::std::string const& name,
91 ::Json::Value const& jsonVal,
93 );
94
95 MCNAPI bool evaluateActor(::Actor const& e, ::VariantParameterListConst const& params) const;
96 // NOLINTEND
97
98public:
99 // static functions
100 // NOLINTBEGIN
101 MCNAPI static void initialize();
102 // NOLINTEND
103
104public:
105 // destructor thunk
106 // NOLINTBEGIN
107 MCNAPI void $dtor();
108 // NOLINTEND
109
110public:
111 // virtual function thunks
112 // NOLINTBEGIN
113 MCNAPI bool $parse(::Json::Value const& jsonVal);
114
115 MCNAPI ::std::shared_ptr<::FilterGroup> $_createSubgroup(::FilterGroup::CollectionType type) const;
116 // NOLINTEND
117
118public:
119 // vftables
120 // NOLINTBEGIN
121 MCNAPI static void** $vftable();
122 // NOLINTEND
123};
Definition ActorFilterGroup.h:16
MCAPI bool _parseMemberCollectionJSONCpp(::FilterGroup::CollectionType collectionType, ::Json::Value const &jsonVal)
static MCAPI void initialize()
MCAPI bool _parseMemberJSONCpp(::std::string const &name, ::Json::Value const &jsonVal)
static MCAPI void ** $vftable()
MCAPI void $dtor()
MCAPI bool evaluateActor(::Actor const &e, ::VariantParameterListConst const &params) const
MCAPI bool _parseObjectJSONCpp(::std::string const &name, ::Json::Value const &jsonVal)
MCAPI bool _handleUnknownMember(::std::string const &name, ::Json::Value const &jsonVal)
MCAPI bool _processLegacyArray(::std::string const &name, ::Json::Value const &jsonVal, ::ActorFilterGroup::LegacyMapping const &legacy)
MCAPI bool $parse(::Json::Value const &jsonVal)
MCAPI bool _processLegacyMember(::std::string const &name, ::Json::Value const &jsonVal, ::ActorFilterGroup::LegacyMapping const &legacy)
MCAPI ::std::shared_ptr<::FilterGroup > $_createSubgroup(::FilterGroup::CollectionType type) const
MCAPI bool _addLegacyFilter(::std::string const &name, ::ActorFilterGroup::LegacyMapping const &legacy, ::FilterInput const &filterInput)
Definition Actor.h:103
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