mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-12 16:18:07 -05:00
initial framework for gsc + iw4madmin integration
improvements to script plugin capabilities and error feedback
This commit is contained in:
15
SharedLibraryCore/Interfaces/IScriptPluginTimerHelper.cs
Normal file
15
SharedLibraryCore/Interfaces/IScriptPluginTimerHelper.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
|
||||
namespace SharedLibraryCore.Interfaces;
|
||||
|
||||
public interface IScriptPluginTimerHelper
|
||||
{
|
||||
void Start(int delay, int interval);
|
||||
void Start(int interval);
|
||||
void Start();
|
||||
void Stop();
|
||||
void OnTick(Delegate action, string actionName);
|
||||
bool IsRunning { get; }
|
||||
void SetDependency(SemaphoreSlim dependentSemaphore);
|
||||
}
|
Reference in New Issue
Block a user