This page is intended for developers working with Y8 for licensed games.

There is an additional method in the Protection class used to disable y8 links while a game is being played on the Y8 network. This is done to give players the best possible experience.

Example

Use the boolean response of IsSponsor in protection callback to disable the hand click cursor icon on Y8 buttons and disable the actual link.

Idnet.I.Protection((protectionException)  => {
 if (protectionException == null)
 {
    if(Idnet.I.IsSponsor)
    {
     //Callback: Game is running on Y8's network.
     Debug.Log("Game is running on Y8's network.");
    }
 }
});