<?php

/**
 * 地图挑战时间,地图
 */

namespace Tool\LoadTemplate\Logic;

use Game\Constant\ConstTemplate\TemplateChallengeTime;
use Tool\LoadTemplate\ILogic;
use Tool\LoadTemplate\Util;

class ChallengeTimeLogic extends ILogic
{
    public function dealRow(&$row): bool
    {
        $row[TemplateChallengeTime::MapId] = Util::getFormatArrayToSemicolon($row[TemplateChallengeTime::MapId]);
        $row[TemplateChallengeTime::Reward] = Util::getFormatArray($row[TemplateChallengeTime::Reward]);
        return true;
    }
}
