public class BonusTaskMsgContent
extends com.live.immsgmodel.BaseContent
限定符和类型 | 字段和说明 |
---|---|
java.lang.String |
alias |
java.lang.String |
coin_desc |
int |
completedNumber |
static android.os.Parcelable.Creator<BonusTaskMsgContent> |
CREATOR |
java.lang.String |
gift |
java.lang.String |
giftId |
int |
gold |
java.lang.String |
innerAvator |
java.lang.String |
innerLink |
java.lang.String |
innerName |
java.lang.String |
innerUid |
java.lang.String |
logo |
java.lang.String |
name |
java.lang.String |
outLink |
int |
taskType |
int |
totalNumber |
java.lang.String |
uid |
int |
verified |
构造器和说明 |
---|
BonusTaskMsgContent() |
BonusTaskMsgContent(byte[] data) |
BonusTaskMsgContent(android.os.Parcel in) |
BonusTaskMsgContent(java.lang.String uid,
java.lang.String name,
java.lang.String logo,
java.lang.String coin_desc,
int gold,
int taskType,
int totalNumber,
int completedNumber,
java.lang.String gift,
int verified,
java.lang.String giftId) |
限定符和类型 | 方法和说明 |
---|---|
int |
describeContents() |
byte[] |
encode() |
java.lang.String |
getAlias() |
java.lang.String |
getCoin_desc() |
int |
getCompletedNumber() |
java.lang.String |
getGift() |
java.lang.String |
getGiftId() |
int |
getGold() |
java.lang.String |
getInnerAvator() |
java.lang.String |
getInnerLink() |
java.lang.String |
getInnerName() |
java.lang.String |
getLogo() |
java.lang.String |
getName() |
java.lang.String |
getOutLink() |
int |
getTaskType() |
int |
getTotalNumber() |
java.lang.String |
getUid() |
int |
getVerified() |
double |
probabilityOfSend(int roomState)
计算发送概率
|
double |
probabilityOfShow(int roomState)
计算展示概率
|
void |
setAlias(java.lang.String alias) |
void |
setCoin_desc(java.lang.String coin_desc) |
void |
setCompletedNumber(int completedNumber) |
void |
setGift(java.lang.String gift) |
void |
setGiftId(java.lang.String giftId) |
void |
setGold(int gold) |
void |
setInnerAvator(java.lang.String innerAvator) |
void |
setInnerLink(java.lang.String innerLink) |
void |
setInnerName(java.lang.String innerName) |
void |
setLogo(java.lang.String logo) |
void |
setName(java.lang.String name) |
void |
setOutLink(java.lang.String outLink) |
void |
setTaskType(int taskType) |
void |
setTotalNumber(int totalNumber) |
void |
setUid(java.lang.String uid) |
void |
setVerified(int verified) |
void |
writeToParcel(android.os.Parcel parcel,
int i) |
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
public java.lang.String uid
public java.lang.String name
public java.lang.String coin_desc
public java.lang.String logo
public int gold
public int taskType
public int totalNumber
public int completedNumber
public java.lang.String gift
public int verified
public java.lang.String giftId
public java.lang.String innerName
public java.lang.String innerAvator
public java.lang.String innerLink
public java.lang.String innerUid
public java.lang.String outLink
public java.lang.String alias
public static final android.os.Parcelable.Creator<BonusTaskMsgContent> CREATOR
public BonusTaskMsgContent(java.lang.String uid, java.lang.String name, java.lang.String logo, java.lang.String coin_desc, int gold, int taskType, int totalNumber, int completedNumber, java.lang.String gift, int verified, java.lang.String giftId)
public BonusTaskMsgContent(byte[] data)
public BonusTaskMsgContent(android.os.Parcel in)
public BonusTaskMsgContent()
public byte[] encode()
encode
在类中 com.live.immsgmodel.BaseContent
public int describeContents()
describeContents
在接口中 android.os.Parcelable
describeContents
在类中 com.live.immsgmodel.BaseContent
public void writeToParcel(android.os.Parcel parcel, int i)
writeToParcel
在接口中 android.os.Parcelable
writeToParcel
在类中 com.live.immsgmodel.BaseContent
public double probabilityOfSend(int roomState)
com.live.immsgmodel.IRoomStateCallback
probabilityOfSend
在接口中 com.live.immsgmodel.IRoomStateCallback
probabilityOfSend
在类中 com.live.immsgmodel.BaseContent
roomState
- 精简模式。roomState=0时,精简模式关闭;roomState取值[0, 10000]。public double probabilityOfShow(int roomState)
com.live.immsgmodel.IRoomStateCallback
probabilityOfShow
在接口中 com.live.immsgmodel.IRoomStateCallback
probabilityOfShow
在类中 com.live.immsgmodel.BaseContent
roomState
- 精简模式。roomState=0时,精简模式关闭;roomState取值[0, 10000]。public java.lang.String getUid()
public void setUid(java.lang.String uid)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getCoin_desc()
public void setCoin_desc(java.lang.String coin_desc)
public java.lang.String getLogo()
public void setLogo(java.lang.String logo)
public int getGold()
public void setGold(int gold)
public int getTaskType()
public void setTaskType(int taskType)
public int getTotalNumber()
public void setTotalNumber(int totalNumber)
public int getCompletedNumber()
public void setCompletedNumber(int completedNumber)
public java.lang.String getGift()
public void setGift(java.lang.String gift)
public int getVerified()
public void setVerified(int verified)
public java.lang.String getGiftId()
public void setGiftId(java.lang.String giftId)
public java.lang.String getInnerName()
public void setInnerName(java.lang.String innerName)
public java.lang.String getInnerAvator()
public void setInnerAvator(java.lang.String innerAvator)
public java.lang.String getInnerLink()
public void setInnerLink(java.lang.String innerLink)
public java.lang.String getOutLink()
public void setOutLink(java.lang.String outLink)
public java.lang.String getAlias()
public void setAlias(java.lang.String alias)