盲盒全服通知逻辑
This commit is contained in:
@@ -0,0 +1,142 @@
|
||||
package com.yunbao.common.event;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.yunbao.common.bean.BaseModel;
|
||||
|
||||
public class AllServerNotifyEvent extends BaseModel {
|
||||
//礼物图标
|
||||
@SerializedName("gifticon")
|
||||
private String giftIcon;
|
||||
//用户名
|
||||
@SerializedName("userNiceName")
|
||||
private String userNiceName;
|
||||
//礼物名称
|
||||
@SerializedName("giftname")
|
||||
private String giftName;
|
||||
//盲盒名称
|
||||
@SerializedName("box_type_name")
|
||||
private String boxTypeName;
|
||||
//饰品名称
|
||||
@SerializedName("dress_name")
|
||||
private String dressName;
|
||||
//区分礼物还是饰品 lw 1 sp 0
|
||||
@SerializedName("gift_notification")
|
||||
private String giftNotification;
|
||||
//盲盒礼物ID
|
||||
@SerializedName("blind_box_id")
|
||||
private String blindBoxId;
|
||||
//盲盒类型
|
||||
@SerializedName("box_type")
|
||||
private String boxType;
|
||||
//饰品图片
|
||||
@SerializedName("display_src")
|
||||
private String displaySrc;
|
||||
//主播名字
|
||||
@SerializedName("ancherName")
|
||||
private String anchorName;
|
||||
|
||||
public String getAnchorName() {
|
||||
return anchorName;
|
||||
}
|
||||
|
||||
public AllServerNotifyEvent setAnchorName(String anchorName) {
|
||||
this.anchorName = anchorName;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getDisplaySrc() {
|
||||
return displaySrc;
|
||||
}
|
||||
|
||||
public AllServerNotifyEvent setDisplaySrc(String displaySrc) {
|
||||
this.displaySrc = displaySrc;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getBoxType() {
|
||||
return boxType;
|
||||
}
|
||||
|
||||
public AllServerNotifyEvent setBoxType(String boxType) {
|
||||
this.boxType = boxType;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getGiftIcon() {
|
||||
return giftIcon;
|
||||
}
|
||||
|
||||
public AllServerNotifyEvent setGiftIcon(String giftIcon) {
|
||||
this.giftIcon = giftIcon;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getUserNiceName() {
|
||||
return userNiceName;
|
||||
}
|
||||
|
||||
public AllServerNotifyEvent setUserNiceName(String userNiceName) {
|
||||
this.userNiceName = userNiceName;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getGiftName() {
|
||||
return giftName;
|
||||
}
|
||||
|
||||
public AllServerNotifyEvent setGiftName(String giftName) {
|
||||
this.giftName = giftName;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getBoxTypeName() {
|
||||
return boxTypeName;
|
||||
}
|
||||
|
||||
public AllServerNotifyEvent setBoxTypeName(String boxTypeName) {
|
||||
this.boxTypeName = boxTypeName;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getDressName() {
|
||||
return dressName;
|
||||
}
|
||||
|
||||
public AllServerNotifyEvent setDressName(String dressName) {
|
||||
this.dressName = dressName;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getGiftNotification() {
|
||||
return giftNotification;
|
||||
}
|
||||
|
||||
public AllServerNotifyEvent setGiftNotification(String giftNotification) {
|
||||
this.giftNotification = giftNotification;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getBlindBoxId() {
|
||||
return blindBoxId;
|
||||
}
|
||||
|
||||
public AllServerNotifyEvent setBlindBoxId(String blindBoxId) {
|
||||
this.blindBoxId = blindBoxId;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "\n" + "AllServerNotifyEvent{" + "\n" +
|
||||
"giftIcon='" + giftIcon + '\'' + "\n" +
|
||||
", userNiceName='" + userNiceName + '\'' + "\n" +
|
||||
", giftName='" + giftName + '\'' + "\n" +
|
||||
", boxTypeName='" + boxTypeName + '\'' + "\n" +
|
||||
", dressName='" + dressName + '\'' + "\n" +
|
||||
", giftNotification='" + giftNotification + '\'' + "\n" +
|
||||
", blindBoxId='" + blindBoxId + '\'' + "\n" +
|
||||
", boxType='" + boxType + '\'' + "\n" +
|
||||
", displaySrc='" + displaySrc + '\'' + "\n" +
|
||||
'}' + "\n" ;
|
||||
}
|
||||
}
|
||||
@@ -69,8 +69,6 @@ public class SendBlindGiftEvent extends BaseModel {
|
||||
private String needcoin;
|
||||
@SerializedName("gift_msg")
|
||||
private String giftMsg;
|
||||
@SerializedName("gift_notification")
|
||||
private boolean giftNotification;
|
||||
@SerializedName("gift_colour")
|
||||
private String giftColour;
|
||||
@SerializedName("box_type")
|
||||
@@ -101,6 +99,8 @@ public class SendBlindGiftEvent extends BaseModel {
|
||||
private String dressColour;
|
||||
@SerializedName("dress_threshold_value")
|
||||
private String dressThresholdValue;
|
||||
@SerializedName("threshold_value")
|
||||
private String thresholdValue;
|
||||
@SerializedName("live_gift_notify")
|
||||
private String liveGiftNotify;
|
||||
@SerializedName("userNiceName")
|
||||
@@ -110,6 +110,15 @@ public class SendBlindGiftEvent extends BaseModel {
|
||||
return userNiceName;
|
||||
}
|
||||
|
||||
public String getThresholdValue() {
|
||||
return thresholdValue;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setThresholdValue(String thresholdValue) {
|
||||
this.thresholdValue = thresholdValue;
|
||||
return this;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setUserNiceName(String userNiceName) {
|
||||
this.userNiceName = userNiceName;
|
||||
return this;
|
||||
@@ -403,14 +412,6 @@ public class SendBlindGiftEvent extends BaseModel {
|
||||
return this;
|
||||
}
|
||||
|
||||
public boolean isGiftNotification() {
|
||||
return giftNotification;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setGiftNotification(boolean giftNotification) {
|
||||
this.giftNotification = giftNotification;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getGiftColour() {
|
||||
return giftColour;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<shape>
|
||||
<!--设置ProgressBar进度条圆角半径-->
|
||||
<corners android:radius="3dp" />
|
||||
<solid android:color="#65FB712D" />
|
||||
<solid android:color="#90FB712D" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<shape>
|
||||
<!--设置ProgressBar进度条圆角半径-->
|
||||
<corners android:radius="3dp" />
|
||||
<solid android:color="#659FFBF6" />
|
||||
<solid android:color="#909FFBF6" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<shape>
|
||||
<!--设置ProgressBar进度条圆角半径-->
|
||||
<corners android:radius="3dp" />
|
||||
<solid android:color="#65F8B334" />
|
||||
<solid android:color="#90F8B334" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
|
||||
@@ -1172,7 +1172,7 @@
|
||||
<string name="complete_information_hint3">離開會讓您失去獎勵,您確認離開嗎?</string>
|
||||
<string name="complete_information_hint2">愛你,愛你</string>
|
||||
<string name="you_guide_me">指導下我好嗎</string>
|
||||
<string name="resend_win">再送%s个%s必得%s</string>
|
||||
<string name="resend_win">再送%s个必得%s</string>
|
||||
<string name="have_already_win">已将%s发送至您的个性装扮</string>
|
||||
<string name="mini_blind_box">迷你盲盒</string>
|
||||
<string name="collection_blind_box">典藏盲盒</string>
|
||||
|
||||
@@ -1165,7 +1165,7 @@ Limited ride And limited avatar frame</string>
|
||||
<string name="live_vote_close_yes">Yes</string>
|
||||
<string name="live_vote_close_no">No</string>
|
||||
<string name="live_vote_hide_text">VOTE</string>
|
||||
<string name="live_room_vote_over_tip">%s <br/> box disappears after %s seconds</string>
|
||||
<string name="live_room_vote_over_tip">%s <br /> box disappears after %s seconds</string>
|
||||
<string name="live_anchor_vote_tip">Please complete the form.</string>
|
||||
<string name="complete_information">Fill And gift</string>
|
||||
<string name="complete_information_consumable">Fill in the \'*\' option to complete</string>
|
||||
@@ -1178,11 +1178,18 @@ Limited ride And limited avatar frame</string>
|
||||
<string name="complete_information_hint3">Leave without a gift</string>
|
||||
<string name="complete_information_hint2">Love you</string>
|
||||
<string name="you_guide_me">Can you guide me</string>
|
||||
<string name="resend_win">再送%s个%s必得%s</string>
|
||||
<string name="resend_win">再送%s个必得%s</string>
|
||||
<string name="have_already_win">已将%s发送至您的个性装扮</string>
|
||||
<string name="mini_blind_box">迷你盲盒</string>
|
||||
<string name="collection_blind_box">典藏盲盒</string>
|
||||
<string name="pd_blind_box">PD盲盒</string>
|
||||
<string name="individual_dressing">个性装扮</string>
|
||||
<string name="random_availability">可随机获得,%s</string>
|
||||
<string name="random_availability2">已获得,%s,%s</string>
|
||||
<string name="random_availability3">已获得,%s</string>
|
||||
<string name="get_it_done">完成必得</string>
|
||||
<string name="blind_box_list">盲盒榜</string>
|
||||
<string name="participate_in">參與</string>
|
||||
<string name="extract_to">%s在%s中抽取到了</string>
|
||||
<string name="extract_to2">%S送给了%s</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user