<?php

namespace Test\Item;

use Game\Logic\ItemLogic;
use Game\Model\ItemModel;
use Test\TestBase;

class TestItem extends TestBase
{
    use ItemLogic;

    public function getPlayerId(): int
    {
        return 288718440726445151;
    }

    public function startTest()
    {
        // 增加道具
        $this->gainItem(154100181, 1);
        // 使用道具
//        $this->useItemByUID(432594893019580488, 1);
//    $this->useItemByUIDArr([432594893019580488=>1]);
//        $time = 12000 + time();
//        $this->gainItemExpire(102400007, 1, $time);
//        $this->gainItemExpire(101200010, 1, $time);
//        $this->gainItemExpire(101100001, 1, $time);
//        $this->useItemByUID(432522441218864771, 1);
    }
}
