diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-03-20 13:39:00 +0100 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-03-20 13:39:00 +0100 |
commit | 366cc648bff951166be53ddceef6c1b979c5cf91 (patch) | |
tree | 28e452612c3afc4262e3d2e1c4fc3a9bdc76e401 /doc/classes/DTLSServer.xml | |
parent | fe01776f05b1787b28b4a270d53037a3c25f4ca2 (diff) | |
download | redot-engine-366cc648bff951166be53ddceef6c1b979c5cf91.tar.gz |
[Doc] Fix casing of some C# names
Diffstat (limited to 'doc/classes/DTLSServer.xml')
-rw-r--r-- | doc/classes/DTLSServer.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/DTLSServer.xml b/doc/classes/DTLSServer.xml index f4c75a731d..41e241779a 100644 --- a/doc/classes/DTLSServer.xml +++ b/doc/classes/DTLSServer.xml @@ -45,7 +45,7 @@ { private DtlsServer _dtls = new DtlsServer(); private UdpServer _server = new UdpServer(); - private Godot.Collections.Array<PacketPeerDTLS> _peers = new Godot.Collections.Array<PacketPeerDTLS>(); + private Godot.Collections.Array<PacketPeerDtls> _peers = new Godot.Collections.Array<PacketPeerDtls>(); public override void _Ready() { @@ -59,8 +59,8 @@ { while (Server.IsConnectionAvailable()) { - PacketPeerUDP peer = _server.TakeConnection(); - PacketPeerDTLS dtlsPeer = _dtls.TakeConnection(peer); + PacketPeerUdp peer = _server.TakeConnection(); + PacketPeerDtls dtlsPeer = _dtls.TakeConnection(peer); if (dtlsPeer.GetStatus() != PacketPeerDtls.Status.Handshaking) { continue; // It is normal that 50% of the connections fails due to cookie exchange. |