Read how AILinkData should work

Is it unclear how/where AILinkData is called? It is automatically called
when you the AI's are linked.