C# Class Namiko.WaifuUtil

Datei anzeigen Open project: ta1H3n/Namiko Class Usage Examples

Public Methods

Method Description
CreateNewShop ( ulong guildId, ShopType type ) : Task
GenerateGachaShopList ( ulong guildId ) : Task>
GenerateWaifuShopList ( ulong guildId ) : Task>
GetGachaSources ( ) : List
GetShop ( ulong guildId, ShopType type, bool overrideNew = false ) : Task
NewShopEmbed ( List waifus, string prefix, ulong guildId, ShopType type = ShopType.Waifu ) : EmbedBuilder
NotifyWishlist ( IEnumerable waifus, ulong guildId ) : Task
OrderWaifuShop ( List waifus, ShopType type ) : List
OrderWaifuShop ( WaifuShop shop ) : WaifuShop
PaginatedShopMessage ( IEnumerable waifus, int pageSize, string prefix, ulong guildId, ShopType type = ShopType.Waifu ) : Namiko.CustomPaginatedMessage

Method Details

CreateNewShop() public static method

public static CreateNewShop ( ulong guildId, ShopType type ) : Task
guildId ulong
type ShopType
return Task

GenerateGachaShopList() public static method

public static GenerateGachaShopList ( ulong guildId ) : Task>
guildId ulong
return Task>

GenerateWaifuShopList() public static method

public static GenerateWaifuShopList ( ulong guildId ) : Task>
guildId ulong
return Task>

GetGachaSources() public static method

public static GetGachaSources ( ) : List
return List

GetShop() public static method

public static GetShop ( ulong guildId, ShopType type, bool overrideNew = false ) : Task
guildId ulong
type ShopType
overrideNew bool
return Task

NewShopEmbed() public static method

public static NewShopEmbed ( List waifus, string prefix, ulong guildId, ShopType type = ShopType.Waifu ) : EmbedBuilder
waifus List
prefix string
guildId ulong
type ShopType
return EmbedBuilder

NotifyWishlist() public static method

public static NotifyWishlist ( IEnumerable waifus, ulong guildId ) : Task
waifus IEnumerable
guildId ulong
return Task

OrderWaifuShop() public static method

public static OrderWaifuShop ( List waifus, ShopType type ) : List
waifus List
type ShopType
return List

OrderWaifuShop() public static method

public static OrderWaifuShop ( WaifuShop shop ) : WaifuShop
shop WaifuShop
return WaifuShop

PaginatedShopMessage() public static method

public static PaginatedShopMessage ( IEnumerable waifus, int pageSize, string prefix, ulong guildId, ShopType type = ShopType.Waifu ) : Namiko.CustomPaginatedMessage
waifus IEnumerable
pageSize int
prefix string
guildId ulong
type ShopType
return Namiko.CustomPaginatedMessage