public class ConstelCardMsgContent
extends com.live.immsgmodel.BaseContent
限定符和类型 | 类和说明 |
---|---|
static class |
ConstelCardMsgContent.RewardItem |
限定符和类型 | 字段和说明 |
---|---|
java.util.List<ConstelCardMsgContent.RewardItem> |
common_list |
java.lang.String |
common_text |
static android.os.Parcelable.Creator<ConstelCardMsgContent> |
CREATOR |
java.lang.String |
dialog_bg_url |
int |
diamondTotalValue |
java.util.List<ConstelCardMsgContent.RewardItem> |
extra_list |
java.lang.String |
extra_text |
java.lang.String |
title_text |
构造器和说明 |
---|
ConstelCardMsgContent() |
ConstelCardMsgContent(byte[] data) |
ConstelCardMsgContent(android.os.Parcel in)
构造函数。
|
限定符和类型 | 方法和说明 |
---|---|
int |
describeContents() |
byte[] |
encode() |
double |
probabilityOfSend(int roomState)
计算发送概率
|
double |
probabilityOfShow(int roomState)
计算展示概率
|
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 title_text
public int diamondTotalValue
public java.lang.String dialog_bg_url
public java.lang.String common_text
public java.util.List<ConstelCardMsgContent.RewardItem> common_list
public java.lang.String extra_text
public java.util.List<ConstelCardMsgContent.RewardItem> extra_list
public static final android.os.Parcelable.Creator<ConstelCardMsgContent> CREATOR
public ConstelCardMsgContent()
public ConstelCardMsgContent(android.os.Parcel in)
in
- 初始化传入的 Parcel。public ConstelCardMsgContent(byte[] data)
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]。