Merge pull request #5 from CWXDEV/main

finish of callback types
This commit is contained in:
clodanSPT
2025-01-06 19:09:47 +00:00
committed by GitHub
10 changed files with 201 additions and 9 deletions
+24 -1
View File
@@ -2,5 +2,28 @@
public class PresetBuildCallbacks
{
public GetBodyResponseData<List<WeaponBuild>> 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();
}
}
+4 -1
View File
@@ -2,5 +2,8 @@
public class PresetCallbacks
{
public void Load()
{
throw new NotImplementedException();
}
}
+48
View File
@@ -2,5 +2,53 @@
public class ProfileCallbacks
{
public object OnLoad(string sessionID)
{
throw new NotImplementedException();
}
public GetBodyResponseData<object> CreateProfile(string url, ProfileCreateRequestData info, string sessionID)
{
throw new NotImplementedException();
}
public GetBodyResponseData<object> GetProfileData(string url, EmptyRequestData info, string sessionID)
{
throw new NotImplementedException();
}
public GetBodyResponseData<object> RegenerateScav(string url, EmptyRequestData info, string sessionID)
{
throw new NotImplementedException();
}
public NullResponseData ChangeVoice(string url, ProfileChangeVoiceRequestData info, string sessionID)
{
throw new NotImplementedException();
}
public GetBodyResponseData<object> ChangeNickname(string url, ProfileChangeNicknameRequestData info, string sessionID)
{
throw new NotImplementedException();
}
public GetBodyResponseData<object> ValidateNickname(string url, ValidateNicknameRequestData info, string sessionID)
{
throw new NotImplementedException();
}
public GetBodyResponseData<string> GetReservedNickname(string url, EmptyRequestData info, string sessionID)
{
throw new NotImplementedException();
}
public GetBodyResponseData<object> GetProfileStatus(string url, EmptyRequestData info, string sessionID)
{
throw new NotImplementedException();
}
public GetBodyResponseData<SearchFriendResponse> SearchFriend(string url, SearchFriendRequestData info, string sessionID)
{
throw new NotImplementedException();
}
}
+32 -2
View File
@@ -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<List<Quest>> ListQuests(string url, ListQuestsRequestData info, string sessionID)
{
throw new NotImplementedException();
}
public GetBodyResponseData<List<PmcDataRepeatableQuest>> ActivityPeriods(string url, EmptyRequestData info, string sessionID)
{
throw new NotImplementedException();
}
}
+38
View File
@@ -2,5 +2,43 @@
public class RagfairCallbacks
{
public void Load()
{
throw new NotImplementedException();
}
public GetBodyResponseData<object> Search(string url, SearchRequestData info, string sessionID)
{
throw new NotImplementedException();
}
public GetBodyResponseData<GetItemPriceResult> GetMarketPrice(string url, GetMarketPriceRequestData info, string sessionID)
{
throw new NotImplementedException();
}
public GetBodyResponseData<object> 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();
}
}
+9 -1
View File
@@ -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();
}
}
+9 -1
View File
@@ -2,5 +2,13 @@
public class SaveCallbacks
{
public void Load()
{
throw new NotImplementedException();
}
public bool Update(int SecondsSinceLastRun)
{
throw new NotImplementedException();
}
}
+9 -1
View File
@@ -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();
}
}
+24 -1
View File
@@ -2,5 +2,28 @@
public class TraderCallbacks
{
public void Load()
{
throw new NotImplementedException();
}
public GetBodyResponseData<List<TraderBase>> GetTraderSettings(string url, EmptyRequestData info, string sessionID)
{
throw new NotImplementedException();
}
public GetBodyResponseData<TraderBase> GetTrader(string url, EmptyRequestData info, string sessionID)
{
throw new NotImplementedException();
}
public GetBodyResponseData<TraderAssort> GetAssort(string url, EmptyRequestData info, string sessionID)
{
throw new NotImplementedException();
}
public bool Update()
{
throw new NotImplementedException();
}
}
+4 -1
View File
@@ -2,5 +2,8 @@
public class WeatherCallbacks
{
public GetBodyResponseData<object> GetWeather(string url, EmptyRequestData info, string sessionID)
{
throw new NotImplementedException();
}
}