Files
kiri-core/Server/SInterface/OnPacket.php
T
2021-08-12 12:40:06 +08:00

20 lines
282 B
PHP

<?php
namespace Server\SInterface;
use Server\Abstracts\Server;
interface OnPacket
{
/**
* @param Server $server
* @param string $data
* @param array $clientInfo
* @return mixed
*/
public function onPacket(Server $server, string $data, array $clientInfo): void;
}