From 4f62c701691f6c33d9312c629d4cc1858b5d20da Mon Sep 17 00:00:00 2001 From: CWX Date: Mon, 6 Jan 2025 19:05:31 +0000 Subject: [PATCH] more types --- Core/Callbacks/PresetBuildCallbacks.cs | 25 +++++++++++++- Core/Callbacks/PresetCallbacks.cs | 5 ++- Core/Callbacks/ProfileCallbacks.cs | 48 ++++++++++++++++++++++++++ Core/Callbacks/QuestCallbacks.cs | 34 ++++++++++++++++-- Core/Callbacks/RagfairCallbacks.cs | 38 ++++++++++++++++++++ Core/Callbacks/RepairCallbacks.cs | 10 +++++- Core/Callbacks/SaveCallbacks.cs | 10 +++++- Core/Callbacks/TradeCallbacks.cs | 10 +++++- Core/Callbacks/TraderCallbacks.cs | 25 +++++++++++++- Core/Callbacks/WeatherCallbacks.cs | 5 ++- 10 files changed, 201 insertions(+), 9 deletions(-) diff --git a/Core/Callbacks/PresetBuildCallbacks.cs b/Core/Callbacks/PresetBuildCallbacks.cs index 761fcb14..b978fd09 100644 --- a/Core/Callbacks/PresetBuildCallbacks.cs +++ b/Core/Callbacks/PresetBuildCallbacks.cs @@ -2,5 +2,28 @@ public class PresetBuildCallbacks { - + public GetBodyResponseData> GetHandbookUserList(string url, object info, string sessionID) + { + throw new NotImplementedException(); + } + + public ItemEventRouterResponse SaveWeaponBuild(PmcData pmcData, PresetBuildActionRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public ItemEventRouterResponse RemoveWeaponBuild(PmcData pmcData, PresetBuildActionRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public ItemEventRouterResponse SaveEquipmentBuild(PmcData pmcData, PresetBuildActionRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public ItemEventRouterResponse RemoveEquipmentBuild(PmcData pmcData, PresetBuildActionRequestData info, string sessionID) + { + throw new NotImplementedException(); + } } \ No newline at end of file diff --git a/Core/Callbacks/PresetCallbacks.cs b/Core/Callbacks/PresetCallbacks.cs index 4559f3ab..1aaec89e 100644 --- a/Core/Callbacks/PresetCallbacks.cs +++ b/Core/Callbacks/PresetCallbacks.cs @@ -2,5 +2,8 @@ public class PresetCallbacks { - + public void Load() + { + throw new NotImplementedException(); + } } \ No newline at end of file diff --git a/Core/Callbacks/ProfileCallbacks.cs b/Core/Callbacks/ProfileCallbacks.cs index 093edd06..d2ae3a27 100644 --- a/Core/Callbacks/ProfileCallbacks.cs +++ b/Core/Callbacks/ProfileCallbacks.cs @@ -2,5 +2,53 @@ public class ProfileCallbacks { + public object OnLoad(string sessionID) + { + throw new NotImplementedException(); + } + + public GetBodyResponseData CreateProfile(string url, ProfileCreateRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public GetBodyResponseData GetProfileData(string url, EmptyRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + public GetBodyResponseData RegenerateScav(string url, EmptyRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public NullResponseData ChangeVoice(string url, ProfileChangeVoiceRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public GetBodyResponseData ChangeNickname(string url, ProfileChangeNicknameRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public GetBodyResponseData ValidateNickname(string url, ValidateNicknameRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public GetBodyResponseData GetReservedNickname(string url, EmptyRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public GetBodyResponseData GetProfileStatus(string url, EmptyRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public GetBodyResponseData SearchFriend(string url, SearchFriendRequestData info, string sessionID) + { + throw new NotImplementedException(); + } } \ No newline at end of file diff --git a/Core/Callbacks/QuestCallbacks.cs b/Core/Callbacks/QuestCallbacks.cs index 1a78ddb6..f73c6f7e 100644 --- a/Core/Callbacks/QuestCallbacks.cs +++ b/Core/Callbacks/QuestCallbacks.cs @@ -1,6 +1,36 @@ -namespace Core.Callbacks; +using Core.Models.Eft.Common.Tables; + +namespace Core.Callbacks; public class QuestCallbacks { - + public ItemEventRouterResponse ChangeRepeatableQuest(PmcData pmcData, RepeatableQuestChangeRequest info, string sessionID) + { + throw new NotImplementedException(); + } + + public ItemEventRouterResponse AcceptQuest(PmcData pmcData, AcceptQuestRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public ItemEventRouterResponse CompleteQuest(PmcData pmcData, CompleteQuestRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public ItemEventRouterResponse HandoverQuest(PmcData pmcData, HandoverQuestRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public GetBodyResponseData> ListQuests(string url, ListQuestsRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public GetBodyResponseData> ActivityPeriods(string url, EmptyRequestData info, string sessionID) + { + throw new NotImplementedException(); + } } \ No newline at end of file diff --git a/Core/Callbacks/RagfairCallbacks.cs b/Core/Callbacks/RagfairCallbacks.cs index 9979e56a..d49f9cff 100644 --- a/Core/Callbacks/RagfairCallbacks.cs +++ b/Core/Callbacks/RagfairCallbacks.cs @@ -2,5 +2,43 @@ public class RagfairCallbacks { + public void Load() + { + throw new NotImplementedException(); + } + + public GetBodyResponseData Search(string url, SearchRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public GetBodyResponseData GetMarketPrice(string url, GetMarketPriceRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public GetBodyResponseData GetItemPrices(string url, EmptyRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public ItemEventRouterResponse AddOffer(string url, AddOfferRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + public ItemEventRouterResponse ExtendOffer(string url, ExtendOfferRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public bool Update(int timeSinceLastRun) + { + throw new NotImplementedException(); + } + + public bool UpdatePlayer(int timeSinceLastRun) + { + throw new NotImplementedException(); + } } \ No newline at end of file diff --git a/Core/Callbacks/RepairCallbacks.cs b/Core/Callbacks/RepairCallbacks.cs index 6507fcff..aabe0a89 100644 --- a/Core/Callbacks/RepairCallbacks.cs +++ b/Core/Callbacks/RepairCallbacks.cs @@ -2,5 +2,13 @@ public class RepairCallbacks { - + public ItemEventRouterResponse TraderRepair(PmcData pmcData, TraderRepairActionDataRequest info, string sessionID) + { + throw new NotImplementedException(); + } + + public ItemEventRouterResponse Repair(PmcData pmcData, RepairActionDataRequest info, string sessionID) + { + throw new NotImplementedException(); + } } \ No newline at end of file diff --git a/Core/Callbacks/SaveCallbacks.cs b/Core/Callbacks/SaveCallbacks.cs index 75eff699..2658de03 100644 --- a/Core/Callbacks/SaveCallbacks.cs +++ b/Core/Callbacks/SaveCallbacks.cs @@ -2,5 +2,13 @@ public class SaveCallbacks { - + public void Load() + { + throw new NotImplementedException(); + } + + public bool Update(int SecondsSinceLastRun) + { + throw new NotImplementedException(); + } } \ No newline at end of file diff --git a/Core/Callbacks/TradeCallbacks.cs b/Core/Callbacks/TradeCallbacks.cs index 26efa447..a234400c 100644 --- a/Core/Callbacks/TradeCallbacks.cs +++ b/Core/Callbacks/TradeCallbacks.cs @@ -2,5 +2,13 @@ public class TradeCallbacks { - + public ItemEventRouterReponse ProcessTrade(PmcData pmcData, ProcessBaseTradeRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public ItemEventRouterResponse ProcessRagfairTrade(PmcData pmcData, ProcessRagfairTradeRequestData info, string sessionID) + { + throw new NotImplementedException(); + } } \ No newline at end of file diff --git a/Core/Callbacks/TraderCallbacks.cs b/Core/Callbacks/TraderCallbacks.cs index bba0677b..da66dc57 100644 --- a/Core/Callbacks/TraderCallbacks.cs +++ b/Core/Callbacks/TraderCallbacks.cs @@ -2,5 +2,28 @@ public class TraderCallbacks { - + public void Load() + { + throw new NotImplementedException(); + } + + public GetBodyResponseData> GetTraderSettings(string url, EmptyRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public GetBodyResponseData GetTrader(string url, EmptyRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public GetBodyResponseData GetAssort(string url, EmptyRequestData info, string sessionID) + { + throw new NotImplementedException(); + } + + public bool Update() + { + throw new NotImplementedException(); + } } \ No newline at end of file diff --git a/Core/Callbacks/WeatherCallbacks.cs b/Core/Callbacks/WeatherCallbacks.cs index 54afb985..a53b8c9c 100644 --- a/Core/Callbacks/WeatherCallbacks.cs +++ b/Core/Callbacks/WeatherCallbacks.cs @@ -2,5 +2,8 @@ public class WeatherCallbacks { - + public GetBodyResponseData GetWeather(string url, EmptyRequestData info, string sessionID) + { + throw new NotImplementedException(); + } } \ No newline at end of file