LeviLamina
Loading...
Searching...
No Matches
AutomationClient.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/codebuilder/IClient.h"
7#include "mc/deps/application/UriListener.h"
8#include "mc/world/level/LevelListener.h"
9
10// auto generated forward declare list
11// clang-format off
12class ActivationUri;
13namespace Automation { class AutomationSession; }
14namespace CodeBuilder { class GameContext; }
15namespace CodeBuilder { struct AgentMessage; }
16namespace CodeBuilder { struct ChatMessage; }
17namespace CodeBuilder { struct CommandMessage; }
18namespace CodeBuilder { struct CommandRequest; }
19namespace CodeBuilder { struct ErrorMessage; }
20namespace CodeBuilder { struct EventMessage; }
21// clang-format on
22
23namespace Automation {
24
26public:
27 // member variables
28 // NOLINTBEGIN
42 // NOLINTEND
43
44public:
45 // prevent constructor by default
46 AutomationClient& operator=(AutomationClient const&);
49
50public:
51 // virtual functions
52 // NOLINTBEGIN
53 // vIndex: 0
54 virtual ~AutomationClient() /*override*/;
55
56 // vIndex: 1
57 virtual void onUri(::ActivationUri const& uri) /*override*/;
58
59 // vIndex: 5
60 virtual void send(::CodeBuilder::AgentMessage const& message) /*override*/;
61
62 // vIndex: 4
63 virtual void send(::CodeBuilder::CommandMessage const& message) /*override*/;
64
65 // vIndex: 3
66 virtual void send(::CodeBuilder::ErrorMessage const& message) /*override*/;
67
68 // vIndex: 2
69 virtual void send(::CodeBuilder::EventMessage const& message) /*override*/;
70
71 // vIndex: 1
72 virtual void send(::CodeBuilder::ChatMessage const& message) /*override*/;
73
74 // vIndex: 2
75 virtual void tick() /*override*/;
76
77 // vIndex: 3
78 virtual void executeStartupUris() /*override*/;
79
80 // vIndex: 24
81 virtual void onLevelDestruction(::std::string const&) /*override*/;
82
83 // vIndex: 28
84 virtual void playerListChanged() /*override*/;
85 // NOLINTEND
86
87public:
88 // member functions
89 // NOLINTBEGIN
90 MCNAPI void _forEachSession(::std::function<bool(::Automation::AutomationSession&)> const& callback);
91
93
94 MCNAPI bool _tryAddCommand(::CodeBuilder::CommandRequest&& commandRequest);
95
96 MCNAPI ::std::shared_ptr<::Automation::AutomationSession> getDefaultSession();
97
98 MCNAPI ::std::shared_ptr<::CodeBuilder::GameContext> getGameContext() const;
99 // NOLINTEND
100
101public:
102 // destructor thunk
103 // NOLINTBEGIN
104 MCNAPI void $dtor();
105 // NOLINTEND
106
107public:
108 // virtual function thunks
109 // NOLINTBEGIN
110 MCNAPI void $onUri(::ActivationUri const& uri);
111
112 MCNAPI void $send(::CodeBuilder::AgentMessage const& message);
113
114 MCNAPI void $send(::CodeBuilder::CommandMessage const& message);
115
116 MCNAPI void $send(::CodeBuilder::ErrorMessage const& message);
117
118 MCNAPI void $send(::CodeBuilder::EventMessage const& message);
119
120 MCNAPI void $send(::CodeBuilder::ChatMessage const& message);
121
122 MCNAPI void $tick();
123
124 MCNAPI void $executeStartupUris();
125
126 MCNAPI void $onLevelDestruction(::std::string const&);
127
128 MCNAPI void $playerListChanged();
129 // NOLINTEND
130
131public:
132 // vftables
133 // NOLINTBEGIN
134 MCNAPI static void** $vftableForUriListener();
135
136 MCNAPI static void** $vftableForIClient();
137
138 MCNAPI static void** $vftableForLevelListener();
139 // NOLINTEND
140};
141
142} // namespace Automation
Definition ActivationUri.h:5
Definition AutomationClient.h:25
MCAPI void $send(::CodeBuilder::AgentMessage const &message)
MCAPI void $onLevelDestruction(::std::string const &)
static MCAPI void ** $vftableForIClient()
MCAPI void $send(::CodeBuilder::ChatMessage const &message)
MCAPI void $send(::CodeBuilder::ErrorMessage const &message)
MCAPI ::std::shared_ptr<::CodeBuilder::GameContext > getGameContext() const
MCAPI void $onUri(::ActivationUri const &uri)
MCAPI void $send(::CodeBuilder::CommandMessage const &message)
MCAPI void $send(::CodeBuilder::EventMessage const &message)
static MCAPI void ** $vftableForUriListener()
MCAPI ::std::shared_ptr<::Automation::AutomationSession > getDefaultSession()
MCAPI void _removeSession(::Automation::AutomationSession const &session)
MCAPI bool _tryAddCommand(::CodeBuilder::CommandRequest &&commandRequest)
static MCAPI void ** $vftableForLevelListener()
MCAPI void _forEachSession(::std::function< bool(::Automation::AutomationSession &)> const &callback)
Definition AutomationSession.h:29
Definition IClient.h:19
Definition CommandMessage.h:16
Definition LevelListener.h:28
Definition UriListener.h:10
Definition AgentMessage.h:7
Definition ChatMessage.h:7
Definition CommandMessage.h:7
Definition CommandRequest.h:7
Definition ErrorMessage.h:12
Definition EventMessage.h:7
Definition Alias.h:14