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
This commit is contained in:
parent
ce2aab5af8
commit
88d8e9e378
3 changed files with 83 additions and 0 deletions
|
|
@ -1,8 +1,14 @@
|
|||
#include "Contents/EffectResourceSwitcher.h"
|
||||
#include "Contents/Effects/Effect.h"
|
||||
#include "Contents/Effects/EffectPrimitiveState.h"
|
||||
|
||||
#include <new>
|
||||
#include <string>
|
||||
|
||||
// GLOBAL: gl_24485
|
||||
template <>
|
||||
CEZ2STREffectMgr* Singleton<CEZ2STREffectMgr>::s_instance = nullptr;
|
||||
|
||||
// OFFSET: 0x005A2110
|
||||
// FUNCTION: fn_03083
|
||||
void CEffect::Slot10(int) {
|
||||
|
|
@ -120,7 +126,26 @@ void CEffect::Slot22(int) {
|
|||
void CEffect::Slot13(int) {
|
||||
}
|
||||
|
||||
// OFFSET: 0x005A2520
|
||||
// FUNCTION: fn_03113
|
||||
void EffectResourceSwitcher::Slot16(int argument) {
|
||||
if (this->effect) {
|
||||
this->effect->Slot16(argument);
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x005A2540
|
||||
// FUNCTION: fn_03114
|
||||
void CEffect::Slot20(int) {
|
||||
}
|
||||
|
||||
// OFFSET: 0x005A2630
|
||||
// FUNCTION: fn_03115
|
||||
template <>
|
||||
CEZ2STREffectMgr* Singleton<CEZ2STREffectMgr>::GetInstance() {
|
||||
if (!s_instance) {
|
||||
s_instance = new (std::nothrow) CEZ2STREffectMgr;
|
||||
}
|
||||
|
||||
return s_instance;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue