1
This commit is contained in:
parent
13f046427a
commit
c80f036ea8
@ -283,12 +283,12 @@ class TameBattleDataService extends BaseService {
|
||||
'room_uuid'=> getXVal($this->allInfo,'room_uuid', 0),
|
||||
'room_mode'=> getXVal($this->allInfo,'room_mode', 0),
|
||||
'team_mode'=> $team_mode,
|
||||
// 'game_over'=>0,
|
||||
'game_over'=>1,
|
||||
'victory'=> getXVal($this->allInfo,'victory', 0),
|
||||
'watchable'=> 1,
|
||||
'map_id'=> getXVal($this->allInfo,'map_id', 0),
|
||||
'battle_uuid'=> getXVal($this->allInfo,'battle_uuid', 0),
|
||||
// 'settlement_status'=>0,
|
||||
'settlement_status'=>1,
|
||||
'pvp_settlement_type'=> getXVal($this->allInfo,'pvp_settelement_type', 0),
|
||||
'pvp_settlement_color'=> getXVal($this->allInfo,'pvp_settelement_color', 0),
|
||||
'pvp_team_rank'=> getXVal($this->allInfo,'pvp_team_rank', 0),
|
||||
@ -302,7 +302,7 @@ class TameBattleDataService extends BaseService {
|
||||
'pve_instance_id'=> getXVal($this->allInfo,'pve_instance_id', 0),
|
||||
);
|
||||
|
||||
$data['members_stats'] = array();
|
||||
$data['members'] = array();
|
||||
$pvp_mode = getXVal($this->allInfo,'pvp_match_mode', 0);
|
||||
foreach ($this->teamInfo as $info){
|
||||
$info['team_rank'] = getXVal($this->allInfo,'pvp_team_rank', 0);
|
||||
@ -395,7 +395,7 @@ class TameBattleDataService extends BaseService {
|
||||
break;
|
||||
default:{}
|
||||
}
|
||||
array_push($data['members_stats'],$temp);
|
||||
array_push($data['members'],$temp);
|
||||
}
|
||||
BattleSettlement::addTeam(
|
||||
getXVal($this->allInfo,'battle_uuid', 0),
|
||||
|
Loading…
x
Reference in New Issue
Block a user