mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-26 23:43:34 +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;
|
|
};
|