rodecomp/Source/UI/Text/NavigationLink.h
ragnarok-clanker 935fce24a4 Decompile 3 functions in Source/UI/Text/NavigationLink.cpp, Source/UI/Text/NavigationLink.h
Batch #3657 by Yommy: 0 byte-identical, 3 confirmed by peer review.

- fn_10412 CreateNavigationLinkParser: logic confirmed by peer review
- fn_10413 DestroyNavigationLinkParser: logic confirmed by peer review
- fn_10478 UIEmotion::Slot19: logic confirmed by peer review

Peer-reviewed-by: ntrl, meitogi, willerthal
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-29 22:54:44 +00:00

24 lines
805 B
C++

#ifndef RAGNAROK_SOURCE_UI_TEXT_NAVIGATIONLINK_H
#define RAGNAROK_SOURCE_UI_TEXT_NAVIGATIONLINK_H
#include <string>
struct NavigationLinkParser {
NavigationLinkParser() : m_ready(true) {}
/* 0000 */ bool m_ready;
};
extern NavigationLinkParser* g_navigationLinkParser;
bool CreateNavigationLinkParser();
void DestroyNavigationLinkParser();
std::string FormatMessageArguments(std::string value, int messageId);
int DecodeNavigationNumber(std::string value);
std::string EncodeNavigationNumber(int value);
bool ParseNavigationLink(std::string value, std::string& name, int& x, int& y);
std::string FormatNavigationLink(std::string value, bool brackets);
void DisplayNavigationLink(std::string& output, std::string value);
void ExtractNavigationLink(std::string& output, std::string value);
#endif