feat: updated engine
This commit is contained in:
parent
cbe99774ff
commit
f4cf6b3999
6607 changed files with 910135 additions and 430025 deletions
|
|
@ -30,24 +30,23 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "gdscript_language_protocol.h"
|
||||
|
||||
#include "editor/plugins/editor_plugin.h"
|
||||
|
||||
class GDScriptLanguageServer : public EditorPlugin {
|
||||
GDCLASS(GDScriptLanguageServer, EditorPlugin);
|
||||
|
||||
GDScriptLanguageProtocol protocol;
|
||||
GDSOFTCLASS(GDScriptLanguageServer, EditorPlugin);
|
||||
|
||||
Thread thread;
|
||||
bool thread_running = false;
|
||||
// There is no notification when the editor is initialized. We need to poll till we attempted to start the server.
|
||||
bool start_attempted = false;
|
||||
bool started = false;
|
||||
|
||||
// Defaults located in editor_settings.cpp
|
||||
bool use_thread = false;
|
||||
String host = "127.0.0.1";
|
||||
int port = 6005;
|
||||
int poll_limit_usec = 100000;
|
||||
String host;
|
||||
int port = 0;
|
||||
int poll_limit_usec = 0;
|
||||
|
||||
static void thread_main(void *p_userdata);
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue