From ef32d6f17b5099e6507229547bbc501653b31fe2 Mon Sep 17 00:00:00 2001 From: hzqst <113660872@qq.com> Date: Thu, 1 Feb 2024 18:12:04 +0800 Subject: [PATCH] Add missing args in KeyValues_LoadFromFile. --- Plugins/CaptionMod/GameUI.cpp | 2 +- Plugins/Renderer/GameUI.cpp | 2 +- Plugins/SCModelDownloader/GameUI.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Plugins/CaptionMod/GameUI.cpp b/Plugins/CaptionMod/GameUI.cpp index 2f1fe8c2..584fcb4b 100644 --- a/Plugins/CaptionMod/GameUI.cpp +++ b/Plugins/CaptionMod/GameUI.cpp @@ -306,7 +306,7 @@ class CVGUI2Extension_GameUIKeyValuesCallbacks : public IVGUI2Extension_GameUIKe return 0; } - void KeyValues_LoadFromFile(void*& pthis, IFileSystem*& pFileSystem, const char*& resourceName, const char*& pathId, VGUI2Extension_CallbackContext* CallbackContext) + void KeyValues_LoadFromFile(void*& pthis, IFileSystem*& pFileSystem, const char*& resourceName, const char*& pathId, const char *sourceModule, VGUI2Extension_CallbackContext* CallbackContext) { #if 0 if (CallbackContext->IsPost && !stricmp(resourceName, "resource/GameMenu.res")) diff --git a/Plugins/Renderer/GameUI.cpp b/Plugins/Renderer/GameUI.cpp index 1d683d91..79be2e77 100644 --- a/Plugins/Renderer/GameUI.cpp +++ b/Plugins/Renderer/GameUI.cpp @@ -371,7 +371,7 @@ class CVGUI2Extension_GameUIKeyValuesCallbacks : public IVGUI2Extension_GameUIKe return 0; } - void KeyValues_LoadFromFile(void*& pthis, IFileSystem*& pFileSystem, const char*& resourceName, const char*& pathId, VGUI2Extension_CallbackContext* CallbackContext) + void KeyValues_LoadFromFile(void*& pthis, IFileSystem*& pFileSystem, const char*& resourceName, const char*& pathId, const char* sourceModule, VGUI2Extension_CallbackContext* CallbackContext) { } diff --git a/Plugins/SCModelDownloader/GameUI.cpp b/Plugins/SCModelDownloader/GameUI.cpp index 9eea5849..78ba8aae 100644 --- a/Plugins/SCModelDownloader/GameUI.cpp +++ b/Plugins/SCModelDownloader/GameUI.cpp @@ -201,7 +201,7 @@ class CVGUI2Extension_GameUIKeyValuesCallbacks : public IVGUI2Extension_GameUIKe return 0; } - void KeyValues_LoadFromFile(void*& pthis, IFileSystem*& pFileSystem, const char*& resourceName, const char*& pathId, VGUI2Extension_CallbackContext* CallbackContext) + void KeyValues_LoadFromFile(void*& pthis, IFileSystem*& pFileSystem, const char*& resourceName, const char*& pathId, const char* sourceModule, VGUI2Extension_CallbackContext* CallbackContext) { }