<?php

namespace Tool\LoadTemplate\Logic;

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

class RankActiveLogic extends ILogic
{
    public function dealRow(&$row): bool
    {
        $row[TemplateRankActive::Day] = (int)$row[TemplateRankActive::Day];
        $row[TemplateRankActive::Num] = (int)$row[TemplateRankActive::Num];
        $row[TemplateRankActive::EffectNum] = (int)$row[TemplateRankActive::EffectNum];
        $row[TemplateRankActive::Weight] = (int)$row[TemplateRankActive::Weight];
        return true;
    }
}
