Batch #16925 by KWDev: 10 byte-identical, 0 confirmed by peer review. - fn_21062 EffectActor::HasId: byte-identical - fn_23341 CSession::RemoveMerchantShopItem: byte-identical - fn_23351 CSession::RemoveCartItem: byte-identical - fn_19438 CNaviInfo::AddNpc: byte-identical - fn_19439 CNaviInfo::AddLink: byte-identical - fn_19440 CNaviInfo::AddMob: byte-identical - fn_19596 CNavigationManager::IsCurrentTarget: byte-identical - fn_10265 CBmpObjWnd::Paint: byte-identical - fn_10266 CSignBoardWnd::Paint: byte-identical - fn_17668 CWorld::GetGameActorByAID: byte-identical Merged automatically: every function is byte-identical to the original.
34 lines
845 B
C++
34 lines
845 B
C++
#include "Contents/Effects/Core/EffectActor.h"
|
|
#include "Contents/Effects/Core/RagEffect.h"
|
|
|
|
// OFFSET: 0x00CADBE0
|
|
// FUNCTION: fn_21062
|
|
bool EffectActor::HasId(int id) const {
|
|
for (auto it = this->state.effects.begin(); it != this->state.effects.end(); ++it) {
|
|
if (*it && (*it)->state.type == id) {
|
|
return true;
|
|
}
|
|
}
|
|
|
|
return false;
|
|
}
|
|
|
|
// OFFSET: 0x00CADC40
|
|
// FUNCTION: fn_21064
|
|
bool EffectActor::Contains(const RagEffectState* effect) const {
|
|
if (this->state.effects.size() != 0) {
|
|
for (const CRagEffect* current : this->state.effects) {
|
|
if (current == reinterpret_cast<const CRagEffect*>(effect)) {
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
|
|
return false;
|
|
}
|
|
|
|
// OFFSET: 0x00CADC20
|
|
// FUNCTION: fn_21063
|
|
bool EffectActor::EffectVisible() const {
|
|
return this->render.visible != 0 && this->render.enabled != 0;
|
|
}
|