<?php
/**
 * 汽车车牌号获取
 * @date 2022-5-25
 * @author leeFx
 **/
namespace Game\Controller\Car;

use Framework\Define\ErrorDefine;
use Framework\MVC\ControllerBase;
use Framework\Network\SendMessage;
use Game\Logic\CarExteriorRefitLogic;
use Game\Protobuf\CGGetLicence;
use Game\Protobuf\GCGetLicence;
use Game\Protobuf\PacketId;

class GetLicence extends ControllerBase
{
    use CarExteriorRefitLogic;


    public function __construct()
    {
        $this->message = new CGGetLicence();
    }

    public function run(): int
    {
        $this->getLicence();
        return ErrorDefine::SUCCESS;
    }
}