DarkflameServer/dScripts/CavePrisonCage.h

20 lines
640 B
C
Raw Normal View History

#pragma once
#include "CppScripts.h"
#include "Spawner.h"
#include "dZoneManager.h"
#include "dCommonVars.h"
class CavePrisonCage : public CppScripts::Script {
public:
void OnStartup(Entity *self) override;
void Setup(Entity *self, Spawner* spawner);
void OnRebuildNotifyState(Entity* self, eRebuildState state) override;
void SpawnCounterweight(Entity* self, Spawner* spawner);
void GetButton(Entity* self);
void OnTimerDone(Entity* self, std::string timerName) override;
private:
std::vector<LOT> m_Villagers = { 15851, 15866, 15922, 15924, 15927, 15929 };
std::vector<int32_t> m_Missions = { 1801, 2039 };
};