Node.acceptedGames

Indicates which games and which protocols the node does accept.

class Node
uint[][ubyte] acceptedGames;

Examples

auto pocket = PE in node.acceptedGames;
if(pocket && (*pocket).canFind(100)) {
   log(node.name, " supports MCPE 1.0");
}

Meta