ECTitleLimit

Easily accessible title limits

If title limits are available on a ticket, it's possible to query them. For example, to retrieve the first limit for the System Menu:

var ticket = ec.getTicketInfos("0000000100000002").get(0);
var limit = ticket.limits(0);

It is also possible to instantiate one yourself.

var limit = new ECTitleLimit(code, limit, consumed);

Properties

Limit Types

ECTitleLimits

ECTitleLimits manages multiple of an ECTitleLimit.

You have the ability instantiate one yourself, or have one provided to you via existing metadata.

// Instantiation
var limits = new ECTitleLimits(/* up to 8 limits */);
// Existing metadata
var ticket = ec.getTicketInfos("0000000100000002").get(0);
var limits = ticket.limits;

Properties

Last updated