using SptCommon.Annotations; using Core.Controllers; using Core.Models.Eft.Common; using Core.Models.Eft.ItemEvent; using Core.Models.Eft.Wishlist; namespace Core.Callbacks; [Injectable] public class WishlistCallbacks(WishlistController _wishlistController) { /// /// Handle AddToWishList event /// /// /// /// /// public ItemEventRouterResponse AddToWishlist(PmcData pmcData, AddToWishlistRequest info, string sessionID) { return _wishlistController.AddToWishList(pmcData, info, sessionID); } /// /// Handle RemoveFromWishList event /// /// /// /// /// public ItemEventRouterResponse RemoveFromWishlist(PmcData pmcData, RemoveFromWishlistRequest info, string sessionID) { return _wishlistController.RemoveFromWishList(pmcData, info, sessionID); } /// /// Handle ChangeWishlistItemCategory /// /// /// /// /// public ItemEventRouterResponse ChangeWishlistItemCategory(PmcData pmcData, ChangeWishlistItemCategoryRequest info, string sessionID) { return _wishlistController.ChangeWishListItemCategory(pmcData, info, sessionID); } }