summaryrefslogtreecommitdiffstats
path: root/doc/classes/DTLSServer.xml
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-03-20 13:39:00 +0100
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-03-20 13:39:00 +0100
commit366cc648bff951166be53ddceef6c1b979c5cf91 (patch)
tree28e452612c3afc4262e3d2e1c4fc3a9bdc76e401 /doc/classes/DTLSServer.xml
parentfe01776f05b1787b28b4a270d53037a3c25f4ca2 (diff)
downloadredot-engine-366cc648bff951166be53ddceef6c1b979c5cf91.tar.gz
[Doc] Fix casing of some C# names
Diffstat (limited to 'doc/classes/DTLSServer.xml')
-rw-r--r--doc/classes/DTLSServer.xml6
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&lt;PacketPeerDTLS&gt; _peers = new Godot.Collections.Array&lt;PacketPeerDTLS&gt;();
+ private Godot.Collections.Array&lt;PacketPeerDtls&gt; _peers = new Godot.Collections.Array&lt;PacketPeerDtls&gt;();
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.