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.
25 lines
604 B
C++
25 lines
604 B
C++
#include "Contents/Actors/Pc.h"
|
|
#include "Contents/Actors/RenderObject.h"
|
|
#include "Contents/World/World.h"
|
|
|
|
// OFFSET: 0x00AC8260
|
|
// FUNCTION: fn_17668
|
|
CRenderObject* CWorld::GetGameActorByAID(std::uint32_t aid) const {
|
|
for (auto it = this->actors.begin(); it != this->actors.end(); ++it) {
|
|
if ((*it)->render.accountId == aid) {
|
|
return *it;
|
|
}
|
|
}
|
|
|
|
return nullptr;
|
|
}
|
|
|
|
#pragma inline_depth(0)
|
|
// OFFSET: 0x00AC8470
|
|
// FUNCTION: fn_17672
|
|
void CWorld::CreatePlayer() {
|
|
CPlayer* player = new CPlayer();
|
|
this->player = player;
|
|
this->objects.push_back(player);
|
|
}
|
|
#pragma inline_depth()
|