数据互换
parent
b39de8d120
commit
dba44383fe
|
@ -226,7 +226,13 @@ public class ArenaLogic {
|
|||
if(skipFight == 0){
|
||||
builder.setFightData(build);
|
||||
}
|
||||
byte[] snapRecord =build.toByteArray();
|
||||
//数据互换
|
||||
byte[] snapRecord = CommonProto.FightData.newBuilder()
|
||||
.setFightMaxTime(SArenaSetting.getSArenaSetting().getMostTime())
|
||||
.setFightSeed(seed)
|
||||
.setHeroFightInfos(deffightTeamInfo)
|
||||
.addMonsterList(fightTeamInfo)
|
||||
.build().toByteArray();
|
||||
arenaRecord.setFightData(snapRecord);
|
||||
LuaValue getFightData = FightDataUtil.getFinalPlayerFightData(fightTeamInfo, deffightTeamInfo);
|
||||
LuaValue getOptionData = FightDataUtil.getOptionData("");
|
||||
|
|
Loading…
Reference in New Issue