feat: add messaging system for manager and add example usage to Loot

tested that loot still drops at the entities position
This commit is contained in:
David Markowitz
2025-06-29 00:09:40 -07:00
parent 55d181ea4b
commit 5c296b8ef0
22 changed files with 62 additions and 32 deletions

View File

@@ -6,7 +6,7 @@
#include "eTerminateType.h"
void VeMissionConsole::OnUse(Entity* self, Entity* user) {
Loot::DropActivityLoot(user, self, 12551);
Loot::DropActivityLoot(user, self->GetObjectID(), 12551);
auto* inventoryComponent = user->GetComponent<InventoryComponent>();
if (inventoryComponent != nullptr) {