diff --git a/Source/Contents/Actors/Resources/RobeResources.cpp b/Source/Contents/Actors/Resources/RobeResources.cpp index 3be2ade60..624e8010f 100644 --- a/Source/Contents/Actors/Resources/RobeResources.cpp +++ b/Source/Contents/Actors/Resources/RobeResources.cpp @@ -6,6 +6,8 @@ #include +extern template std::string::basic_string(const std::string&); + // OFFSET: 0x00BAC050 // FUNCTION: fn_19755 std::string EquipmentResourceMgr::GetRobeResourceName(int type, int job, int sex, int robe, bool riding, int, int costumeJob) { diff --git a/Source/Contents/CashEmotion/CashEmotionMgr.cpp b/Source/Contents/CashEmotion/CashEmotionMgr.cpp index f5b24559d..032d0d090 100644 --- a/Source/Contents/CashEmotion/CashEmotionMgr.cpp +++ b/Source/Contents/CashEmotion/CashEmotionMgr.cpp @@ -69,6 +69,8 @@ extern "C" { #include #include +extern template std::vector::vector(const std::vector&); + // STATIC: 0x013896C4 // GLOBAL: gl_24350 CCashEmotionMgr* g_cashEmotionMgr = nullptr; diff --git a/Source/Contents/Items/ItemInfo.cpp b/Source/Contents/Items/ItemInfo.cpp index 6d2d0fb50..5e5b836ae 100644 --- a/Source/Contents/Items/ItemInfo.cpp +++ b/Source/Contents/Items/ItemInfo.cpp @@ -15,6 +15,9 @@ #include #include "Utility/StdStringCompare.h" +extern template bool std::_Traits_equal>(const char*, std::size_t, const char*, std::size_t) noexcept; +extern template std::vector::vector(const std::vector&); + namespace { #pragma pack(push, 1) struct ItemRecordHeader { diff --git a/Source/Contents/Navigation/NavigationRequest.cpp b/Source/Contents/Navigation/NavigationRequest.cpp index c9712cefb..4d5d63f80 100644 --- a/Source/Contents/Navigation/NavigationRequest.cpp +++ b/Source/Contents/Navigation/NavigationRequest.cpp @@ -10,6 +10,8 @@ #include #include +extern template bool std::_Traits_equal>(const char*, std::size_t, const char*, std::size_t) noexcept; + // OFFSET: 0x00B8C0B0 // FUNCTION: fn_19420 __declspec(noinline) CNavi_Object* FindNaviObjectByName(const char* name, const std::vector& objects) { diff --git a/Source/Contents/Store/MCStoreInfoBackupAsyncWork.cpp b/Source/Contents/Store/MCStoreInfoBackupAsyncWork.cpp index 862799584..aca8cca32 100644 --- a/Source/Contents/Store/MCStoreInfoBackupAsyncWork.cpp +++ b/Source/Contents/Store/MCStoreInfoBackupAsyncWork.cpp @@ -14,6 +14,8 @@ #include #include +extern template std::string& std::string::assign(const char*, std::string::size_type); + namespace { constexpr char loadSource[] = "C:\\repositories\\RagnarokClient\\RagnarokClient\\Contents\\MCStoreBackUpData\\CMCStoreInfoBackupLoadAsyncWork." "cpp"; diff --git a/Source/Contents/UserData/AccountLinkedUserDataMgr.cpp b/Source/Contents/UserData/AccountLinkedUserDataMgr.cpp index 5a3601e07..a4de614b3 100644 --- a/Source/Contents/UserData/AccountLinkedUserDataMgr.cpp +++ b/Source/Contents/UserData/AccountLinkedUserDataMgr.cpp @@ -17,6 +17,9 @@ #include #include +extern template bool std::_Traits_equal>(const char*, std::size_t, const char*, std::size_t) noexcept; +extern template std::vector::~vector(); + namespace { // INLINED template diff --git a/Source/Resource/Models/RmaResource.cpp b/Source/Resource/Models/RmaResource.cpp index b46bd4286..b3e713bc8 100644 --- a/Source/Resource/Models/RmaResource.cpp +++ b/Source/Resource/Models/RmaResource.cpp @@ -8,6 +8,8 @@ #include #include +extern template std::vector::~vector(); + // OFFSET: 0x007461C0 // FUNCTION: fn_07770 CRmaRes::CRmaRes() { diff --git a/Source/Script/LuaScript.cpp b/Source/Script/LuaScript.cpp index 5dadddc7d..4cc43ef10 100644 --- a/Source/Script/LuaScript.cpp +++ b/Source/Script/LuaScript.cpp @@ -39,6 +39,8 @@ extern "C" { #include #include +extern template std::string& std::string::insert(std::string::size_type, const char*, std::string::size_type); + struct MiniMapPosition { MiniMapPosition() { } diff --git a/Source/UI/Dialogs/UIMessageBox.cpp b/Source/UI/Dialogs/UIMessageBox.cpp index 7f31fe568..017a94ea9 100644 --- a/Source/UI/Dialogs/UIMessageBox.cpp +++ b/Source/UI/Dialogs/UIMessageBox.cpp @@ -103,6 +103,7 @@ #include "Resource/MSGSTRINGID.h" +extern template std::vector::~vector(); extern template bool std::_Traits_equal>(const char*, std::size_t, const char*, std::size_t) noexcept; // GLOBAL: gl_25153 static const std::string s_messageBoxItemLinkOpening = ""; diff --git a/Source/UI/Text/ColoredText.cpp b/Source/UI/Text/ColoredText.cpp index 81f58a061..5fb3d10a5 100644 --- a/Source/UI/Text/ColoredText.cpp +++ b/Source/UI/Text/ColoredText.cpp @@ -11,6 +11,8 @@ #include #include +extern template std::string& std::string::insert(std::string::size_type, const char*, std::string::size_type); + // GLOBAL: gl_24512 unsigned char g_hexDigits[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,