Rename Reference to RefCounted
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="WebRTCPeerConnection" inherits="Reference" version="4.0">
|
||||
<class name="WebRTCPeerConnection" inherits="RefCounted" version="4.0">
|
||||
<brief_description>
|
||||
Interface to a WebRTC peer connection.
|
||||
</brief_description>
|
||||
|
||||
@ -48,7 +48,7 @@ private:
|
||||
CH_RESERVED_MAX = 3
|
||||
};
|
||||
|
||||
class ConnectedPeer : public Reference {
|
||||
class ConnectedPeer : public RefCounted {
|
||||
public:
|
||||
Ref<WebRTCPeerConnection> connection;
|
||||
List<Ref<WebRTCDataChannel>> channels;
|
||||
|
||||
@ -34,8 +34,8 @@
|
||||
#include "core/io/packet_peer.h"
|
||||
#include "modules/webrtc/webrtc_data_channel.h"
|
||||
|
||||
class WebRTCPeerConnection : public Reference {
|
||||
GDCLASS(WebRTCPeerConnection, Reference);
|
||||
class WebRTCPeerConnection : public RefCounted {
|
||||
GDCLASS(WebRTCPeerConnection, RefCounted);
|
||||
|
||||
public:
|
||||
enum ConnectionState {
|
||||
|
||||
Reference in New Issue
Block a user