Пример #1
0
 public void sendMessage <T>(SOCKET_CONNECT connect = SOCKET_CONNECT.SC_SERVER) where T : SocketPacket
 {
     mConnectList[connect].sendMessage <T>();
 }
Пример #2
0
 public void sendMessage(SocketPacket packet, SOCKET_CONNECT connect = SOCKET_CONNECT.SC_SERVER)
 {
     mConnectList[connect].sendMessage(packet);
 }
Пример #3
0
 public SocketConnect getConnect(SOCKET_CONNECT connect = SOCKET_CONNECT.SC_SERVER)
 {
     return(mConnectList[connect]);
 }