示例#1
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;
 }
示例#2
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;
 }
示例#3
0
 public SROServiceComponent(ServerServiceType serviceType, int serviceIndex)
 {
     this.ServiceType        = serviceType;
     this.ServiceIndex       = serviceIndex;
     this.MaxClientCount     = 10;
     this.LocalBindTimeout   = 10;
     this.ServiceBindTimeout = 10;
     this.IsDebugMode        = false;
 }
示例#4
0
 public void Create(PacketSendType sendType, ServerServiceType serverType, PacketSocketType socketType)
 {
     this.m_sendType   = sendType;
     this.m_serverType = serverType;
     this.m_socketType = socketType;
 }