mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
5cdff8bcaf
tested that things still work as intended
14 lines
412 B
C++
14 lines
412 B
C++
#pragma once
|
|
#include "CppScripts.h"
|
|
|
|
class SpecialCoinSpawner : public CppScripts::Script {
|
|
public:
|
|
SpecialCoinSpawner(uint32_t CurrencyDenomination) {
|
|
m_CurrencyDenomination = CurrencyDenomination;
|
|
};
|
|
void OnStartup(Entity* self) override;
|
|
void OnProximityUpdate(Entity* self, Entity* entering, const std::string name, const std::string status) override;
|
|
private:
|
|
int32_t m_CurrencyDenomination = 0;
|
|
};
|