ECTicketInfo
Easily accessible ticket information
Last updated
Was this helpful?
Easily accessible ticket information
Last updated
Was this helpful?
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 until you find what is desired. This will populate all ECTicketInfo available with usable data.
For example:
ticket.ticketId
The ticket ID of the retrieved ticket.
ticket.titleId
The title ID this ticket is intended for.
ticket.nLimits
The number of limits available for this ticket.
ticket.limits
ticket.version
The file version of this ticket, which should be 0.
ticket.deviceId
The device ID this ticket is specified for.
ticket.ticketVersion
The version of this title.
ticket.licenseType
The type of license this ticket represents. TODO: determine possible values
ticket.cidxMask
A base64-encoded field of some field within the ticket. TODO: determine
ticket.reserved
A base64-encoded field of some field within the ticket. TODO: determine
ECTicketInfos
manages multiple of an ECTicketInfo
. It is intended to be an immutable array, and its values only be retrived, not set.
ticket.length
Returns the length of the tracked array.
ticket.get(index)
ticket.set
This array is considered immutable. Despite it existing, attempting to call or access this property results in an error.
Returns an object for the current ticket.
Returns the at the given index.