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/world/level/poi/TypeId.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
CommandOrigin
;
12
class
CommandOutput
;
13
namespace
Poi {
class
TagProvider
; }
14
namespace
Poi {
struct
Registry
; }
15
// clang-format on
16
17
struct
LocatePoiCommand
:
public
::Command
{
18
public
:
19
// LocatePoiCommand inner types declare
20
// clang-format off
21
struct
ResourceOrTagArg
;
22
// clang-format on
23
24
// LocatePoiCommand inner types define
25
enum class
CmdName : uchar {
26
Poi = 0,
27
};
28
29
enum class
PoiTagType : uint64 {};
30
31
struct
ResourceOrTagArg
{
32
public
:
33
// member variables
34
// NOLINTBEGIN
35
::ll::TypedStorage<2, 2, ::Poi::TypeId> mType;
36
::ll::TypedStorage<8, 8, uint64> mTag;
37
::ll::TypedStorage<8, 8, ::Poi::TagProvider*> mTags;
38
::ll::TypedStorage<8, 8, ::Poi::Registry*> mRegistry;
39
// NOLINTEND
40
};
41
42
using
PoiType = ::Poi::TypeId;
43
44
public
:
45
// member variables
46
// NOLINTBEGIN
47
::ll::TypedStorage<1, 1, ::LocatePoiCommand::CmdName> mCmd;
48
::ll::TypedStorage<2, 2, ::Poi::TypeId> mPoiType;
49
::ll::TypedStorage<8, 8, ::LocatePoiCommand::PoiTagType> mPoiTagType;
50
// NOLINTEND
51
52
public
:
53
// virtual functions
54
// NOLINTBEGIN
55
virtual
void
execute(
::CommandOrigin
const
&,
::CommandOutput
&)
const
/*override*/
;
56
57
virtual
~LocatePoiCommand
()
/*override*/
=
default
;
58
// NOLINTEND
59
60
public
:
61
// virtual function thunks
62
// NOLINTBEGIN
63
64
// NOLINTEND
65
};
CommandOrigin
Definition
CommandOrigin.h:32
CommandOutput
Definition
CommandOutput.h:20
Command
Definition
Command.h:17
Poi::TagProvider
Definition
TagProvider.h:15
LocatePoiCommand::ResourceOrTagArg
Definition
LocatePoiCommand.h:31
LocatePoiCommand
Definition
LocatePoiCommand.h:17
Poi::Registry
Definition
Registry.h:7
src
mc
server
commands
standard
LocatePoiCommand.h
Generated on
for LeviLamina by
1.16.1