Decompile 5 functions in Source/Contents/Effects/EffectActor.h, Source/Contents/Effects/EffectActor.cpp, ...
Batch #13047 by cremane: 0 byte-identical, 5 confirmed by peer review. - fn_21062 EffectActor::HasId: logic confirmed by peer review - fn_21069 EffectActor::LaunchEffect: logic confirmed by peer review - fn_21076 CGameActor::ShowPartyMemberEffect: logic confirmed by peer review - fn_21153 CGameActor::Slot15: logic confirmed by peer review - fn_21111 EffectActor::SendMsg: logic confirmed by peer review Peer-reviewed-by: gordaoprogramas, Toshiro, codeplay, SapitoSucio Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
4c2855d1f5
commit
024af60e85
6 changed files with 176 additions and 176 deletions
|
|
@ -1,11 +1,11 @@
|
|||
#include "Contents/Effects/EffectActor.h"
|
||||
#include "Contents/Effects/RagEffectState.h"
|
||||
#include "Contents/Effects/RagEffect.h"
|
||||
|
||||
// OFFSET: 0x00CADBE0
|
||||
// FUNCTION: fn_21062
|
||||
bool EffectActor::HasId(int id) const {
|
||||
for (const RagEffectState* effect : this->state.effects) {
|
||||
if (effect && effect->type == id) {
|
||||
for (const CRagEffect* effect : this->state.effects) {
|
||||
if (effect && effect->state.type == id) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
@ -16,8 +16,8 @@ bool EffectActor::HasId(int id) const {
|
|||
// OFFSET: 0x00CADC40
|
||||
// FUNCTION: fn_21064
|
||||
bool EffectActor::Contains(const RagEffectState* effect) const {
|
||||
for (const RagEffectState* current : this->state.effects) {
|
||||
if (current == effect) {
|
||||
for (const CRagEffect* current : this->state.effects) {
|
||||
if (current == reinterpret_cast<const CRagEffect*>(effect)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue