public SROPacket(string id, ushort opcode, bool encrypted, bool massive, PacketSendType sendType, ServerServiceType serverType, PacketSocketType socketType) : base(opcode, encrypted, massive) { this.m_packetID = id; this.m_sendType = sendType; this.m_serverType = serverType; this.m_socketType = socketType; }
public SROPacket(string id, Packet packet, PacketSendType sendType, ServerServiceType serverType, PacketSocketType socketType) : base(packet) { this.m_packetID = id; this.m_sendType = sendType; this.m_serverType = serverType; this.m_socketType = socketType; }
public void Create(PacketSendType sendType, ServerServiceType serverType, PacketSocketType socketType) { this.m_sendType = sendType; this.m_serverType = serverType; this.m_socketType = socketType; }