public class PKRidiculeMsgContent
extends com.live.immsgmodel.AbsBaseMsgContent
构造器和说明 |
---|
PKRidiculeMsgContent() |
PKRidiculeMsgContent(java.lang.String content)
{
first:是否首次送嘲讽礼物1:是;0:否
pkId:游戏id
myHostUid:我方主播id
otherHostUid:对方主播uid
otherHostName:对方主播昵称
ridiculeHostUid:被嘲讽的主播uid
initiatorUid:发起嘲讽者id
initiatorName:发起嘲讽名称
ridiculeThumbnail:嘲讽icon缩略图
ridiculeIcon:嘲讽icon
diamond:收益钻石数量
}
|
限定符和类型 | 方法和说明 |
---|---|
com.kxsimon.video.chat.gift_v2.bean.GiftV2 |
createGiftInfo() |
java.lang.String |
getChatText(java.lang.String hostUid,
java.lang.String hostName)
插入到消息流的文案
|
long |
getDiamond() |
java.lang.String |
getInitiatorName() |
java.lang.String |
getInitiatorUid() |
int |
getIsFirstSend() |
java.lang.String |
getMyHostUid() |
java.lang.String |
getOtherHostName() |
java.lang.String |
getOtherHostUid() |
java.lang.String |
getPkId() |
java.lang.String |
getRidiculeHostUid() |
java.lang.String |
getRidiculeIcon() |
java.lang.String |
getRidiculeThumbnail() |
boolean |
needShowBtn(java.lang.String hostUid)
观众端消息流是否需要展示嘲讽按钮
本场PK中首次对方发起会弹出一次,之后发起的嘲讽都不带button
|
void |
setDiamond(long diamond) |
void |
setInitiatorName(java.lang.String initiatorName) |
void |
setInitiatorUid(java.lang.String initiatorUid) |
void |
setIsFirstSend(int isFirstSend) |
void |
setMyHostUid(java.lang.String myHostUid) |
void |
setOtherHostName(java.lang.String otherHostName) |
void |
setOtherHostUid(java.lang.String otherHostUid) |
void |
setPkId(java.lang.String pkId) |
void |
setRidiculeHostUid(java.lang.String ridiculeHostUid) |
void |
setRidiculeIcon(java.lang.String ridiculeIcon) |
void |
setRidiculeThumbnail(java.lang.String ridiculeThumbnail) |
java.lang.String |
toString() |
getPriority, probabilityOfSend, probabilityOfShow, sendMsgToChatRoom, setPriority
describeContents, encode, getAdmin, getCommonData, getCUUIDFromJson, getIsMine, isNewUser, readCommonDataFromJson, readCommonDataFromParcel, setAdmin, setCommonData, setFamilyBadgeUrl, setFanLevel, setGuardType, setIdScore, setIsMine, setIsNewUser, setPrerogative, setRandomCommonDataForTest, setRewardRight, setRewardRightByIndex, setTagBean, setUserId, setVipLevelInfo, setWatchSource, setWatchSource2, writeCommonDataToJson, writeCommonDataToParcel, writeToParcel
public PKRidiculeMsgContent()
public PKRidiculeMsgContent(java.lang.String content)
content
- public int getIsFirstSend()
public void setIsFirstSend(int isFirstSend)
public java.lang.String getPkId()
public java.lang.String getMyHostUid()
public java.lang.String getOtherHostUid()
public java.lang.String getOtherHostName()
public void setPkId(java.lang.String pkId)
public void setMyHostUid(java.lang.String myHostUid)
public void setOtherHostUid(java.lang.String otherHostUid)
public void setOtherHostName(java.lang.String otherHostName)
public java.lang.String getRidiculeHostUid()
public void setRidiculeHostUid(java.lang.String ridiculeHostUid)
public java.lang.String getInitiatorUid()
public void setInitiatorUid(java.lang.String initiatorUid)
public java.lang.String getInitiatorName()
public void setInitiatorName(java.lang.String initiatorName)
public java.lang.String getRidiculeThumbnail()
public void setRidiculeThumbnail(java.lang.String ridiculeThumbnail)
public java.lang.String getRidiculeIcon()
public void setRidiculeIcon(java.lang.String ridiculeIcon)
public long getDiamond()
public void setDiamond(long diamond)
public java.lang.String getChatText(java.lang.String hostUid, java.lang.String hostName)
hostUid
- 主播uidhostName
- 主播昵称public boolean needShowBtn(java.lang.String hostUid)
hostUid
- 我方主播uidpublic com.kxsimon.video.chat.gift_v2.bean.GiftV2 createGiftInfo()
public java.lang.String toString()
toString
在类中 java.lang.Object