public void HandleMsg(MsgHandlerMgr ctx, MsgUnPacker unpacker) { UITools.log("MsgTransferHandler"); if (unpacker.Receiver != null) { unpacker.Receiver.ReceiveData(unpacker); } if (unpacker.RecvHandler != null) { unpacker.RecvHandler(unpacker); } }