LeviLamina
Loading...
Searching...
No Matches
Command.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/network/packet/AgentActionType.h"
7#include "mc/world/actor/agent/agent_components/Direction.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Player;
13class Vec3;
14// clang-format on
15
16namespace AgentCommands {
17
18class Command {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 8, ::Actor&> mTarget;
23 ::ll::TypedStorage<8, 8, ::Player&> mCommander;
24 ::ll::TypedStorage<4, 4, ::AgentActionType> mActionType;
25 ::ll::TypedStorage<1, 1, bool> mResult;
26 ::ll::TypedStorage<1, 1, bool> mIsQueryResult;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 Command& operator=(Command const&);
32 Command(Command const&);
33 Command();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~Command();
39
40 virtual void execute();
41
42 virtual bool isDone() = 0;
43
44 virtual void tick();
45
46 virtual void fireCommandDoneEvent();
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI ::Vec3 _getNextPosFromDirection(::AgentComponents::Direction dir);
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCAPI void $dtor();
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCAPI void $execute();
65
66 MCFOLD void $tick();
67
68 MCAPI void $fireCommandDoneEvent();
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
79
80} // namespace AgentCommands
Definition Actor.h:105
static MCAPI void ** $vftable()
Definition Player.h:125
Definition Vec3.h:10