DarkflameServer/dScripts/02_server/DLU/DLUVanityTeleportingObject.h
Aaron Kimbrell 192c8cf974
feat: refactor vanity (#1477)
* feat: refactor vanity
cleanup code to be generalized for objects
remove unused party feature
add fallback to data to text
Allow for better organizing data in multiple files
remove special case flag values in favor of config data
general cleanup and fixes

* newline at eof's
2024-02-25 16:59:10 -06:00

15 lines
307 B
C++

#pragma once
#include "CppScripts.h"
class VanityObject;
class DLUVanityTeleportingObject : public CppScripts::Script
{
public:
void OnStartup(Entity* self) override;
void OnTimerDone(Entity* self, std::string timerName) override;
private:
VanityObject* m_Object;
float m_TeleportInterval = 15.0f;
};