Easily accessible ticket information
ECTicketInfo handles representing a ticket for a given title ID. It provides usable data about the status of the title on the Wii.
You do not want to instantiate this object yourself. Instead, obtain one via
ec.getTicketInfos(titleId)and iterate through all ECTicketInfos until you find what is desired. This will populate all ECTicketInfo available with usable data.
// Obtains tickets for the System Menu
var infos = ec.getTicketInfos("0000000100000002");
// Ensure you check infos.length. In this example, we do not.
var ticket = infos.get(0);
ECTicketInfosmanages multiple of an
ECTicketInfo. It is intended to be an immutable array, and its values only be retrived, not set.