Merge pull request #1856 from DarkflameUniverse/revert-uint8_t

Revert uint8_t in game message tests
This commit is contained in:
jadebenn
2025-08-21 08:57:35 -05:00
committed by GitHub

View File

@@ -57,13 +57,12 @@ TEST_F(GameMessageTests, SendBlueprintLoadItemResponse) {
ASSERT_EQ(bitStream->GetNumberOfUnreadBits(), 200); ASSERT_EQ(bitStream->GetNumberOfUnreadBits(), 200);
// First read in the packets' header // First read in the packets' header
uint8_t rakNetPacketId{}; uint8_t rakNetPacketId{};
uint8_t remoteServiceType{}; uint16_t remoteServiceType{};
uint32_t packetId{}; uint32_t packetId{};
uint8_t always0{}; uint8_t always0{};
bitStream->Read(rakNetPacketId); bitStream->Read(rakNetPacketId);
bitStream->Read(remoteServiceType); bitStream->Read(remoteServiceType);
bitStream->IgnoreBytes(1);
bitStream->Read(packetId); bitStream->Read(packetId);
bitStream->Read(always0); bitStream->Read(always0);
ASSERT_EQ(rakNetPacketId, 0x53); ASSERT_EQ(rakNetPacketId, 0x53);