fix: client node binds get_singleton to gdscript
This commit is contained in:
parent
4c153a47e1
commit
3062d1ce76
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ String const ClientNode::sig_conclusion_received{ "conclusion_received" };
|
|||
|
||||
void ClientNode::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("connect_to_server", "server_url"), &self_type::connect_to_server);
|
||||
ClassDB::bind_static_method(self_type::get_class_static(), "get_singleton", &self_type::get_singleton);
|
||||
|
||||
ADD_SIGNAL(MethodInfo(sig_connection_changed, PropertyInfo(Variant::INT, "connected", PROPERTY_HINT_ENUM, "Disconnected,Connected,Authenticated")));
|
||||
ADD_SIGNAL(MethodInfo(sig_conclusion_received,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue