format codebase

This commit is contained in:
aronwk-aaron
2022-07-28 08:39:57 -05:00
parent 4f7aa11067
commit 19e77a38d8
881 changed files with 34700 additions and 38689 deletions

View File

@@ -1,13 +1,13 @@
#include "BaseWavesGenericEnemy.h"
#include "dZoneManager.h"
void BaseWavesGenericEnemy::OnStartup(Entity *self) {
self->SetNetworkVar<uint32_t>(u"points", GetPoints());
void BaseWavesGenericEnemy::OnStartup(Entity* self) {
self->SetNetworkVar<uint32_t>(u"points", GetPoints());
}
void BaseWavesGenericEnemy::OnDie(Entity *self, Entity *killer) {
auto* zoneControlObject = dZoneManager::Instance()->GetZoneControlObject();
if (zoneControlObject != nullptr) {
zoneControlObject->OnFireEventServerSide(killer, "Survival_Update", GetPoints());
}
void BaseWavesGenericEnemy::OnDie(Entity* self, Entity* killer) {
auto* zoneControlObject = dZoneManager::Instance()->GetZoneControlObject();
if (zoneControlObject != nullptr) {
zoneControlObject->OnFireEventServerSide(killer, "Survival_Update", GetPoints());
}
}