示例#1
0
 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;
 }
示例#2
0
 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;
 }
示例#3
0
 public void Create(PacketSendType sendType, ServerServiceType serverType, PacketSocketType socketType)
 {
     this.m_sendType   = sendType;
     this.m_serverType = serverType;
     this.m_socketType = socketType;
 }