mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-11 23:58:08 -05:00
define new event types
This commit is contained in:
17
SharedLibraryCore/Events/Server/ServerValueRequestEvent.cs
Normal file
17
SharedLibraryCore/Events/Server/ServerValueRequestEvent.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using SharedLibraryCore.Interfaces;
|
||||
|
||||
namespace SharedLibraryCore.Events.Server;
|
||||
|
||||
public class ServerValueRequestEvent : GameServerEvent
|
||||
{
|
||||
public ServerValueRequestEvent(string valueName, IGameServer server)
|
||||
{
|
||||
ValueName = valueName;
|
||||
Server = server;
|
||||
}
|
||||
|
||||
public string ValueName { get; init; }
|
||||
public int? DelayMs { get; init; }
|
||||
public int? TimeoutMs { get; init; }
|
||||
public string FallbackValue { get; init; }
|
||||
}
|
Reference in New Issue
Block a user