|
@@ -10,6 +10,8 @@ import com.swago.baseswago.im.ImConstant.beauty_game_grab_host
|
|
|
import com.swago.baseswago.im.ImConstant.beauty_game_grab_host_two
|
|
|
import com.swago.baseswago.im.ImConstant.beauty_game_host
|
|
|
import com.swago.baseswago.im.ImConstant.bind_anchor
|
|
|
+import com.swago.baseswago.im.ImConstant.break_egg_rewards
|
|
|
+import com.swago.baseswago.im.ImConstant.break_egg_sum
|
|
|
import com.swago.baseswago.im.ImConstant.cancel_forbid_speak
|
|
|
import com.swago.baseswago.im.ImConstant.change_user_name
|
|
|
import com.swago.baseswago.im.ImConstant.close_account
|
|
@@ -21,6 +23,7 @@ import com.swago.baseswago.im.ImConstant.follow_anchor_success
|
|
|
import com.swago.baseswago.im.ImConstant.forbid_speak
|
|
|
import com.swago.baseswago.im.ImConstant.force_close_live_room
|
|
|
import com.swago.baseswago.im.ImConstant.fruit_game
|
|
|
+import com.swago.baseswago.im.ImConstant.game_key_rewards
|
|
|
import com.swago.baseswago.im.ImConstant.game_win_big_prize
|
|
|
import com.swago.baseswago.im.ImConstant.house_open_live
|
|
|
import com.swago.baseswago.im.ImConstant.invite_user_on_mic
|
|
@@ -49,6 +52,7 @@ import com.swago.baseswago.im.ImConstant.room_dan_mu
|
|
|
import com.swago.baseswago.im.ImConstant.send_wish_gift
|
|
|
import com.swago.baseswago.im.ImConstant.set_room_admin
|
|
|
import com.swago.baseswago.im.ImConstant.svg_gift
|
|
|
+import com.swago.baseswago.im.ImConstant.today_star_rewards
|
|
|
import com.swago.baseswago.im.ImConstant.update_audience
|
|
|
import com.swago.baseswago.im.ImConstant.update_mic_list_data
|
|
|
import com.swago.baseswago.im.ImConstant.user_agree_invite_by_anchor
|
|
@@ -377,6 +381,38 @@ class GroupMsgParser : IGroupNewMsgParser {
|
|
|
)
|
|
|
parserModel = gson.fromJson(resultString,parameterizedTypeImpl)
|
|
|
}
|
|
|
+ today_star_rewards -> {
|
|
|
+ parameterizedTypeImpl = ParameterizedTypeImpl(
|
|
|
+ arrayOf<Type>(PiaoTiaoRewardsData::class.java),
|
|
|
+ CusNewMsgBean::class.java,
|
|
|
+ CusNewMsgBean::class.java
|
|
|
+ )
|
|
|
+ parserModel = gson.fromJson(resultString,parameterizedTypeImpl)
|
|
|
+ }
|
|
|
+ game_key_rewards -> {
|
|
|
+ parameterizedTypeImpl = ParameterizedTypeImpl(
|
|
|
+ arrayOf<Type>(PiaoTiaoRewardsData::class.java),
|
|
|
+ CusNewMsgBean::class.java,
|
|
|
+ CusNewMsgBean::class.java
|
|
|
+ )
|
|
|
+ parserModel = gson.fromJson(resultString,parameterizedTypeImpl)
|
|
|
+ }
|
|
|
+ break_egg_rewards -> {
|
|
|
+ parameterizedTypeImpl = ParameterizedTypeImpl(
|
|
|
+ arrayOf<Type>(PiaoTiaoRewardsData::class.java),
|
|
|
+ CusNewMsgBean::class.java,
|
|
|
+ CusNewMsgBean::class.java
|
|
|
+ )
|
|
|
+ parserModel = gson.fromJson(resultString,parameterizedTypeImpl)
|
|
|
+ }
|
|
|
+ break_egg_sum -> {
|
|
|
+ parameterizedTypeImpl = ParameterizedTypeImpl(
|
|
|
+ arrayOf<Type>(PiaoTiaoRewardsData::class.java),
|
|
|
+ CusNewMsgBean::class.java,
|
|
|
+ CusNewMsgBean::class.java
|
|
|
+ )
|
|
|
+ parserModel = gson.fromJson(resultString,parameterizedTypeImpl)
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
parserModel?.v2TIMMessage = v2TIMMessage
|