Batch #904 by ragnarok-clanker: no function's compiled code changes; checked with 3 compiled unit(s), including every includer of Source/Contents/MessageTable.h, Source/Contents/Async/AsyncWorkMgr.h, Source/Contents/Emblems/EmblemDataMgr.h, Source/Contents/Hotkeys/UserHotkeyMgr.h, Source/Contents/Messenger/WhisperBlockMgr.h, Source/Contents/Party/AdventurerAgencyMgr.h, Source/Contents/UserData/AccountLinkedUserDataMgr.h, Source/Contents/UserData/CharacterLinkedUserDataMgr.h, Source/Network/TextEncoding.h, Source/Network/Http/CURLMgr.h, Source/Render/Textures/Texture.h, Source/UI/Layout/SnapMgr.h, Source/UI/Party/UIRequestJoinPartyMgr.h, Source/UI/Window/FrameFocus.h, Source/UI/Window/UIWindow.h, Source/Utility/Async/NMessageMgr.h.
20 lines
493 B
C++
20 lines
493 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_MESSAGETABLE_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_MESSAGETABLE_H
|
|
|
|
#include <string>
|
|
#include <string_view>
|
|
#include <unordered_map>
|
|
#include <windows.h>
|
|
|
|
enum MessageId : int {
|
|
MSI_FAILED_ADD_TAB = 1578
|
|
};
|
|
|
|
extern std::unordered_map<int, std::string> g_messageStrings;
|
|
|
|
const char* LookupMessage(int id, bool languagePrefix, int serviceType, WORD language);
|
|
void InsertMessage(int id, const char* text);
|
|
|
|
bool ImportMessageCsv(std::string_view bytes);
|
|
|
|
#endif
|