Files
SPT-Server-Build/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/Commando/IChatCommand.cs
T
Jesse b6692fead4 Chatbot async improvements (#446)
* Add better chatbot handling by making them asynchronous

Removes the need for having RunInTimespan as await Task.Delay now can handle this

* Remove now unused classes

* Handle commando's commands with ValueTask

* Set values as not nullable, client sends all of these
2025-07-04 18:04:37 +01:00

18 lines
480 B
C#

using SPTarkov.Server.Core.Models.Eft.Dialog;
using SPTarkov.Server.Core.Models.Eft.Profile;
namespace SPTarkov.Server.Core.Helpers.Dialog.Commando;
public interface IChatCommand
{
public string GetCommandPrefix();
public string GetCommandHelp(string command);
public List<string> GetCommands();
public ValueTask<string> Handle(
string command,
UserDialogInfo commandHandler,
string sessionId,
SendMessageRequest request
);
}