File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313namespace API
1414{
15- PluginManager::PluginManager ()
16- {
17- // ArkApi::GetCommands().AddOnTimerCallback(L"PluginManager.DetectPluginChangesTimerCallback", &DetectPluginChangesTimerCallback);
18- }
19-
2015 PluginManager& PluginManager::Get ()
2116 {
2217 static PluginManager instance;
@@ -377,27 +372,4 @@ namespace API
377372 }
378373 }
379374 }
380-
381- void PluginManager::ProcessPendingAutoReload ()
382- {
383- if (auto_reload_pending_plugins_.size () == 0 )
384- return ;
385-
386- for (auto it = auto_reload_pending_plugins_.begin (); it != auto_reload_pending_plugins_.end (); it++)
387- {
388- const std::string filename = *it;
389-
390- try
391- {
392-
393- }
394- catch (const std::exception& ex)
395- {
396- Log::GetLog ()->warn (" ({}) {}" , __FUNCTION__, ex.what ());
397- continue ;
398- }
399- }
400-
401- auto_reload_pending_plugins_.empty ();
402- }
403375} // namespace API
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ namespace API
8383 */
8484 static void DetectPluginChangesTimerCallback ();
8585 private:
86- PluginManager ();
86+ PluginManager () = default ;
8787 ~PluginManager () = default ;
8888
8989 static nlohmann::json ReadPluginInfo (const std::string& plugin_name);
@@ -93,7 +93,6 @@ namespace API
9393 void CheckPluginsDependencies ();
9494
9595 void DetectPluginChanges ();
96- void ProcessPendingAutoReload ();
9796
9897 std::vector<std::shared_ptr<Plugin>> loaded_plugins_;
9998
@@ -102,8 +101,5 @@ namespace API
102101 int reload_sleep_seconds_{5 };
103102 bool save_world_before_reload_{true };
104103 time_t next_reload_check_{5 };
105-
106- // Auto reload variable to delay auto loading of the plugin
107- std::vector<std::string> auto_reload_pending_plugins_;
108104 };
109105} // namespace API
Original file line number Diff line number Diff line change @@ -8880,8 +8880,6 @@ struct APrimalBuff : AActor
88808880
88818881struct APrimalBuff_Grappled : APrimalBuff
88828882{
8883- TArray<FGrappleTether>& CurrentGrappleTethersField() { return *GetNativePointerField<TArray<FGrappleTether>*>(this, "APrimalBuff_Grappled.CurrentGrappleTethers"); }
8884-
88858883 // Functions
88868884
88878885 void BreakAllTethers() { NativeCall<void>(this, "APrimalBuff_Grappled.BreakAllTethers"); }
You can’t perform that action at this time.
0 commit comments