#nullable disable namespace NadekoBot.Modules.Gambling.Services; public interface IShopService { /// /// Changes the price of a shop item /// /// Id of the guild in which the shop is /// Index of the item /// New item price /// Success status Task ChangeEntryPriceAsync(ulong guildId, int index, int newPrice); /// /// Changes the name of a shop item /// /// Id of the guild in which the shop is /// Index of the item /// New item name /// Success status Task ChangeEntryNameAsync(ulong guildId, int index, string newName); /// /// Swaps indexes of 2 items in the shop /// /// Id of the guild in which the shop is /// First entry's index /// Second entry's index /// Whether swap was successful Task SwapEntriesAsync(ulong guildId, int index1, int index2); /// /// Swaps indexes of 2 items in the shop /// /// Id of the guild in which the shop is /// Current index of the entry to move /// Destination index of the entry /// Whether swap was successful Task MoveEntryAsync(ulong guildId, int fromIndex, int toIndex); }