From 3bf3d1527a416ef31eb12cf46010ac9919016ee4 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Thu, 25 Jan 2024 22:13:44 +0800 Subject: [PATCH] [server] Add `CFilterScripts::LoadFilterScript` stub --- server/filterscripts.cpp | 6 ++++++ server/filterscripts.h | 1 + 2 files changed, 7 insertions(+) diff --git a/server/filterscripts.cpp b/server/filterscripts.cpp index f4df621..aa7f60d 100644 --- a/server/filterscripts.cpp +++ b/server/filterscripts.cpp @@ -13,6 +13,12 @@ CFilterScripts::~CFilterScripts() UnloadFilterScripts(); } +bool CFilterScripts::LoadFilterScript(char* pFileName) +{ + // TODO: CFilterScripts::LoadFilterScript + return false; +} + void CFilterScripts::UnloadFilterScripts() { // TODO: CFilterScripts::UnloadFilterScripts W .text:0046CEB0 L .text:080A15B0 diff --git a/server/filterscripts.h b/server/filterscripts.h index 9ad9377..bfb9a2b 100644 --- a/server/filterscripts.h +++ b/server/filterscripts.h @@ -14,6 +14,7 @@ public: CFilterScripts(); ~CFilterScripts(); + bool LoadFilterScript(char* pFileName); void UnloadFilterScripts(); };