Class StickerPackImpl
java.lang.Object
net.dv8tion.jda.internal.entities.sticker.StickerPackImpl
- All Implemented Interfaces:
ISnowflake
,StickerPack
-
Field Summary
Fields inherited from interface net.dv8tion.jda.api.entities.sticker.StickerPack
BANNER_URL
-
Constructor Summary
ConstructorsConstructorDescriptionStickerPackImpl
(long id, List<StandardSticker> stickers, String name, String description, long coverId, long bannerId, long skuId) -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
The id for the pack banner.long
The id of the sticker shown as cover.The description of the sticker packlong
The Snowflake id of this entity.getName()
The name of this pack.long
The stock-keeping unit (SKU) for this sticker pack.TheStandardStickers
in this pack.int
hashCode()
toString()
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getTimeCreated
Methods inherited from interface net.dv8tion.jda.api.entities.sticker.StickerPack
getBanner, getBannerId, getBannerUrl, getCoverId, getCoverSticker, getSkuId
-
Constructor Details
-
StickerPackImpl
public StickerPackImpl(long id, List<StandardSticker> stickers, String name, String description, long coverId, long bannerId, long skuId)
-
-
Method Details
-
getIdLong
public long getIdLong()Description copied from interface:ISnowflake
The Snowflake id of this entity. This is unique to every entity and will never change.- Specified by:
getIdLong
in interfaceISnowflake
- Returns:
- Long containing the Id.
-
getStickers
Description copied from interface:StickerPack
TheStandardStickers
in this pack.- Specified by:
getStickers
in interfaceStickerPack
- Returns:
- Immutable List of
StandardStickers
-
getName
Description copied from interface:StickerPack
The name of this pack.- Specified by:
getName
in interfaceStickerPack
- Returns:
- Pack name
-
getDescription
Description copied from interface:StickerPack
The description of the sticker pack- Specified by:
getDescription
in interfaceStickerPack
- Returns:
- The description
-
getCoverIdLong
public long getCoverIdLong()Description copied from interface:StickerPack
The id of the sticker shown as cover.- Specified by:
getCoverIdLong
in interfaceStickerPack
- Returns:
- The sticker id for the cover sticker, or
0
if there is no cover
-
getBannerIdLong
public long getBannerIdLong()Description copied from interface:StickerPack
The id for the pack banner.
This is shown when you at the top of the pack pop-out in the client.- Specified by:
getBannerIdLong
in interfaceStickerPack
- Returns:
- The banner id, or
0
if there is no banner
-
getSkuIdLong
public long getSkuIdLong()Description copied from interface:StickerPack
The stock-keeping unit (SKU) for this sticker pack.
This is used for store purchases, if there was a store to buy the pack from.- Specified by:
getSkuIdLong
in interfaceStickerPack
- Returns:
- The SKU id for this pack, or
0
if there is no SKU
-
toString
-
hashCode
public int hashCode() -
equals
-