-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from kenter7317/master
Chzzk 채널 구독자용 이모티콘 가져오기
- Loading branch information
Showing
4 changed files
with
93 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
src/main/java/xyz/r2turntrue/chzzk4j/types/channel/emoticon/ChzzkChannelEmotePackData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package xyz.r2turntrue.chzzk4j.types.channel.emoticon; | ||
|
||
import java.util.List; | ||
|
||
public class ChzzkChannelEmotePackData { | ||
private String emojiPackId; | ||
private String emojiPackName; | ||
private String emojiPackImageUrl; | ||
private boolean emojiPackLocked; | ||
private List<ChzzkChannelEmoticonData> emojis; | ||
|
||
private ChzzkChannelEmotePackData() {} | ||
|
||
/** | ||
* Get the pack's id. | ||
*/ | ||
public String getPackId() { | ||
return emojiPackId; | ||
} | ||
|
||
/** | ||
* Get the name of the pack. | ||
*/ | ||
public String getPackName() { | ||
return emojiPackName; | ||
} | ||
|
||
/** | ||
* Get url of the pack's image. | ||
*/ | ||
public String getPackImageUrl() { | ||
return emojiPackImageUrl; | ||
} | ||
|
||
/** | ||
* Get the emoticons data of the pack. | ||
*/ | ||
|
||
public List<ChzzkChannelEmoticonData> getEmojis() { | ||
return emojis; | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
src/main/java/xyz/r2turntrue/chzzk4j/types/channel/emoticon/ChzzkChannelEmoticonData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package xyz.r2turntrue.chzzk4j.types.channel.emoticon; | ||
|
||
public class ChzzkChannelEmoticonData { | ||
private String emojiId; | ||
private String imageUrl; | ||
|
||
private ChzzkChannelEmoticonData() {} | ||
|
||
/** | ||
* Get the emoticon's id. | ||
*/ | ||
public String getEmoticonId() { | ||
return emojiId; | ||
} | ||
|
||
/** | ||
* Get url of the emoticon's image. | ||
*/ | ||
public String getEmoticonImageUrl() { | ||
return imageUrl; | ||
} | ||
} |