DarkflameServer/dScripts/02_server/Map/AM/AmSkullkinTower.h
David Markowitz 021db0ecd1
add child loading (#1706)
Tested that the NT combat challenge, am skullkin towers and qa wall in avant gardens all function as before.
2025-01-01 00:46:00 -06:00

21 lines
568 B
C++

#pragma once
#include "CppScripts.h"
class AmSkullkinTower : public CppScripts::Script
{
public:
void OnStartup(Entity* self) override;
void SpawnLegs(Entity* self, const std::string& loc);
void OnChildLoaded(Entity& self, GameMessages::ChildLoaded& childLoaded) override;
void NotifyDie(Entity* self, Entity* other, Entity* killer);
void OnChildRemoved(Entity* self, Entity* child);
void OnProximityUpdate(Entity* self, Entity* entering, std::string name, std::string status) override;
void OnTimerDone(Entity* self, std::string timerName) override;
};