Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
LocatePoiCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/Command.h"
7#include "mc/server/commands/PoiTagCommandParam.h"
8#include "mc/server/commands/PoiTypeCommandParam.h"
9#include "mc/world/level/poi/TagId.h"
10#include "mc/world/level/poi/TypeId.h"
11
12// auto generated forward declare list
13// clang-format off
14class CommandOrigin;
15class CommandOutput;
16namespace Poi { class TagProvider; }
17namespace Poi { struct Registry; }
18// clang-format on
19
20struct LocatePoiCommand : public ::Command {
21public:
22 // LocatePoiCommand inner types declare
23 // clang-format off
24 struct ResourceOrTagArg;
25 // clang-format on
26
27 // LocatePoiCommand inner types define
28 enum class CmdName : uchar {
29 Poi = 0,
30 };
31
33 public:
34 // member variables
35 // NOLINTBEGIN
36 ::ll::TypedStorage<2, 2, ::Poi::TypeId> mType;
37 ::ll::TypedStorage<2, 2, ::Poi::TagId> mTag;
38 ::ll::TypedStorage<1, 1, bool> mTypeSet;
39 ::ll::TypedStorage<8, 8, ::Poi::TagProvider*> mTags;
40 ::ll::TypedStorage<8, 8, ::Poi::Registry*> mRegistry;
41 // NOLINTEND
42 };
43
44public:
45 // member variables
46 // NOLINTBEGIN
47 ::ll::TypedStorage<1, 1, ::LocatePoiCommand::CmdName> mCmd;
48 ::ll::TypedStorage<2, 2, ::PoiTypeCommandParam> mPoiType;
49 ::ll::TypedStorage<1, 1, bool> mTypeSet;
50 ::ll::TypedStorage<2, 2, ::PoiTagCommandParam> mPoiTagType;
51 // NOLINTEND
52
53public:
54 // virtual functions
55 // NOLINTBEGIN
56 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCNAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
63
64
65 // NOLINTEND
66};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition Command.h:17
Definition TagProvider.h:7
Definition LocatePoiCommand.h:32
Definition LocatePoiCommand.h:20
MCAPI void $execute(::CommandOrigin const &origin, ::CommandOutput &output) const
Definition Registry.h:16