<?php

namespace Tool\LoadTemplate\Logic;

use Game\Constant\ConstTemplate\TemplateRankMatch;
use Tool\LoadTemplate\ILogic;

class RankMatchLogic extends ILogic
{
    public function dealRow(&$row): bool
    {
        $row[TemplateRankMatch::MinLv] = (int)$row[TemplateRankMatch::MinLv];
        $row[TemplateRankMatch::MaxLv] = (int)$row[TemplateRankMatch::MaxLv];
        $row[TemplateRankMatch::MaxTime] = (int)$row[TemplateRankMatch::MaxTime];
        $row[TemplateRankMatch::LvRange] = (int)$row[TemplateRankMatch::LvRange];
        return true;
    }
}
