Cleanup the ReservedPackets
This commit is contained in:
1 parent
3992c3debc
commit
875a5ae3e9
3 files changed
+17
-10
No files matched your search
@@ -1,5 +1,3 @@
|
|||||||
using System.Net;
|
|
||||||
|
|
||||||
namespace Mistox.Client {
|
namespace Mistox.Client {
|
||||||
public class UDPEndpoint {
|
public class UDPEndpoint {
|
||||||
public string UserName { get; set; } = ""; // The Players UserName
|
public string UserName { get; set; } = ""; // The Players UserName
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
using Mistox.Attributes;
|
|
||||||
|
|
||||||
[mPacket(0xFF)]
|
|
||||||
public class UserConnectionPacket {
|
|
||||||
string UserName { get; set; }
|
|
||||||
long RemoteIP { get; set; }
|
|
||||||
int Port { get; set; }
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
using Mistox.Attributes;
|
||||||
|
|
||||||
|
namespace Mistox.ResevedPackets {
|
||||||
|
|
||||||
|
[mPacket(0xFF)]
|
||||||
|
public class EntityObject {
|
||||||
|
public ushort ObjectId { get; set; }
|
||||||
|
public byte[] InnerPayload { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
[mPacket(0xFE)]
|
||||||
|
public class ConnectionObject {
|
||||||
|
public string UserName { get; set; }
|
||||||
|
public string Token { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in new issue
Block a user