Decompile 2 functions in Source/UI/Text/TextMarkup.cpp
Batch #7012 by Landruca: 0 byte-identical, 2 confirmed by peer review. - fn_16951 ExtractTipBoxTextLinks: logic confirmed by peer review - fn_16952 ExtractUrlTextLinks: logic confirmed by peer review Peer-reviewed-by: eAthena, 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
622fac41a8
commit
b38334ec3f
1 changed files with 24 additions and 0 deletions
|
|
@ -37,6 +37,30 @@ void ExtractNavigationTextLinks(std::string&& text, std::vector<TextLink>& links
|
|||
ExtractTextLinks(std::move(text), g_naviTagBegin, g_naviTagEnd, links);
|
||||
}
|
||||
|
||||
// GLOBAL: gl_24597
|
||||
static const std::string g_tipBoxTagBegin = "<TIPBOX>";
|
||||
|
||||
// GLOBAL: gl_24598
|
||||
static const std::string g_tipBoxTagEnd = "</TIPBOX>";
|
||||
|
||||
// OFFSET: 0x00A7D690
|
||||
// FUNCTION: fn_16951
|
||||
void ExtractTipBoxTextLinks(std::string&& text, std::vector<TextLink>& links) {
|
||||
ExtractTextLinks(std::move(text), g_tipBoxTagBegin, g_tipBoxTagEnd, links);
|
||||
}
|
||||
|
||||
// GLOBAL: gl_24591
|
||||
static const std::string g_urlTagBegin = "<URL>";
|
||||
|
||||
// GLOBAL: gl_24592
|
||||
static const std::string g_urlTagEnd = "</URL>";
|
||||
|
||||
// OFFSET: 0x00A7D6B0
|
||||
// FUNCTION: fn_16952
|
||||
void ExtractUrlTextLinks(std::string&& text, std::vector<TextLink>& links) {
|
||||
ExtractTextLinks(std::move(text), g_urlTagBegin, g_urlTagEnd, links);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A81A70
|
||||
// FUNCTION: fn_16980
|
||||
bool HasTextLinks(const std::string& text) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue