兼容幸运百分百活动
This commit is contained in:
parent
a22dfb6214
commit
749f756d58
@ -191,6 +191,7 @@ public class Constants {
|
||||
public static final String LOVE_CHECK = "LoveCheck";//热度卡消息
|
||||
public static final String TRUMPET_NOTIFY = "TrumpetNotify";//全栈喇叭
|
||||
public static final String LuckyAngel = "LuckyCheck";//幸运天使
|
||||
public static final String Lucky100Check = "Lucky100Check";//幸运天使
|
||||
|
||||
public static final int SOCKET_WHAT_CONN = 0;
|
||||
public static final int SOCKET_WHAT_DISCONN = 2;
|
||||
|
@ -1179,6 +1179,7 @@ public class LiveAudienceActivity extends LiveActivity {
|
||||
|
||||
break;
|
||||
case LUCKY_ANGEL:
|
||||
case LUCKY_100_CHECK:
|
||||
manager.luckyAngel(event.getMsgModel());
|
||||
break;
|
||||
case LINK_MIC:
|
||||
|
@ -257,7 +257,8 @@ public class LiveAudienceEvent extends BaseModel {
|
||||
CUSTOM_FULL_SERVICE_NOTIFY(51, "全服通知"),
|
||||
CHANGE_VIEW(52, "更改连胜位置"),
|
||||
UPDATA_ROBOT(53, "更新机器人消息"),
|
||||
LIVE_VIDEO(54, "画质选择");
|
||||
LIVE_VIDEO(54, "画质选择"),
|
||||
LUCKY_100_CHECK(55,"幸运百分百");
|
||||
|
||||
private int type;
|
||||
private String name;
|
||||
|
@ -551,6 +551,11 @@ public class SocketRyClient {
|
||||
.setType(LiveAudienceEvent.LiveAudienceType.LUCKY_ANGEL)
|
||||
.setMsgModel(GsonUtils.fromJson(map.getJSONObject("ct").toString(), MsgModel.class)));
|
||||
break;
|
||||
case Constants.Lucky100Check:
|
||||
Bus.get().post(new LiveAudienceEvent()
|
||||
.setType(LiveAudienceEvent.LiveAudienceType.LUCKY_100_CHECK)
|
||||
.setMsgModel(GsonUtils.fromJson(map.getJSONObject("ct").toString(), MsgModel.class)));
|
||||
break;
|
||||
case Constants.PK_RANK_UPDATE:
|
||||
Log.i("PK排位", map.toString());
|
||||
JSONObject item = map.getJSONObject("ct");
|
||||
|
Loading…
Reference in New Issue
Block a user