rodecomp/Source/Utility/Singleton.h
ragnarok-clanker 88d8e9e378 Decompile 2 functions in Source/Contents/EffectResourceSwitcher.cpp, Source/Contents/EffectResourceSwitcher.h, ...
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
2026-10-29 08:58:09 +00:00

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