mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-14 20:28:21 +00:00
192c8cf974
* 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
15 lines
307 B
C++
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;
|
|
};
|