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
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class Player;
12// clang-format on
13
14namespace AgentCommands {
15
16class Command {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::Actor&> mTarget;
21 ::ll::TypedStorage<8, 8, ::Player&> mCommander;
22 ::ll::TypedStorage<4, 4, ::AgentActionType> mActionType;
23 ::ll::TypedStorage<1, 1, bool> mResult;
24 ::ll::TypedStorage<1, 1, bool> mIsQueryResult;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 Command& operator=(Command const&);
30 Command(Command const&);
31 Command();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ~Command() = default;
37
38 virtual void execute();
39
40 virtual bool isDone() = 0;
41
42 virtual void tick();
43
44 virtual void fireCommandDoneEvent();
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCAPI void $execute();
51
52 MCFOLD void $tick();
53
54 MCAPI void $fireCommandDoneEvent();
55
56
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
65
66} // namespace AgentCommands
Definition Actor.h:125
static MCAPI void ** $vftable()
Definition Player.h:137