Tons of minor fixes

This commit is contained in:
derek.holloway committed 2026-08-03 10:01:31 -07:00
1 parent 873a6fa455
commit 37a6b5d59b
12 files changed
+219 -147

No files matched your search

+14 -7
View File
@@ -5,21 +5,28 @@ using Mistox.Attributes;
namespace Mistox.ResevedPackets {
[mPacket(0xFF)]
public class EntityPacket {
public ushort ObjectId { get; set; }
public byte[] InnerPayload { get; set; }
}
[mPacket(0xFE)]
public class UserConnectedPacket {
public string UserName { get; set; }
public IPAddress ClientIPAddress { get; set; }
public int ClientPort { get; set; }
}
[mPacket(0xFE)]
public class UserAuthPacket {
public string UserName { get; set; } = "";
public string ConnectionKey { get; set; } = "";
public int AuthSuccessful { get; set; } = 0; // 0 is standard, -1 is auth failure, 1 is auth success
}
[mPacket(0xFD)]
public class EntityPacket {
public ushort ObjectId { get; set; }
public byte[] InnerPayload { get; set; }
}
[mPacket(0xFC)]
public class UserDisconnectedPacket {
public UInt128 ConnectionKey { get; set; }
public string UserName { get; set; }
}
}