<?php

namespace Game\Constant\ConstTemplate;

use Game\Constant\TemplateDefineBase;

class TemplateCompetitionMode extends TemplateDefineBase
{
    public const Id = "Id";
    public const RewardItem = "RewardItem";
    public const RoomMax = "RoomMax";
    public const OpenIf = "OpenIf";
    public const WhetherExp = "WhetherExp"; //是否发经验
    public const WhetherPro = "WhetherPro"; //是否发熟练度
    public const VictoryRewardItem = "VictoryRewardItem"; //获胜奖励
    public const FailRewardItem = "FailRewardItem"; //失败奖励


    public function getTermList(): array
    {
        return array(
            self::Id,
            self::RoomMax,
            self::OpenIf,
            self::WhetherExp,
            self::WhetherPro,
            self::VictoryRewardItem,
            self::FailRewardItem,
        );
    }

    //奖励
    public const REWARD_ID = "id";
    public const REWARD_NUM = "num";
    public const REWARD_RATIO = "ratio";
}
