Ejemplo n.º 1
0
 private PacketHandler FindPacketHandler(byte ID)
 {
     return(PacketHandlers.Get(ID));
 }
 /// <summary>
 /// Called by LoginClient instances
 /// when they've received some new data
 /// (a new packet). Should not be called
 /// from anywhere else.
 /// </summary>
 /// <param name="P"></param>
 public void OnReceivedData(PacketStream P, LoginClient Client)
 {
     PacketHandlers.Handle(P, Client);
     //OnReceiveEvent(P, Client);
 }