<?php

namespace Tool\LoadTemplate\Logic;

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

class RankWinRatioLogic extends ILogic
{
    public function dealRow(&$row): bool
    {
        $row[TemplateRankWinRatio::Ratio] = (int)$row[TemplateRankWinRatio::Ratio];
        $row[TemplateRankWinRatio::Num] = (int)$row[TemplateRankWinRatio::Num];
        $row[TemplateRankWinRatio::Weight] = (int)$row[TemplateRankWinRatio::Weight];
        return true;
    }
}
