<?php

/**
 * 任务完成记录数据
 */

namespace Game\Operation\EventLog;

class CompleteTaskLog extends EventLog
{
    //记录数据
    public int $taskId;
    public int $taskType;  //任务类型
    public array $reward;   //奖励[itemId=>num,..]
    public int $carId;

    public function GetLogType()
    {
        return EventLogType::CompleteTask;
    }
    public function CleanUp()
    {
        $this->reward = array();    //清空奖励,有任务没有奖励
    }
}
