Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptActorFilter.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/GameType.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11namespace ScriptModuleMinecraft { struct ScriptPropertyTargetSelectorOption; }
12namespace ScriptModuleMinecraft { struct ScriptScoreTargetSelectorOption; }
13namespace Scripting { struct InterfaceBinding; }
14// clang-format on
15
16namespace ScriptModuleMinecraft {
17
18class ScriptActorFilter {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 8, ::std::optional<int>> mMinLevel;
23 ::ll::TypedStorage<4, 8, ::std::optional<int>> mMaxLevel;
24 ::ll::TypedStorage<4, 8, ::std::optional<float>> mMinVerticalRotation;
25 ::ll::TypedStorage<4, 8, ::std::optional<float>> mMaxVerticalRotation;
26 ::ll::TypedStorage<4, 8, ::std::optional<float>> mMinHorizontalRotation;
27 ::ll::TypedStorage<4, 8, ::std::optional<float>> mMaxHorizontalRotation;
28 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mType;
29 ::ll::TypedStorage<8, 32, ::std::optional<::std::vector<::std::string>>> mFamilies;
30 ::ll::TypedStorage<8, 32, ::std::optional<::std::vector<::std::string>>> mTags;
31 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mName;
32 ::ll::TypedStorage<4, 8, ::std::optional<::GameType>> mGameMode;
33 ::ll::TypedStorage<8, 32, ::std::optional<::std::vector<::std::string>>> mExcludeTypes;
34 ::ll::TypedStorage<8, 32, ::std::optional<::std::vector<::std::string>>> mExcludeFamilies;
35 ::ll::TypedStorage<8, 32, ::std::optional<::std::vector<::std::string>>> mExcludeTags;
36 ::ll::TypedStorage<8, 32, ::std::optional<::std::vector<::std::string>>> mExcludeNames;
37 ::ll::TypedStorage<8, 32, ::std::optional<::std::vector<::GameType>>> mExcludeGameModes;
38 ::ll::TypedStorage<8, 32, ::std::optional<::std::vector<::ScriptModuleMinecraft::ScriptScoreTargetSelectorOption>>>
39 mScoreOptions;
40 ::ll::
41 TypedStorage<8, 32, ::std::optional<::std::vector<::ScriptModuleMinecraft::ScriptPropertyTargetSelectorOption>>>
42 mPropertyOptions;
43 // NOLINTEND
44
45public:
46 // prevent constructor by default
47 ScriptActorFilter();
48
49public:
50 // member functions
51 // NOLINTBEGIN
53
55
56 MCNAPI bool operator()(::Actor const& actor) const;
57
58 MCNAPI ::ScriptModuleMinecraft::ScriptActorFilter& operator=(::ScriptModuleMinecraft::ScriptActorFilter&&);
59
60 MCNAPI ::ScriptModuleMinecraft::ScriptActorFilter& operator=(::ScriptModuleMinecraft::ScriptActorFilter const&);
61
63 // NOLINTEND
64
65public:
66 // static functions
67 // NOLINTBEGIN
68 MCNAPI static ::Scripting::InterfaceBinding bind();
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
75
77 // NOLINTEND
78
79public:
80 // destructor thunk
81 // NOLINTBEGIN
82 MCNAPI void $dtor();
83 // NOLINTEND
84};
85
86} // namespace ScriptModuleMinecraft
Definition Actor.h:116
Definition ScriptActorFilter.h:18
MCAPI ScriptActorFilter(::ScriptModuleMinecraft::ScriptActorFilter &&)
MCAPI::ScriptModuleMinecraft::ScriptActorFilter & operator=(::ScriptModuleMinecraft::ScriptActorFilter const &)
MCAPI::ScriptModuleMinecraft::ScriptActorFilter & operator=(::ScriptModuleMinecraft::ScriptActorFilter &&)
MCAPI void * $ctor(::ScriptModuleMinecraft::ScriptActorFilter &&)
static MCAPI ::Scripting::InterfaceBinding bind()
MCAPI bool operator()(::Actor const &actor) const
MCAPI ScriptActorFilter(::ScriptModuleMinecraft::ScriptActorFilter const &)
MCAPI void * $ctor(::ScriptModuleMinecraft::ScriptActorFilter const &)
Definition ScriptPropertyTargetSelectorOption.h:21
Definition ScriptScoreTargetSelectorOption.h:13
Definition InterfaceBinding.h:10