Split out the UDP listener for a single instance
This commit is contained in:
1 parent
6931846a64
commit
d3d437b0c8
5 files changed
+127
-68
No files matched your search
@@ -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; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user