新增贵族礼物tab
This commit is contained in:
@@ -61,6 +61,7 @@ import com.yizhuan.erban.ui.widget.rollviewpager.Util
|
|||||||
import com.yizhuan.erban.ui.widget.rollviewpager.hintview.ColorPointHintView
|
import com.yizhuan.erban.ui.widget.rollviewpager.hintview.ColorPointHintView
|
||||||
import com.yizhuan.erban.utils.KeyBoardUtils
|
import com.yizhuan.erban.utils.KeyBoardUtils
|
||||||
import com.yizhuan.tutu.room_chat.activity.RoomMsgActivity
|
import com.yizhuan.tutu.room_chat.activity.RoomMsgActivity
|
||||||
|
import com.yizhuan.xchat_android_constants.XChatConstants
|
||||||
import com.yizhuan.xchat_android_core.Constants
|
import com.yizhuan.xchat_android_core.Constants
|
||||||
import com.yizhuan.xchat_android_core.UriProvider
|
import com.yizhuan.xchat_android_core.UriProvider
|
||||||
import com.yizhuan.xchat_android_core.auth.AuthModel
|
import com.yizhuan.xchat_android_core.auth.AuthModel
|
||||||
@@ -133,6 +134,8 @@ open class BaseRoomFragment<V : IBaseRoomView?, P : BaseRoomPresenter<V>?> :
|
|||||||
private var isCloseScreen = false
|
private var isCloseScreen = false
|
||||||
private var isOpenRedPackage = false
|
private var isOpenRedPackage = false
|
||||||
private var isRoomMin = false
|
private var isRoomMin = false
|
||||||
|
@JvmField
|
||||||
|
protected var isDatingMode = false
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -284,6 +287,7 @@ open class BaseRoomFragment<V : IBaseRoomView?, P : BaseRoomPresenter<V>?> :
|
|||||||
}
|
}
|
||||||
RoomEvent.ROOM_INFO_UPDATE -> {
|
RoomEvent.ROOM_INFO_UPDATE -> {
|
||||||
Logger.i("房间更新事件")
|
Logger.i("房间更新事件")
|
||||||
|
addOpenDatingTips() //一定要放在updateView之前!!!
|
||||||
updateScreen()
|
updateScreen()
|
||||||
updateRedPackage()
|
updateRedPackage()
|
||||||
updateView()
|
updateView()
|
||||||
@@ -1059,6 +1063,18 @@ open class BaseRoomFragment<V : IBaseRoomView?, P : BaseRoomPresenter<V>?> :
|
|||||||
.onEvent(StatisticsProtocol.Event.EVENT_MP_ROOM_GIFT_CLICK, "礼物面板按钮")
|
.onEvent(StatisticsProtocol.Event.EVENT_MP_ROOM_GIFT_CLICK, "礼物面板按钮")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开启相亲模式管理增加一条公屏提示
|
||||||
|
*/
|
||||||
|
private fun addOpenDatingTips() {
|
||||||
|
if (AvRoomDataManager.get().isDatingMode && !isDatingMode && AvRoomDataManager.get().isManager) {
|
||||||
|
val tipMessage =
|
||||||
|
ChatRoomMessageBuilder.createTipMessage(XChatConstants.DATING_TIPS_OPEN)
|
||||||
|
tipMessage.content = XChatConstants.DATING_TIPS_OPEN
|
||||||
|
IMNetEaseManager.get().addMessages(tipMessage)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 底部按钮点击处理
|
* 底部按钮点击处理
|
||||||
*/
|
*/
|
||||||
|
@@ -166,7 +166,7 @@ public class HomePartyRoomFragment extends BaseRoomFragment<IHomePartyView, Home
|
|||||||
//添加变量
|
//添加变量
|
||||||
private boolean isKtvMode = false;
|
private boolean isKtvMode = false;
|
||||||
private Disposable ktvDisposable;
|
private Disposable ktvDisposable;
|
||||||
private boolean isDatingMode;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 排麦弹框
|
* 排麦弹框
|
||||||
@@ -300,7 +300,6 @@ public class HomePartyRoomFragment extends BaseRoomFragment<IHomePartyView, Home
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case RoomEvent.ROOM_INFO_UPDATE:
|
case RoomEvent.ROOM_INFO_UPDATE:
|
||||||
addOpenDatingTips(); //一定要放在updateView之前!!!
|
|
||||||
gameBinding.setRoomInfo(AvRoomDataManager.get().mCurrentRoomInfo);
|
gameBinding.setRoomInfo(AvRoomDataManager.get().mCurrentRoomInfo);
|
||||||
updateQueuingMicBtn();
|
updateQueuingMicBtn();
|
||||||
updatePkScoreBoard();
|
updatePkScoreBoard();
|
||||||
@@ -1536,16 +1535,6 @@ public class HomePartyRoomFragment extends BaseRoomFragment<IHomePartyView, Home
|
|||||||
.subscribe();
|
.subscribe();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 开启相亲模式管理增加一条公屏提示
|
|
||||||
*/
|
|
||||||
private void addOpenDatingTips() {
|
|
||||||
if (AvRoomDataManager.get().isDatingMode() && !isDatingMode && AvRoomDataManager.get().isManager()) {
|
|
||||||
ChatRoomMessage tipMessage = ChatRoomMessageBuilder.createTipMessage(XChatConstants.DATING_TIPS_OPEN);
|
|
||||||
tipMessage.setContent(XChatConstants.DATING_TIPS_OPEN);
|
|
||||||
IMNetEaseManager.get().addMessages(tipMessage);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||||
public void onFirstRechargeEvent(FirstChargeEvent event) {
|
public void onFirstRechargeEvent(FirstChargeEvent event) {
|
||||||
|
@@ -399,10 +399,6 @@ public class GiftDialog extends BottomSheetDialog implements View.OnClickListene
|
|||||||
updateGiftView(giftIndicator.getCurrrentType());
|
updateGiftView(giftIndicator.getCurrrentType());
|
||||||
goldWalletInfo = PayModel.get().getCurrentWalletInfo();
|
goldWalletInfo = PayModel.get().getCurrentWalletInfo();
|
||||||
|
|
||||||
|
|
||||||
//首充逻辑
|
|
||||||
//updateFirstRechargeStatus();
|
|
||||||
|
|
||||||
View descLayout = root.findViewById(R.id.desc_layout);
|
View descLayout = root.findViewById(R.id.desc_layout);
|
||||||
|
|
||||||
if (isInRoom && (userOnMic || (uid == 0))) {
|
if (isInRoom && (userOnMic || (uid == 0))) {
|
||||||
@@ -856,8 +852,6 @@ public class GiftDialog extends BottomSheetDialog implements View.OnClickListene
|
|||||||
} else {
|
} else {
|
||||||
// 私聊送礼面板 不在房间内,直接在普通的列表里选出房间礼物进行显示
|
// 私聊送礼面板 不在房间内,直接在普通的列表里选出房间礼物进行显示
|
||||||
giftInfos = GiftModel.get().getGiftInfoList(GiftType.GIFT_TYPE_NORMAL);
|
giftInfos = GiftModel.get().getGiftInfoList(GiftType.GIFT_TYPE_NORMAL);
|
||||||
//加入福袋礼物到私聊礼物列表
|
|
||||||
// giftInfos.addAll(0,GiftModel.get().getGiftInfosByType(roomUid, GiftType.GIFT_TYPE_LUCKY));
|
|
||||||
}
|
}
|
||||||
if (ListUtils.isListEmpty(giftInfos)) return new ArrayList<>();
|
if (ListUtils.isListEmpty(giftInfos)) return new ArrayList<>();
|
||||||
return giftInfos;
|
return giftInfos;
|
||||||
@@ -883,15 +877,7 @@ public class GiftDialog extends BottomSheetDialog implements View.OnClickListene
|
|||||||
}
|
}
|
||||||
|
|
||||||
private List<GiftInfo> getNobleGiftInfos() {
|
private List<GiftInfo> getNobleGiftInfos() {
|
||||||
List<GiftInfo> giftInfos = loadGiftInfoList();
|
return GiftModel.get().getGiftInfoList(GiftType.GIFT_TYPE_VIP);
|
||||||
List<GiftInfo> infos = new ArrayList<>();
|
|
||||||
for (int i = 0; i < giftInfos.size(); i++) {
|
|
||||||
GiftInfo giftInfo = giftInfos.get(i);
|
|
||||||
if (giftInfo.isNobleGift() || giftInfo.getLevel() > 0) {
|
|
||||||
infos.add(giftInfo);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return infos;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initEasyPop(boolean isBag) {
|
private void initEasyPop(boolean isBag) {
|
||||||
|
@@ -72,6 +72,8 @@ import static com.yizhuan.xchat_android_core.im.custom.bean.CustomAttachment.CUS
|
|||||||
import static com.yizhuan.xchat_android_core.im.custom.bean.CustomAttachment.CUSTOM_MSG_SUB_TYPE_SEND_LUCKY_GIFT;
|
import static com.yizhuan.xchat_android_core.im.custom.bean.CustomAttachment.CUSTOM_MSG_SUB_TYPE_SEND_LUCKY_GIFT;
|
||||||
import static com.yizhuan.xchat_android_core.im.custom.bean.CustomAttachment.CUSTOM_MSG_SUB_TYPE_SEND_MULTI_LUCK_GIFT;
|
import static com.yizhuan.xchat_android_core.im.custom.bean.CustomAttachment.CUSTOM_MSG_SUB_TYPE_SEND_MULTI_LUCK_GIFT;
|
||||||
|
|
||||||
|
import androidx.annotation.Nullable;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by yudi
|
* Created by yudi
|
||||||
@@ -79,19 +81,20 @@ import static com.yizhuan.xchat_android_core.im.custom.bean.CustomAttachment.CUS
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
public class GiftModel extends BaseModel implements IGiftModel {
|
public class GiftModel extends BaseModel implements IGiftModel {
|
||||||
|
private volatile static IGiftModel model;
|
||||||
private Api api;
|
private Api api;
|
||||||
private UiHandler handler;
|
private UiHandler handler;
|
||||||
|
private GiftListInfo allGiftListInfo;
|
||||||
|
private List<GiftInfo> knapList;
|
||||||
|
private List<CustomAttachment> giftQueue;
|
||||||
|
|
||||||
private GiftModel() {
|
private GiftModel() {
|
||||||
api = RxNet.create(Api.class);
|
api = RxNet.create(Api.class);
|
||||||
// allGiftListInfo = DemoCache.readGiftList();
|
|
||||||
giftQueue = new ArrayList<>();
|
giftQueue = new ArrayList<>();
|
||||||
handler = new UiHandler(this);
|
handler = new UiHandler(this);
|
||||||
loadGiftInfoList(null).subscribe();
|
loadGiftInfoList(null).subscribe();
|
||||||
}
|
}
|
||||||
|
|
||||||
private volatile static IGiftModel model;
|
|
||||||
|
|
||||||
public static IGiftModel get() {
|
public static IGiftModel get() {
|
||||||
if (model == null) {
|
if (model == null) {
|
||||||
synchronized (GiftModel.class) {
|
synchronized (GiftModel.class) {
|
||||||
@@ -103,35 +106,6 @@ public class GiftModel extends BaseModel implements IGiftModel {
|
|||||||
return model;
|
return model;
|
||||||
}
|
}
|
||||||
|
|
||||||
private GiftListInfo allGiftListInfo;
|
|
||||||
private GiftListInfo giftListInfo;
|
|
||||||
private List<GiftInfo> knapList;
|
|
||||||
private List<CustomAttachment> giftQueue;
|
|
||||||
|
|
||||||
private static class UiHandler extends Handler {
|
|
||||||
WeakReference<GiftModel> mReference;
|
|
||||||
|
|
||||||
UiHandler(GiftModel giftModel) {
|
|
||||||
mReference = new WeakReference<>(giftModel);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void handleMessage(Message msg) {
|
|
||||||
GiftModel giftModel = mReference.get();
|
|
||||||
if (giftModel == null) return;
|
|
||||||
super.handleMessage(msg);
|
|
||||||
if (giftModel.giftQueue.size() > 0) {
|
|
||||||
CustomAttachment attachment = giftModel.giftQueue.remove(0);
|
|
||||||
if (attachment != null)
|
|
||||||
giftModel.parseChatRoomAttachment(attachment);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (giftModel.giftQueue.size() > 0) {
|
|
||||||
sendEmptyMessageDelayed(0, 150);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void addGiftMessage(CustomAttachment attachment) {
|
private void addGiftMessage(CustomAttachment attachment) {
|
||||||
giftQueue.add(attachment);
|
giftQueue.add(attachment);
|
||||||
if (giftQueue.size() == 1) {
|
if (giftQueue.size() == 1) {
|
||||||
@@ -147,7 +121,7 @@ public class GiftModel extends BaseModel implements IGiftModel {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Single<ServiceResult<GiftListInfo>> refreshGiftList(String roomUid) {
|
public Single<ServiceResult<GiftListInfo>> refreshGiftList(String roomUid) {
|
||||||
return requestGiftInfos(roomUid);
|
return loadGiftInfoList(roomUid);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -157,14 +131,7 @@ public class GiftModel extends BaseModel implements IGiftModel {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
private Single<ServiceResult<GiftListInfo>> requestGiftInfos(String roomUid) {
|
private Single<ServiceResult<GiftListInfo>> requestGiftInfos(String roomUid) {
|
||||||
return api.requestGiftInfos(roomUid)
|
return loadGiftInfoList(roomUid);
|
||||||
.compose(new Transformer<>())
|
|
||||||
.doOnSuccess(response -> {
|
|
||||||
if (response.isSuccess()) {
|
|
||||||
allGiftListInfo = response.getData();
|
|
||||||
// DemoCache.saveGiftList(allGiftListInfo);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -179,7 +146,6 @@ public class GiftModel extends BaseModel implements IGiftModel {
|
|||||||
.compose(new Transformer<>())
|
.compose(new Transformer<>())
|
||||||
.doOnSuccess(response -> {
|
.doOnSuccess(response -> {
|
||||||
if (response.isSuccess()) {
|
if (response.isSuccess()) {
|
||||||
giftListInfo = response.getData();
|
|
||||||
allGiftListInfo = response.getData();
|
allGiftListInfo = response.getData();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -211,36 +177,28 @@ public class GiftModel extends BaseModel implements IGiftModel {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<GiftInfo> getGiftInfoList(int giftType) {
|
public List<GiftInfo> getGiftInfoList(int giftType) {
|
||||||
if (giftListInfo != null) {
|
return getGiftInfosByType(null, giftType);
|
||||||
List<GiftInfo> giftInfos = giftListInfo.getGift();
|
|
||||||
List<GiftInfo> result = new ArrayList<>();
|
|
||||||
for (GiftInfo giftInfo : giftInfos) {
|
|
||||||
if (giftInfo.getGiftType() == giftType) {
|
|
||||||
result.add(giftInfo);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
} else {
|
|
||||||
loadGiftInfoList(null).subscribe();
|
|
||||||
}
|
|
||||||
return new ArrayList<>();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<GiftInfo> getGiftInfosByType(String roomUid, int giftType) {
|
public List<GiftInfo> getGiftInfosByType(String roomUid, int giftType) {
|
||||||
if (allGiftListInfo != null && allGiftListInfo.getGift() != null && allGiftListInfo.getGift().size() > 0) {
|
if (allGiftListInfo == null) {
|
||||||
List<GiftInfo> giftInfos = new ArrayList<>();
|
|
||||||
for (int i = 0; i < allGiftListInfo.getGift().size(); i++) {
|
|
||||||
GiftInfo giftInfo = allGiftListInfo.getGift().get(i);
|
|
||||||
if (giftInfo.getGiftType() == giftType) {
|
|
||||||
giftInfos.add(giftInfo);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return giftInfos;
|
|
||||||
} else {
|
|
||||||
requestGiftInfos(roomUid).subscribe();
|
requestGiftInfos(roomUid).subscribe();
|
||||||
|
return new ArrayList<>();
|
||||||
}
|
}
|
||||||
return new ArrayList<>();
|
List<GiftInfo> giftInfos = null;
|
||||||
|
switch (giftType) {
|
||||||
|
case GiftType.GIFT_TYPE_NORMAL:
|
||||||
|
giftInfos = allGiftListInfo.getNormalGift();
|
||||||
|
break;
|
||||||
|
case GiftType.GIFT_TYPE_LUCKY:
|
||||||
|
giftInfos = allGiftListInfo.getLuckyBagGift();
|
||||||
|
break;
|
||||||
|
case GiftType.GIFT_TYPE_VIP:
|
||||||
|
giftInfos = allGiftListInfo.getVipGift();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return giftInfos == null ? new ArrayList<>() : giftInfos;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -557,14 +515,7 @@ public class GiftModel extends BaseModel implements IGiftModel {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void addNewGift(GiftInfo giftInfo) {
|
public void addNewGift(GiftInfo giftInfo) {
|
||||||
if (giftInfo == null || allGiftListInfo == null || ListUtils.isListEmpty(allGiftListInfo.getGift()))
|
//兼容旧版写的,已经不需要了
|
||||||
return;
|
|
||||||
if (findGiftInfoById(giftInfo.getGiftId()) == null) {
|
|
||||||
allGiftListInfo.getGift().add(1, giftInfo);
|
|
||||||
if (AvRoomDataManager.get().mCurrentRoomInfo != null) {
|
|
||||||
requestGiftInfos(String.valueOf(AvRoomDataManager.get().mCurrentRoomInfo.getUid())).subscribe();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -575,12 +526,28 @@ public class GiftModel extends BaseModel implements IGiftModel {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public GiftInfo findGiftInfoById(int giftId) {
|
public GiftInfo findGiftInfoById(int giftId) {
|
||||||
|
GiftInfo giftInfo = null;
|
||||||
if (allGiftListInfo != null) {
|
if (allGiftListInfo != null) {
|
||||||
for (int i = 0; i < allGiftListInfo.getGift().size(); i++) {
|
giftInfo = findGiftInfoById(allGiftListInfo.getNormalGift(), giftId);
|
||||||
GiftInfo giftInfo = allGiftListInfo.getGift().get(i);
|
if (giftInfo == null) {
|
||||||
if (giftInfo.getGiftId() == giftId) {
|
giftInfo = findGiftInfoById(allGiftListInfo.getVipGift(), giftId);
|
||||||
return giftInfo;
|
}
|
||||||
}
|
if (giftInfo == null) {
|
||||||
|
giftInfo = findGiftInfoById(allGiftListInfo.getLuckyBagGift(), giftId);
|
||||||
|
}
|
||||||
|
if (giftInfo == null) {
|
||||||
|
giftInfo = findGiftInfoById(allGiftListInfo.getLuckyPoolGift(), giftId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return giftInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Nullable
|
||||||
|
private GiftInfo findGiftInfoById(List<GiftInfo> giftInfoList, int giftId) {
|
||||||
|
if (ListUtils.isListEmpty(giftInfoList)) return null;
|
||||||
|
for (GiftInfo giftInfo : giftInfoList) {
|
||||||
|
if (giftInfo.getGiftId() == giftId) {
|
||||||
|
return giftInfo;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
@@ -613,7 +580,7 @@ public class GiftModel extends BaseModel implements IGiftModel {
|
|||||||
*
|
*
|
||||||
* @return -
|
* @return -
|
||||||
*/
|
*/
|
||||||
@GET("/gift/listV3")
|
@GET("/gift/listV4")
|
||||||
Single<ServiceResult<GiftListInfo>> requestGiftInfos(@Query("roomUid") String roomUid);
|
Single<ServiceResult<GiftListInfo>> requestGiftInfos(@Query("roomUid") String roomUid);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -648,4 +615,28 @@ public class GiftModel extends BaseModel implements IGiftModel {
|
|||||||
@Field("chatSessionId") String chatSessionId);
|
@Field("chatSessionId") String chatSessionId);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static class UiHandler extends Handler {
|
||||||
|
WeakReference<GiftModel> mReference;
|
||||||
|
|
||||||
|
UiHandler(GiftModel giftModel) {
|
||||||
|
mReference = new WeakReference<>(giftModel);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void handleMessage(Message msg) {
|
||||||
|
GiftModel giftModel = mReference.get();
|
||||||
|
if (giftModel == null) return;
|
||||||
|
super.handleMessage(msg);
|
||||||
|
if (giftModel.giftQueue.size() > 0) {
|
||||||
|
CustomAttachment attachment = giftModel.giftQueue.remove(0);
|
||||||
|
if (attachment != null)
|
||||||
|
giftModel.parseChatRoomAttachment(attachment);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (giftModel.giftQueue.size() > 0) {
|
||||||
|
sendEmptyMessageDelayed(0, 150);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@@ -78,5 +78,8 @@ public class GiftInfo implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private String giftExplainUrl;
|
private String giftExplainUrl;
|
||||||
|
|
||||||
|
private int vipLevel;
|
||||||
|
private String vipIcon;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -11,7 +11,10 @@ import lombok.Data;
|
|||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class GiftListInfo implements Serializable {
|
public class GiftListInfo implements Serializable {
|
||||||
private List<GiftInfo> gift;
|
private List<GiftInfo> luckyBagGift;
|
||||||
|
private List<GiftInfo> vipGift;
|
||||||
|
private List<GiftInfo> normalGift;
|
||||||
|
private List<GiftInfo> luckyPoolGift;
|
||||||
private String giftVersion;
|
private String giftVersion;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -24,4 +24,10 @@ public class GiftType {
|
|||||||
* 礼物类型 -- 套卡
|
* 礼物类型 -- 套卡
|
||||||
*/
|
*/
|
||||||
public static final int CARDS = 4;
|
public static final int CARDS = 4;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 礼物类型 -- 福袋
|
||||||
|
*/
|
||||||
|
|
||||||
|
public static final int GIFT_TYPE_VIP = 7;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user