예제 #1
0
 public void RegisterHandler(Type protoType, IPacketHandler handler)
 {
     if (null != handler)
     {
         mHandlerDict.Add(handler.GetPacketType(), new PacketHandlerInfo(protoType, handler));
     }
 }