<?php

/**
 * pvp比赛模式
 */

namespace Game\Constant\ConstTemplate;

use Game\Constant\GameConstantDefine;
use Game\Constant\TemplateDefineBase;

class TemplatePVPMatch extends TemplateDefineBase
{
    public const Id = "Id";
    public const MaxPlayer = "PeopleMax";
    public const TimeString = "TimeMax";    //除排位赛使用,格式段位-时间

    public const MaxTime = "MaxTime";   //格式化TimeMax 取时间

    public function getTermList(): array
    {
        return array(
            self::Id,
            self::MaxPlayer,
            self::TimeString,
        );
    }

    //排位赛id
    public const RANK_ID = array(
        GameConstantDefine::MATCH_MODE_SINGLE_PAI_WEI,
        GameConstantDefine::MATCH_MODE_TEAM_PAI_WEI,
    );
}
