Batch #1977 by Yommy: 0 byte-identical, 2 confirmed by peer review. - fn_03113 EffectResourceSwitcher::Slot16: logic confirmed by peer review - fn_03115 Singleton<CEZ2STREffectMgr>::GetInstance: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, eAthena Reviewed-by: ragnarok-clanker
14 lines
227 B
C++
14 lines
227 B
C++
#ifndef RAGNAROK_SOURCE_UTILITY_SINGLETON_H
|
|
#define RAGNAROK_SOURCE_UTILITY_SINGLETON_H
|
|
|
|
template <typename T>
|
|
class Singleton {
|
|
public:
|
|
static T* s_instance;
|
|
|
|
static T* GetInstance();
|
|
|
|
virtual ~Singleton() {}
|
|
};
|
|
|
|
#endif
|