Connect up reserved packets
This commit is contained in:
1 parent
b439805f3e
commit
6931846a64
2 files changed
+42
-4
No files matched your search
@@ -3,15 +3,21 @@ using Mistox.Attributes;
|
||||
namespace Mistox.ResevedPackets {
|
||||
|
||||
[mPacket(0xFF)]
|
||||
public class EntityObject {
|
||||
public class EntityPacket {
|
||||
public ushort ObjectId { get; set; }
|
||||
public byte[] InnerPayload { get; set; }
|
||||
}
|
||||
|
||||
[mPacket(0xFE)]
|
||||
public class ConnectionObject {
|
||||
public class UserConnectedPacket {
|
||||
public string UserName { get; set; }
|
||||
public long ClientIPAddress { get; set; }
|
||||
public int ClientPort { get; set; }
|
||||
}
|
||||
|
||||
[mPacket(0xFD)]
|
||||
public class UserDisconnectedPacket {
|
||||
public string UserName { get; set; }
|
||||
public string Token { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user