feat: more destroyable debug info (#1912)

* feat: more destroyable info

* Change type and remove duplicate value
This commit is contained in:
David Markowitz
2025-10-16 12:15:02 -07:00
committed by GitHub
parent 4c9c773ec5
commit f3a5f60d81
4 changed files with 99 additions and 19 deletions

View File

@@ -370,6 +370,8 @@ public:
*/
uint32_t GetLootMatrixID() const { return m_LootMatrixID; }
void SetCurrencyIndex(int32_t currencyIndex) { m_CurrencyIndex = currencyIndex; }
/**
* Returns the ID of the entity that killed this entity, if any
* @return the ID of the entity that killed this entity, if any
@@ -587,6 +589,9 @@ private:
*/
uint32_t m_LootMatrixID;
// The currency index to determine how much loot to drop
int32_t m_CurrencyIndex{ -1 };
/**
* The min amount of coins that will drop when this entity is smashed
*/