mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-05 14:58:27 +00:00
Merge pull request #1856 from DarkflameUniverse/revert-uint8_t
Revert uint8_t in game message tests
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user