mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-23 01:19:20 +01:00
Actually bind get_server(), and get_web_root() in WebServerRequest.
This commit is contained in:
parent
1f62ad89ff
commit
ed9aa722a3
@ -445,8 +445,9 @@ void WebServerRequest::update() {
|
||||
WebServer *WebServerRequest::get_server() {
|
||||
return server;
|
||||
}
|
||||
Node *WebServerRequest::get_server_bind() {
|
||||
return server;
|
||||
|
||||
WebNode *WebServerRequest::get_web_root() {
|
||||
return web_root;
|
||||
}
|
||||
|
||||
WebServerRequest::WebServerRequest() {
|
||||
@ -578,9 +579,6 @@ void WebServerRequest::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("get_url_root_add", "add"), &WebServerRequest::get_url_root_add);
|
||||
ClassDB::bind_method(D_METHOD("get_url_site_add", "add"), &WebServerRequest::get_url_site_add);
|
||||
|
||||
//virtual void update();
|
||||
|
||||
//TODO
|
||||
//WebServer *get_server();
|
||||
//Node *get_server_bind();
|
||||
ClassDB::bind_method(D_METHOD("get_server"), &WebServerRequest::get_server);
|
||||
ClassDB::bind_method(D_METHOD("get_web_root"), &WebServerRequest::get_web_root);
|
||||
}
|
||||
|
@ -115,9 +115,7 @@ public:
|
||||
virtual void update();
|
||||
|
||||
WebServer *get_server();
|
||||
Node *get_server_bind();
|
||||
WebNode *get_web_root();
|
||||
Node *get_web_root_bind();
|
||||
|
||||
WebServerRequest();
|
||||
~WebServerRequest();
|
||||
|
Loading…
Reference in New Issue
Block a user