七界试炼数数埋点
parent
947bfcf9e2
commit
4b0447625d
|
@ -135,12 +135,7 @@ public class NewGeneralAttackHandler extends BaseHandler<ActivityProto.NewGenera
|
|||
|
||||
// 战报记录,奖励信息
|
||||
List<String> dropResult = new ArrayList<>();
|
||||
List<CommonProto.Item> list = drop.build().getItemlistList();
|
||||
for (int i = 0; i < list.size(); i++) {
|
||||
String str = list.get(i).getItemId() + "#" + list.get(i).getItemNum();
|
||||
dropResult.add(str);
|
||||
}
|
||||
|
||||
ReportUtil.dropToString(drop,dropResult);
|
||||
// 埋点
|
||||
ReportUtil.onReportEvent(user, ReportEventEnum.VANQUISH_BOSS.getType(), monsterId,(int)lessBlood,dropResult);
|
||||
|
||||
|
|
|
@ -112,6 +112,8 @@ public enum ReportEventEnum {
|
|||
HARD_STAGE(75 ,"Sunvo_figure",CommonEventHandler.getInstance(),new String[]{"Sunvo_figure_type","Sunvo_figure_id","combat_results","get_star"}),
|
||||
//心愿抽卡活动
|
||||
CHOICE_DRAW_CARD(76 ,"wish_summon",CommonEventHandler.getInstance(),new String[]{"hero_id","summon_type","cost_item_id","cost_amount","hero_id_quality_list"}),
|
||||
//七界试炼
|
||||
SEVENWORLDS_TRIAL(77 ,"sevenworlds_Trial",CommonEventHandler.getInstance(),new String[]{"sevenworlds_Trial_type","sevenworlds_Trial_id","combat_results","reward_nums_list"}),
|
||||
|
||||
VIP_LEVEL_UP(100,"", new VipLevelUpEventHandler(),new String[]{""});
|
||||
|
||||
|
|
|
@ -10,6 +10,8 @@ import com.ljsd.jieling.exception.ErrorCode;
|
|||
import com.ljsd.jieling.exception.ErrorCodeException;
|
||||
import com.ljsd.jieling.globals.BIReason;
|
||||
import com.ljsd.jieling.globals.Global;
|
||||
import com.ljsd.jieling.ktbeans.ReportEventEnum;
|
||||
import com.ljsd.jieling.ktbeans.ReportUtil;
|
||||
import com.ljsd.jieling.logic.GlobleSystemLogic;
|
||||
import com.ljsd.jieling.logic.activity.crossService.CrossServiceLogic;
|
||||
import com.ljsd.jieling.logic.activity.event.Poster;
|
||||
|
@ -364,6 +366,11 @@ public class SevenWorldLogic {
|
|||
// 七界秘宝积分,没有加成
|
||||
ItemUtil.drop(user,new int[][]{stage.getTreasureIntegral()},drop,BIReason.SEVEN_WORLD_CHALLENGE);
|
||||
|
||||
// 数数埋点
|
||||
List<String> dropResult = new ArrayList<>();
|
||||
ReportUtil.dropToString(drop,dropResult);
|
||||
ReportUtil.onReportEvent(user, ReportEventEnum.SEVENWORLDS_TRIAL.getType(), stage.getQijieType(), stage.getStage(), 1, dropResult);
|
||||
|
||||
response.setDrop(drop);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue