feat : 맵 바운딩 박스 처리 / echo 패킷 구조 재 구성 / 더미 클라이언트 랜덤 이동 작업
This commit is contained in:
@@ -11,7 +11,7 @@ namespace ClientTester.Packet
|
||||
public static byte[] Serialize<T>(ushort type, T packet)
|
||||
{
|
||||
using MemoryStream payloadMs = new MemoryStream();
|
||||
Serializer.Serialize(payloadMs, packet);
|
||||
Serializer.Serialize<T>(payloadMs, packet);
|
||||
byte[] payload = payloadMs.ToArray();
|
||||
ushort size = (ushort)payload.Length;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user