mirror of
https://github.com/misenhower/splatoon3.ink.git
synced 2026-04-23 01:57:58 -05:00
29 lines
452 B
JavaScript
29 lines
452 B
JavaScript
import DataUpdater from './DataUpdater.mjs';
|
|
|
|
export default class CoopUpdater extends DataUpdater
|
|
{
|
|
name = 'Co-Op';
|
|
filename = 'coop';
|
|
|
|
imagePaths = [
|
|
'$..image.url',
|
|
];
|
|
|
|
derivedIds = [
|
|
'$..monthlyGear',
|
|
];
|
|
|
|
localizations = [
|
|
{
|
|
key: 'gear',
|
|
nodes: '$..monthlyGear',
|
|
id: '__splatoon3ink_id',
|
|
values: 'name',
|
|
},
|
|
];
|
|
|
|
getData(locale) {
|
|
return this.splatnet(locale).getCoopHistoryData();
|
|
}
|
|
}
|