mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
28 lines
425 B
PHP
28 lines
425 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Events;
|
||
|
|
||
|
use App\Models\Player;
|
||
|
use Illuminate\Queue\SerializesModels;
|
||
|
|
||
|
class GetPlayerJson extends Event
|
||
|
{
|
||
|
use SerializesModels;
|
||
|
|
||
|
public $player;
|
||
|
|
||
|
public $api_type;
|
||
|
|
||
|
/**
|
||
|
* Create a new event instance.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function __construct(Player $player, $api_type)
|
||
|
{
|
||
|
$this->player = $player;
|
||
|
$this->api_type = $api_type;
|
||
|
}
|
||
|
|
||
|
}
|