summaryrefslogtreecommitdiff
path: root/src/WebRTCLibDataChannel.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/WebRTCLibDataChannel.hpp')
-rw-r--r--src/WebRTCLibDataChannel.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/WebRTCLibDataChannel.hpp b/src/WebRTCLibDataChannel.hpp
index 1c69997..3524e02 100644
--- a/src/WebRTCLibDataChannel.hpp
+++ b/src/WebRTCLibDataChannel.hpp
@@ -74,6 +74,10 @@ private:
protected:
static void _bind_methods() {}
+ godot::String _to_string() const {
+ return "WebRTCLibDataChannel";
+ }
+
public:
static WebRTCLibDataChannel *new_data_channel(std::shared_ptr<rtc::DataChannel> p_channel, bool p_negotiated);