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