first commit

This commit is contained in:
2021-11-03 15:17:52 +08:00
commit 000d084abf
48 changed files with 2317 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace Server\SInterface;
use Server\Abstracts\Server;
interface OnPacketInterface
{
/**
* @param Server $server
* @param string $data
* @param array $clientInfo
* @return mixed
*/
public function onPacket(Server $server, string $data, array $clientInfo): void;
}