<?php

/***
 * 整理加入匹配数据
 */

namespace Game\Data\PvpPacket;

class PvpMsgData
{
    // pvp pack
    const MSG_ID = 'msgID';

    // cancel match
    const CANCEL_JOIN_ID = 'joinID';
    const CANCEL_CODE    = 'code';

    // join match recv
    const IP  = 'ip';
    const PORT  = 'port';
    const MATCH_TYPE  = 'matchType';
    const MAP_ID  = 'mapID';
    const PLAYER_LIST  = 'playerList';
    const JOIN_ID  = 'joinID';
    const PLAYER_ID  = 'playerID';
    const NICK_NAME  = 'nickName';
    const HEAD  = 'head';
    const CAR_TPL_ID  = 'carTplID';
    const GROUP_ID  = 'groupID';
    const SERVER_ID  = 'serverID';
    const EXTERIOR_REFIT  = 'exteriorRefit';
    const MATCH_UID  = 'matchUID';
    public const GENDER = "gender";
    public const CLOTH = "cloth";
    public const AI_INFO = "aiInfo";
    public const PARAM = "Param"; //根据MatchType类型不同,参数不同.MatchType为排位赛时,代表位置,排位赛用.个人排位1-6,组队排位1,2竞速位 3,4干扰位 5,6辅助位
    public const POSITION = "Position"; //位置
    public const PLAYER_SHOW = "PlayerShow";
    public const CAR_SHOW = "CarShow";
    public const ROLE_TYPE = "RoleType";

    // settlement
    const SETTLEMENT_MATCH_TYPE = 'matchType';
    const SETTLEMENT_PLAYER_LIST = 'playerList';
    const SETTLEMENT_PLAYER_ID = 'playerID';
    const SETTLEMENT_SERVER_ID = 'serverID';
    const SETTLEMENT_RANK = 'rank';
    const SETTLEMENT_COST_TIME = 'costTime';
    const SETTLEMENT_CAR_TPL_ID = 'carTplID';
    const SETTLEMENT_PLIST = 'plist';
    const SETTLEMENT_JOIN_ID = 'joinID';
    const SETTLEMENT_GROUP_ID = 'groupID';
    public const SETTLEMENT_JAM_NUM = "jamNum";
    public const SETTLEMENT_HELP_NUM = "helpNum";
}
