- fix: incorrect packet ids for Join Server Token req and reply

This commit is contained in:
2024-12-21 15:37:30 -05:00
parent 7698cb95ff
commit 069a471bbb

View File

@@ -20,8 +20,8 @@ pub enum PacketType {
PakcsSrvSelectReq = 0x050D,
PaklcSrvSelectReply = 0x050E,
PakcsJoinServerReq = 0x050F,
PakscJoinServerReply = 0x0510,
PakcsJoinServerTokenReq = 0x0511,
PakcsJoinServerTokenReq = 0x0510,
PakscJoinServerReply = 0x0511,
PakwcGmCommand = 0x0512,
PakwcGlobalVars = 0x0513,
PakwcGlobalFlags = 0x0514,
@@ -248,8 +248,8 @@ impl TryFrom<u16> for PacketType {
0x050D => Ok(PacketType::PakcsSrvSelectReq),
0x050E => Ok(PacketType::PaklcSrvSelectReply),
0x050F => Ok(PacketType::PakcsJoinServerReq),
0x0510 => Ok(PacketType::PakscJoinServerReply),
0x0511 => Ok(PacketType::PakcsJoinServerTokenReq),
0x0510 => Ok(PacketType::PakcsJoinServerTokenReq),
0x0511 => Ok(PacketType::PakscJoinServerReply),
0x0512 => Ok(PacketType::PakwcGmCommand),
0x0513 => Ok(PacketType::PakwcGlobalVars),
0x0514 => Ok(PacketType::PakwcGlobalFlags),