Class StandardStickerImpl
java.lang.Object
net.dv8tion.jda.internal.entities.sticker.StickerItemImpl
net.dv8tion.jda.internal.entities.sticker.RichStickerImpl
net.dv8tion.jda.internal.entities.sticker.StandardStickerImpl
- All Implemented Interfaces:
ISnowflake
,RichSticker
,StandardSticker
,Sticker
,StickerItem
,StickerSnowflake
,StickerUnion
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.dv8tion.jda.api.entities.sticker.Sticker
Sticker.StickerFormat, Sticker.Type
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionStandardStickerImpl
(long id, Sticker.StickerFormat format, String name, Set<String> tags, String description, long packId, int sortValue) -
Method Summary
Modifier and TypeMethodDescriptionReturns the underlyingStandardSticker
if applicable.boolean
long
The ID of the pack the sticker is from.int
The sticker's sort order within its packint
hashCode()
toString()
Methods inherited from class net.dv8tion.jda.internal.entities.sticker.RichStickerImpl
asGuildSticker, getDescription, getTags, setDescription, setTags
Methods inherited from class net.dv8tion.jda.internal.entities.sticker.StickerItemImpl
getFormatType, getIdLong, getName, setName
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong, getTimeCreated
Methods inherited from interface net.dv8tion.jda.api.entities.sticker.RichSticker
getDescription, getTags
Methods inherited from interface net.dv8tion.jda.api.entities.sticker.StandardSticker
getPackId, getType
Methods inherited from interface net.dv8tion.jda.api.entities.sticker.Sticker
getFormatType, getIcon, getIconUrl, getName
-
Constructor Details
-
StandardStickerImpl
public StandardStickerImpl(long id, Sticker.StickerFormat format, String name, Set<String> tags, String description, long packId, int sortValue)
-
-
Method Details
-
asStandardSticker
Description copied from interface:StickerUnion
Returns the underlyingStandardSticker
if applicable.- Specified by:
asStandardSticker
in interfaceStickerUnion
- Overrides:
asStandardSticker
in classRichStickerImpl
- Returns:
- The
StandardSticker
-
getPackIdLong
public long getPackIdLong()Description copied from interface:StandardSticker
The ID of the pack the sticker is from.- Specified by:
getPackIdLong
in interfaceStandardSticker
- Returns:
- the ID of the pack the sticker is from
-
getSortValue
public int getSortValue()Description copied from interface:StandardSticker
The sticker's sort order within its pack- Specified by:
getSortValue
in interfaceStandardSticker
- Returns:
- The sort order value
-
toString
- Overrides:
toString
in classRichStickerImpl
-
hashCode
public int hashCode()- Overrides:
hashCode
in classStickerItemImpl
-
equals
- Overrides:
equals
in classStickerItemImpl
-