Decompile fn_19499 (CNaviInfo::Search)
Batch #2784 by youko: 0 byte-identical, 1 confirmed by peer review. - fn_19499 CNaviInfo::Search: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, willerthal, superintelligence 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
b6913fda3c
commit
e15436b8f1
2 changed files with 24 additions and 0 deletions
|
|
@ -6,6 +6,8 @@
|
|||
#include "Resource/ResourceMgr.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <windows.h>
|
||||
#include <shlwapi.h>
|
||||
|
||||
// OFFSET: 0x00B8DF10
|
||||
// FUNCTION: fn_19461
|
||||
|
|
@ -406,3 +408,21 @@ void CNaviInfo::CollectMobsByTitle(std::string title, std::vector<NavigationTarg
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x00B8E920
|
||||
// FUNCTION: fn_19499
|
||||
void CNaviInfo::Search(int type, const std::vector<std::string>& keywords, std::vector<NavigationTarget>& out) {
|
||||
this->SearchMap(keywords, out);
|
||||
if (type == 2 || type == 0) {
|
||||
this->SearchMobs(keywords, out);
|
||||
}
|
||||
if (type == 3 || type == 0) {
|
||||
this->SearchNpcs(keywords, out);
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x00B8EE50
|
||||
|
||||
// OFFSET: 0x00B8F560
|
||||
|
||||
// OFFSET: 0x00B8FE40
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue