delta compression fixes (#937)

This commit is contained in:
David Markowitz
2023-01-03 09:22:04 -08:00
committed by GitHub
parent dc7d0ce142
commit 1789ec7f20
4 changed files with 61 additions and 35 deletions

View File

@@ -243,6 +243,12 @@ private:
*/
std::vector<LWOOBJID> GetTargetWithinAggroRange() const;
/**
* @brief Sets the AiState and prepares the entity for serialization next frame.
*
*/
void SetAiState(AiState newState);
/**
* The current state of the AI
*/
@@ -374,6 +380,12 @@ private:
*/
bool m_DirtyThreat = false;
/**
* Whether or not the Component has dirty information and should update next frame
*
*/
bool m_DirtyStateOrTarget = false;
/**
* Whether the current entity is a mech enemy, needed as mechs tether radius works differently
* @return whether this entity is a mech