mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-06 10:44:08 +00:00
Organize dScripts (#814)
* Organize dScripts whitespace Remove parent scope Remove parent scope from initial setter Remove debug Remove helper programs * Fix NtImagimeterVisibility script Co-authored-by: aronwk-aaron <aronwk.aaron@gmail.com>
This commit is contained in:
33
dScripts/02_server/Map/AM/AmSkullkinDrill.h
Normal file
33
dScripts/02_server/Map/AM/AmSkullkinDrill.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#pragma once
|
||||
#include "CppScripts.h"
|
||||
|
||||
class AmSkullkinDrill : public CppScripts::Script
|
||||
{
|
||||
public:
|
||||
void OnStartup(Entity* self) override;
|
||||
|
||||
Entity* GetStandObj(Entity* self);
|
||||
|
||||
void OnSkillEventFired(Entity* self, Entity* caster, const std::string& message) override;
|
||||
|
||||
void TriggerDrill(Entity* self);
|
||||
|
||||
void OnWaypointReached(Entity* self, uint32_t waypointIndex) override;
|
||||
|
||||
void OnUse(Entity* self, Entity* user) override;
|
||||
|
||||
void FreezePlayer(Entity* self, Entity* player, bool bFreeze);
|
||||
|
||||
void OnArrived(Entity* self, uint32_t waypointIndex);
|
||||
|
||||
void PlayCinematic(Entity* self);
|
||||
|
||||
void PlayAnim(Entity* self, Entity* player, const std::string& animName);
|
||||
|
||||
void OnHitOrHealResult(Entity* self, Entity* attacker, int32_t damage) override;
|
||||
|
||||
void OnTimerDone(Entity* self, std::string timerName) override;
|
||||
|
||||
private:
|
||||
std::vector<int32_t> m_MissionsToUpdate = { 972, 1305, 1308 };
|
||||
};
|
Reference in New Issue
Block a user