<?php

/**
 * 玩家等级
 */

namespace Game\Constant\ConstTemplate;

use Game\Constant\TemplateDefineBase;

class TemplatePlayerLevel extends TemplateDefineBase
{
    public const Id = "ID";
    public const Level = "Level";
    public const Exp = "Experience";
    public const FunctionID = "FunctionID";     //解锁功能Id array
    public const Reward = "RewardID";

    public function getTermList(): array
    {
        return array(
            self::Id,
            self::Level,
            self::Exp,
            self::FunctionID,
            self::Reward,
        );
    }

    //解锁功能Id,对应FunctionSwitch表
    public const UNLOCK_FUNC_PVE = 1;   //1 生涯入口
    public const UNLOCK_FUNC_REFIT = 2;   //2 强化入口    CarLogic->makeRefit
    public const UNLOCK_FUNC_CLUB = 3;   //3 俱乐部入口
    public const UNLOCK_FUNC_EXTERIOR_REFIT = 4;   //4 外观改造入口      CarLogic->exteriorRefitUpdate
}
