Add GDSOFTCLASS to deeper inheritors of Object

This commit is contained in:
Edward Moulsdale
2025-09-24 19:15:46 +01:00
parent 1ce3101fbc
commit e366471fdc
51 changed files with 154 additions and 18 deletions

View File

@@ -37,6 +37,8 @@
#include "editor/file_system/editor_paths.h"
class EditorHTTPServer : public RefCounted {
GDSOFTCLASS(EditorHTTPServer, RefCounted);
private:
Ref<TCPServer> server;
HashMap<String, String> mimes;

View File

@@ -56,6 +56,8 @@ extern int godot_js_fetch_is_chunked(int p_id);
#endif
class HTTPClientWeb : public HTTPClient {
GDSOFTCLASS(HTTPClientWeb, HTTPClient);
private:
int js_id = 0;
Status status = STATUS_DISCONNECTED;

View File

@@ -35,6 +35,8 @@
#include <sys/socket.h>
class NetSocketWeb : public NetSocket {
GDSOFTCLASS(NetSocketWeb, NetSocket);
protected:
static NetSocket *_create_func();