<?php

/**
 * 比赛结果数据
 */

namespace Game\Data;

use Game\Protobuf\SettlementParameter;

class RaceResultData
{
    public int $_playerId;
    public int $_carId;     //carTplId
    public int $_rank;
    public int $_costTime;
    public int $_helpNum = 0;  //辅助次数
    public int $_jamNum = 0;    //干扰次数
    public bool $_helpIcon = false;     //是否获得辅助徽章
    public bool $_jamIcon = false;   //是否获得干扰徽章
    public bool $_raceIcon = false; //竞速徽章
    public bool $_mvpIcon = false;  //mvp标志
    public bool $_isWin = false;    //胜负标志 团队模式为对位胜负
    public int  $_modeType = 0;
    public int $_joinId;
    public int $_serverId;
    public int $_groupId;
    public bool $_svp = false;
    public bool $_teamWin = false;  //组队模式,队伍胜利
    public int $teamWinNum = 0; //组队排位用 队伍内玩家获胜数量 胜+1负-1 -3完败 3完胜
    public int $mvpScore = 0;
    public int $continuityWinNum = 0;
    public bool $ignore = false;    //出问题玩家,结算忽略
    public SettlementParameter $parameter;

    public function __construct()
    {
    }
}
