This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,32 @@
// Metro module 1899 (f1900).
import BaseCollectiblesItemRecord from "./BaseCollectiblesItemRecord";
import { CollectiblesItemType } from "../../../_bundle/Module1901";
import { $callWithNewTarget } from "../../../_hermes/prelude";
class NameplateRecord extends BaseCollectiblesItemRecord {
type = CollectiblesItemType.NAMEPLATE;
constructor(a0) {
super(a0);
this.asset = a0.asset;
this.label = a0.label;
this.palette = a0.palette;
}
static fromServer(a0) {
const r2 = {
...Reflect.get(Object.getPrototypeOf(NameplateRecord), "fromServer", this).call(this, a0),
...a0
};
const prototypeOf = Object.getPrototypeOf(NameplateRecord);
const r20 = Object.create(NameplateRecord.prototype);
const r22 = $callWithNewTarget(prototypeOf, r20, NameplateRecord, r2);
const r23 = r22 instanceof Object ? r22 : r20;
r23.type = CollectiblesItemType.NAMEPLATE;
r23.asset = r2.asset;
r23.label = r2.label;
r23.palette = r2.palette;
return r23;
}
}
export default NameplateRecord;
export function isNameplateRecord(a0) {
return a0 instanceof NameplateRecord;
}