Split out the UDP listener for a single instance

This commit is contained in:
derek.holloway committed 2026-07-10 14:24:24 -07:00
1 parent 6931846a64
commit d3d437b0c8
5 files changed
+127 -68

No files matched your search

+4 -2
View File
@@ -1,3 +1,5 @@
using System;
using System.Net;
using Mistox.Attributes;
namespace Mistox.ResevedPackets {
@@ -11,13 +13,13 @@ namespace Mistox.ResevedPackets {
[mPacket(0xFE)]
public class UserConnectedPacket {
public string UserName { get; set; }
public long ClientIPAddress { get; set; }
public IPAddress ClientIPAddress { get; set; }
public int ClientPort { get; set; }
}
[mPacket(0xFD)]
public class UserDisconnectedPacket {
public string UserName { get; set; }
public UInt128 ConnectionKey { get; set; }
}
}