1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-06-16 13:33:14 +02:00

Rename SocketType -> EngineType.

This commit is contained in:
Anthony Birkett
2021-06-01 21:50:37 +01:00
parent 71bdac6f9d
commit da68be0fb1
7 changed files with 26 additions and 19 deletions
+3 -2
View File
@@ -15,14 +15,15 @@ declare(strict_types=1);
namespace xPaw\SourceQuery\Socket;
use xPaw\SourceQuery\EngineType;
use xPaw\SourceQuery\Socket\Traits\GoldSourcePacketDataTrait;
final class GoldSourceSocket extends AbstractSocket
{
use GoldSourcePacketDataTrait;
public function getType(): int
public function getType(): string
{
return SocketType::GOLDSOURCE;
return EngineType::GOLDSOURCE;
}
}