more types
This commit is contained in:
@@ -2,5 +2,8 @@
|
||||
|
||||
public class ItemEventCallbacks
|
||||
{
|
||||
|
||||
public GetBodyResponseData<ItemEventRouterResponse> HandleEvents(string url, ItemEventRouterRequest info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
@@ -2,5 +2,68 @@
|
||||
|
||||
public class LauncherCallbacks
|
||||
{
|
||||
|
||||
public string Connect()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string Login(string url, LoginRequestData info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string Register(string url, RegisterData info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string Get(string url, LoginRequestData info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string ChangeUsername(string url, ChangeRequestData info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string ChangePassword(string url, ChangeRequestData info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string Wipe(string url, RegisterData info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string GetMiniProfile(string url, GetMiniProfileRequestData info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string GetAllMiniProfiles(string url, object info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string GetServerVersion()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string Ping(string url, object info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string RemoveProfile(string url, RemoveProfileData info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string GetCompatibleTarkovVersion()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,16 @@
|
||||
namespace Core.Models.Spt.Callbacks;
|
||||
using Core.Models.Eft.Common;
|
||||
|
||||
namespace Core.Models.Spt.Callbacks;
|
||||
|
||||
public class LocationCallbacks
|
||||
{
|
||||
|
||||
public GetBodyResponseData<LocationsGenerateAllResponse> GetLocationData(string url, object info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public GetBodyResponseData<LocationBase> GetLocation(string url, GetLocationRequestData info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
@@ -2,5 +2,23 @@
|
||||
|
||||
public class ModCallbacks
|
||||
{
|
||||
|
||||
public void Load()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void SendBundle(string sessionID, object req, object resp, object body)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string GetBundles(string url, object info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string GetBundle(string url, object info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
@@ -2,5 +2,18 @@
|
||||
|
||||
public class NoteCallbacks
|
||||
{
|
||||
|
||||
public ItemEventRouterResponse AddNote(PmcData pmcData, NoteActionData info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public ItemEventRouterResponse EditNote(PmcData pmcData, NoteActionData info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public ItemEventRouterResponse DeleteNote(PmcData pmcData, NoteActionData info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
@@ -2,5 +2,34 @@
|
||||
|
||||
public class NotifierCallbacks
|
||||
{
|
||||
|
||||
/**
|
||||
* If we don't have anything to send, it's ok to not send anything back
|
||||
* because notification requests can be long-polling. In fact, we SHOULD wait
|
||||
* until we actually have something to send because otherwise we'd spam the client
|
||||
* and the client would abort the connection due to spam.
|
||||
*/
|
||||
public void SendNotification(string sessionID, object req, object resp, object data)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public GetBodyResponseData<List<object>> GetNotifier(string url, object info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public GetBodyResponseData<NotifierChannel> CreateNotifierChannel(string url, EmptyRequestData info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public GetBodyResponseData<object> SelectProfile(string url, UIDRequestData info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string Notify(string url, object info, string sessionID)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
@@ -1,14 +1,16 @@
|
||||
namespace Core.Models.Spt.Logging;
|
||||
// namespace Core.Models.Spt.Logging;
|
||||
//
|
||||
// public struct LogBackgroundColor
|
||||
// {
|
||||
// public const string DEFAULT = "";
|
||||
// public const string BLACK = "blackBG";
|
||||
// public const string RED = "redBG";
|
||||
// public const string GREEN = "greenBG";
|
||||
// public const string YELLOW = "yellowBG";
|
||||
// public const string BLUE = "blueBG";
|
||||
// public const string MAGENTA = "magentaBG";
|
||||
// public const string CYAN = "cyanBG";
|
||||
// public const string WHITE = "whiteBG";
|
||||
// }
|
||||
|
||||
public struct LogBackgroundColor
|
||||
{
|
||||
public const string DEFAULT = "";
|
||||
public const string BLACK = "blackBG";
|
||||
public const string RED = "redBG";
|
||||
public const string GREEN = "greenBG";
|
||||
public const string YELLOW = "yellowBG";
|
||||
public const string BLUE = "blueBG";
|
||||
public const string MAGENTA = "magentaBG";
|
||||
public const string CYAN = "cyanBG";
|
||||
public const string WHITE = "whiteBG";
|
||||
}
|
||||
// TODO: this likely wont be used anymore, so commenting out insteaad of reimplementing
|
||||
@@ -1,14 +1,16 @@
|
||||
namespace Core.Models.Spt.Logging;
|
||||
// namespace Core.Models.Spt.Logging;
|
||||
//
|
||||
// public struct LogTextColor
|
||||
// {
|
||||
// public const string BLACK = "black";
|
||||
// public const string RED = "red";
|
||||
// public const string GREEN = "green";
|
||||
// public const string YELLOW = "yellow";
|
||||
// public const string BLUE = "blue";
|
||||
// public const string MAGENTA = "Magenta";
|
||||
// public const string CYAN = "cyan";
|
||||
// public const string WHITE = "white";
|
||||
// public const string GRAY = "gray";
|
||||
// }
|
||||
|
||||
public struct LogTextColor
|
||||
{
|
||||
public const string BLACK = "black";
|
||||
public const string RED = "red";
|
||||
public const string GREEN = "green";
|
||||
public const string YELLOW = "yellow";
|
||||
public const string BLUE = "blue";
|
||||
public const string MAGENTA = "Magenta";
|
||||
public const string CYAN = "cyan";
|
||||
public const string WHITE = "white";
|
||||
public const string GRAY = "gray";
|
||||
}
|
||||
// TODO: this likely wont be used anymore, so commenting out insteaad of reimplementing
|
||||
Reference in New Issue
Block a user