1:修改卡顿问题,
2:修改玄镜的动画 3:修改转盘获取数据 4:修改排行榜
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
package com.xscm.moduleutil.event;
|
||||
|
||||
public enum QXRoomSeatViewType {
|
||||
/**
|
||||
* 无类型
|
||||
*/
|
||||
NONE(0, "无类型"),
|
||||
|
||||
/**
|
||||
* 普通麦位(二卡八麦)
|
||||
*/
|
||||
NORMAL(1, "点唱"),
|
||||
|
||||
KTV(3,"K歌"),
|
||||
|
||||
/**
|
||||
* 拍卖麦位
|
||||
*/
|
||||
AUCTION(2, "拍卖麦位"),
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 小黑屋麦位
|
||||
*/
|
||||
CABIN(6, "小黑屋麦位"),
|
||||
|
||||
/**
|
||||
* 交友房麦位
|
||||
*/
|
||||
FRIEND(7, "交友房麦位");
|
||||
|
||||
private final int value;
|
||||
private final String description;
|
||||
|
||||
QXRoomSeatViewType(int value, String description) {
|
||||
this.value = value;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
public static QXRoomSeatViewType fromLotteryEvent(int value) {
|
||||
if (value==1) {
|
||||
return NORMAL;
|
||||
}
|
||||
if (value==2) {
|
||||
return AUCTION;
|
||||
}
|
||||
if (value==3) {
|
||||
return KTV;
|
||||
}
|
||||
|
||||
if (value==6){
|
||||
return CABIN;
|
||||
}
|
||||
if (value==7){
|
||||
return FRIEND;
|
||||
}
|
||||
return NONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "QXRoomSeatViewType{" +
|
||||
"value=" + value +
|
||||
", description='" + description + '\'' +
|
||||
'}';
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user