rodecomp/Source/UI/Text/NavigationLink.h
ragnarok-clanker 1dcc2718ea Decompile 9 functions in Source/UI/StylingShop/UIStylingShopWnd.cpp, Source/UI/StylingShop/UIStylingShopWnd.h, ...
Batch #3970 by youko: 3 byte-identical, 6 confirmed by peer review.

- fn_10366 UI2ndCostumeWnd::SendMsg: logic confirmed by peer review
- fn_10367 UIAccessoryCusWnd::SendMsg: logic confirmed by peer review
- fn_10373 UIShowInfoWnd::SendMsg: logic confirmed by peer review
- fn_10374 UISlotOfMyStyleWnd::SendMsg: logic confirmed by peer review
- fn_10376 UIStylingshopTabParentWnd::SendMsg: byte-identical
- fn_10390 UISwapEquipmentWnd::Slot10: logic confirmed by peer review
- fn_10402 UISwapEquipmentWnd::SetSlotValue: logic confirmed by peer review
- fn_10404 NavigationLinkParser::NavigationLinkParser: byte-identical
- fn_10405 NavigationLinkParser::~NavigationLinkParser: byte-identical

Peer-reviewed-by: eAthena, willerthal
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
Adds to the build: Source/UI/Items/UISwapEquipmentWnd.cpp
2026-10-30 00:25:42 +00:00

25 lines
814 B
C++

#ifndef RAGNAROK_SOURCE_UI_TEXT_NAVIGATIONLINK_H
#define RAGNAROK_SOURCE_UI_TEXT_NAVIGATIONLINK_H
#include <string>
struct NavigationLinkParser {
NavigationLinkParser();
~NavigationLinkParser();
/* 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