Files
dotNetStudyWithGPT/MySolution/STcpHelper/Packet/STcpZooReqPacket.cs

25 lines
540 B
C#
Raw Normal View History

2023-10-13 14:15:26 +09:00
using STcpHelper.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace STcpHelper.Packet
{
public class STcpZooReqPacket : ISTcpPacket
{
public STcpZooReqPacket()
{
}
public byte[] Serialize()
{
STcpPacketHeader header = new STcpPacketHeader(PacketType.REQ_ZOO, 0);
return SBufferHelper.GetBuffer(STcpPacketHeader.HEADER_LENGTH, header.Serialize());
}
}
}