2016-08-29 14:25:24 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Events;
|
|
|
|
|
2016-08-30 10:10:11 +08:00
|
|
|
use App\Models\Texture;
|
2016-08-29 14:25:24 +08:00
|
|
|
|
|
|
|
class GetSkinPreview extends Event
|
|
|
|
{
|
2018-02-16 16:25:35 +08:00
|
|
|
public $size;
|
2016-08-29 14:25:24 +08:00
|
|
|
|
2016-08-30 10:10:11 +08:00
|
|
|
public $texture;
|
|
|
|
|
2016-08-29 14:25:24 +08:00
|
|
|
/**
|
|
|
|
* Create a new event instance.
|
|
|
|
*
|
2018-02-16 16:25:35 +08:00
|
|
|
* @param Texture $texture
|
|
|
|
* @param int $size
|
2016-08-29 14:25:24 +08:00
|
|
|
* @return void
|
|
|
|
*/
|
2016-08-30 10:10:11 +08:00
|
|
|
public function __construct(Texture $texture, $size)
|
2016-08-29 14:25:24 +08:00
|
|
|
{
|
|
|
|
$this->texture = $texture;
|
2016-08-30 10:10:11 +08:00
|
|
|
$this->size = $size;
|
2016-08-29 14:25:24 +08:00
|
|
|
}
|
|
|
|
}
|