类 DgbMsg
java.lang.Object
tech.ordinaryroad.live.chat.client.codec.douyu.msg.base.BaseDouyuCmdMsg
tech.ordinaryroad.live.chat.client.codec.douyu.msg.DgbMsg
- 所有已实现的接口:
Serializable,IDouyuMsg,ICmdMsg<DouyuCmdEnum>,IGiftMsg,IMsg
收到礼物消息
{
"type": "dgb",
"nn": "用户名",
"eid": "0",
"bst": "32",
"brid": "0",
"pma": "186963537",
"bnid": "1",
"gfid": "824",
"bl": "0",
"pid": "268",
"rid": "290935",
"mss": "186963457",
"bcst": "2",
"uid": "用户id",
"receive_uid": "接受用户id",
"ic": ["avatar_v3", "201912", "d031765fbe764a49887083bcf200da0b"],
"from": "2",
"gpf": "1",
"bnl": "1",
"ce": "1",
"bnn": null,
"receive_nn": "接受用户用户名",
"level": "43",
"bcnt": "1",
"gs": "0",
"hits": "249",
"gfcnt": "249",
"ct": "0",
"pfm": "27585",
"sahf": "0",
"hc": null,
"fc": "0",
"eic": "0"
}
- 作者:
- mjz
- 另请参阅:
-
构造器概要
构造器 -
方法概要
从类继承的方法 tech.ordinaryroad.live.chat.client.codec.douyu.msg.base.BaseDouyuCmdMsg
getCmd, getCmdEnum, getUnknownProperties, setCmd, setOther, toString
-
构造器详细资料
-
DgbMsg
public DgbMsg()
-
-
方法详细资料
-
getType
-
getBadgeName
- 指定者:
getBadgeName在接口中IGiftMsg
-
getBadgeLevel
public byte getBadgeLevel()- 指定者:
getBadgeLevel在接口中IGiftMsg
-
getUsername
- 指定者:
getUsername在接口中IGiftMsg
-
getUserAvatar
- 指定者:
getUserAvatar在接口中IGiftMsg
-
getGiftName
- 指定者:
getGiftName在接口中IGiftMsg
-
getGiftImg
- 指定者:
getGiftImg在接口中IGiftMsg
-
getGiftId
-
getGiftCount
public int getGiftCount()- 指定者:
getGiftCount在接口中IGiftMsg
-
getGiftPrice
public int getGiftPrice()100 => 1鱼翅- 指定者:
getGiftPrice在接口中IGiftMsg
-
getReceiveUid
- 指定者:
getReceiveUid在接口中IGiftMsg
-
getReceiveUsername
- 指定者:
getReceiveUsername在接口中IGiftMsg
-