remove unneeded tests

This commit is contained in:
jadebenn
2024-04-20 00:07:08 -05:00
parent 0b2453241b
commit 6ddf5b3e92
4 changed files with 6 additions and 67 deletions

View File

@@ -96,7 +96,8 @@ PetComponent::PetComponent(Entity* parentEntity, uint32_t componentId) : Compone
void PetComponent::Serialize(RakNet::BitStream& outBitStream, bool bIsInitialUpdate) {
const bool tamed = m_Owner != LWOOBJID_EMPTY;
outBitStream.Write1(); // Always serialize as dirty for now
constexpr bool isDirty = true;
outBitStream.Write(isDirty); // Always serialize as dirty for now
outBitStream.Write(m_Flags);
outBitStream.Write(tamed ? m_Interaction.ability : ePetAbilityType::Invalid); // Something with the overhead icon?

View File

@@ -13,11 +13,6 @@
#include "CDClientManager.h"
#include <optional>
#include <gtest/gtest.h>
// Forward declarations
class PetTest;
class PetComponentFlagTest;
/*
* The current state of the pet AI
@@ -364,16 +359,13 @@ public:
void AddDrainImaginationTimer(Item* item, bool fromTaming = false);
private:
// Needed so these can access flags
friend class DamagingPets;
friend class PetTest;
FRIEND_TEST(PetTest, PetComponentFlagTest);
// Needed so it can access flags
friend class DamagingPets;
/**
* Information for the minigame to be completed
*/
struct PuzzleData
{
struct PuzzleData {
/**
* The LOT of the object that is to be created
*/