diff --git a/Core/Models/Spt/Callbacks/ItemEventCallbacks.cs b/Core/Models/Spt/Callbacks/ItemEventCallbacks.cs index 9e5f2ade..49549a5d 100644 --- a/Core/Models/Spt/Callbacks/ItemEventCallbacks.cs +++ b/Core/Models/Spt/Callbacks/ItemEventCallbacks.cs @@ -2,5 +2,8 @@ public class ItemEventCallbacks { - + public GetBodyResponseData HandleEvents(string url, ItemEventRouterRequest info, string sessionID) + { + throw new NotImplementedException(); + } } \ No newline at end of file diff --git a/Core/Models/Spt/Callbacks/LauncherCallbacks.cs b/Core/Models/Spt/Callbacks/LauncherCallbacks.cs index 1bff8558..f7aac738 100644 --- a/Core/Models/Spt/Callbacks/LauncherCallbacks.cs +++ b/Core/Models/Spt/Callbacks/LauncherCallbacks.cs @@ -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(); + } } \ No newline at end of file diff --git a/Core/Models/Spt/Callbacks/LocationCallbacks.cs b/Core/Models/Spt/Callbacks/LocationCallbacks.cs index dd4322ae..803df66d 100644 --- a/Core/Models/Spt/Callbacks/LocationCallbacks.cs +++ b/Core/Models/Spt/Callbacks/LocationCallbacks.cs @@ -1,6 +1,16 @@ -namespace Core.Models.Spt.Callbacks; +using Core.Models.Eft.Common; + +namespace Core.Models.Spt.Callbacks; public class LocationCallbacks { - + public GetBodyResponseData GetLocationData(string url, object info, string sessionID) + { + throw new NotImplementedException(); + } + + public GetBodyResponseData GetLocation(string url, GetLocationRequestData info, string sessionID) + { + throw new NotImplementedException(); + } } \ No newline at end of file diff --git a/Core/Models/Spt/Callbacks/ModCallbacks.cs b/Core/Models/Spt/Callbacks/ModCallbacks.cs index fe2cf935..211906f6 100644 --- a/Core/Models/Spt/Callbacks/ModCallbacks.cs +++ b/Core/Models/Spt/Callbacks/ModCallbacks.cs @@ -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(); + } } \ No newline at end of file diff --git a/Core/Models/Spt/Callbacks/NoteCallbacks.cs b/Core/Models/Spt/Callbacks/NoteCallbacks.cs index 1727e4eb..920a0cde 100644 --- a/Core/Models/Spt/Callbacks/NoteCallbacks.cs +++ b/Core/Models/Spt/Callbacks/NoteCallbacks.cs @@ -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(); + } } \ No newline at end of file diff --git a/Core/Models/Spt/Callbacks/NotifierCallbacks.cs b/Core/Models/Spt/Callbacks/NotifierCallbacks.cs index 1b7ca1e7..d910aa65 100644 --- a/Core/Models/Spt/Callbacks/NotifierCallbacks.cs +++ b/Core/Models/Spt/Callbacks/NotifierCallbacks.cs @@ -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> GetNotifier(string url, object info, string sessionID) + { + throw new NotImplementedException(); + } + + public GetBodyResponseData CreateNotifierChannel(string url, EmptyRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public GetBodyResponseData SelectProfile(string url, UIDRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public string Notify(string url, object info, string sessionID) + { + throw new NotImplementedException(); + } } \ No newline at end of file diff --git a/Core/Models/Spt/Logging/LogBackgroundColor.cs b/Core/Models/Spt/Logging/LogBackgroundColor.cs index 5d30a33f..f5853895 100644 --- a/Core/Models/Spt/Logging/LogBackgroundColor.cs +++ b/Core/Models/Spt/Logging/LogBackgroundColor.cs @@ -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"; -} \ No newline at end of file +// TODO: this likely wont be used anymore, so commenting out insteaad of reimplementing \ No newline at end of file diff --git a/Core/Models/Spt/Logging/LogTextColor.cs b/Core/Models/Spt/Logging/LogTextColor.cs index 3c342812..cf7e1a20 100644 --- a/Core/Models/Spt/Logging/LogTextColor.cs +++ b/Core/Models/Spt/Logging/LogTextColor.cs @@ -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"; -} \ No newline at end of file +// TODO: this likely wont be used anymore, so commenting out insteaad of reimplementing \ No newline at end of file