Do some Wii no Ma specific cas stuff

This commit is contained in:
Sketch 2021-11-07 12:26:10 -05:00 committed by Spotlight
parent c32a746085
commit 943f475bba
No known key found for this signature in database
GPG Key ID: 874AA355B3209BDC

21
cas.go
View File

@ -11,31 +11,32 @@ func listItems(e *Envelope) {
TitleId: titleId, TitleId: titleId,
Contents: ContentsMetadata{ Contents: ContentsMetadata{
TitleIncluded: false, TitleIncluded: false,
ContentIndex: 1, ContentIndex: 0,
}, },
Attributes: []Attributes{ Attributes: []Attributes{
{ {
Name: "MaxUserInodes", Name: "TitleVersion",
Value: "10", Value: "0",
}, },
{ {
Name: "itemComment", Name: "Prices",
Value: "Does not catch on fire.", Value: "1",
}, },
}, },
Ratings: Ratings{ Ratings: Ratings{
Name: "Testing", Name: "E",
Rating: 1, Rating: 1,
Age: 13, Age: 9,
}, },
Prices: Prices{ Prices: Prices{
ItemId: 0, ItemId: 0,
Price: Price{ Price: Price{
Amount: 1, Amount: 100,
Currency: "POINTS", Currency: "POINTS",
}, },
Limits: LimitStruct(PR), // Literally every Limit except for PR works
LicenseKind: "PERMANENT", Limits: LimitStruct(TR),
LicenseKind: "RENTAL",
}, },
}) })
} }