Decompile 4 functions in Source/Contents/Skills/SkillInfo.cpp, Source/Contents/EffectResourceSwitcher.cpp, ...
Batch #2534 by meitogi: 0 byte-identical, 4 confirmed by peer review. - fn_08337 CEfstAction_UNLIMIT::Slot00: logic confirmed by peer review - fn_08372 CSkillAction_ABC_CHASING_BREAK::Slot11: logic confirmed by peer review - fn_08377 CSkillAction_ABC_CHASING_SHOT::Slot11: logic confirmed by peer review - fn_03082 EffectResourceSwitcher::RetireEffects: logic confirmed by peer review Reviewed-by: ragnarok-clanker
This commit is contained in:
parent
35a3946332
commit
c43208818d
4 changed files with 87 additions and 2 deletions
|
|
@ -1,6 +1,9 @@
|
|||
#include "Contents/EffectResourceSwitcher.h"
|
||||
#include "Contents/Actors/RenderObject.h"
|
||||
#include "Contents/Effects/Effect.h"
|
||||
#include "Contents/Effects/EffectLists.h"
|
||||
#include "Contents/Effects/EffectPrimitiveState.h"
|
||||
#include "Contents/World/World.h"
|
||||
|
||||
#include <cctype>
|
||||
#include <new>
|
||||
|
|
@ -10,6 +13,23 @@
|
|||
template <>
|
||||
CEZ2STREffectMgr* Singleton<CEZ2STREffectMgr>::s_instance = nullptr;
|
||||
|
||||
// OFFSET: 0x005A2090
|
||||
// FUNCTION: fn_03082
|
||||
void EffectResourceSwitcher::RetireEffects() {
|
||||
CRenderObject* actor = FindRenderObject(this->actor);
|
||||
if (!actor) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!this->sourceName.empty()) {
|
||||
g_effectMgr->Retire(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId(this->sourceName));
|
||||
}
|
||||
|
||||
if (!this->targetName.empty()) {
|
||||
g_effectMgr->Retire(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId(this->targetName));
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x005A2110
|
||||
// FUNCTION: fn_03083
|
||||
void CEffect::Slot10(int) {
|
||||
|
|
@ -104,7 +124,7 @@ void CEffect::Slot14(int) {
|
|||
|
||||
// OFFSET: 0x005A24D0
|
||||
// FUNCTION: fn_03108
|
||||
void CEffect::Slot17(int) {
|
||||
void CEffect::Slot17(float) {
|
||||
}
|
||||
|
||||
// OFFSET: 0x005A24E0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue