mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
add 'connect' command & feat: disconnect-action
This commit is contained in:
parent
a33e3068c8
commit
1a7bcf9865
2 changed files with 19 additions and 1 deletions
|
|
@ -83,11 +83,15 @@ namespace devtools {
|
|||
|
||||
void setClient(u64id_t client);
|
||||
std::vector<DebuggingEvent> pullEvents();
|
||||
|
||||
void setDisconnectAction(const std::string& action);
|
||||
private:
|
||||
Engine& engine;
|
||||
network::Server& server;
|
||||
std::unique_ptr<ClientConnection> connection;
|
||||
bool connectionEstablished = false;
|
||||
std::vector<DebuggingEvent> breakpointEvents;
|
||||
std::string disconnectAction = "resume";
|
||||
|
||||
bool performCommand(
|
||||
const std::string& type, const dv::value& map
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue