Files
discord-decomp/modules/collectibles/records/FramesBannerBlockRecord.tsx
T
2026-11-01 12:12:55 +02:00

26 lines
850 B
TypeScript

// Metro module 5834 (f5835).
import { ShopBlockType } from "../../../_bundle/Module5829";
class FramesBannerBlockRecord {
type = ShopBlockType.FRAMES_BANNER;
constructor(a0) {
this.title = a0.title;
this.body = a0.body;
this.mobileBackgroundImage = a0.mobile_background_image;
this.mobileForegroundImage = a0.mobile_foreground_image;
this.desktopBackgroundImage = a0.desktop_background_image;
}
static fromServer(a0) {
const r9 = {
__proto__: FramesBannerBlockRecord.prototype
};
r9.type = ShopBlockType.FRAMES_BANNER;
r9.title = a0.title;
r9.body = a0.body;
r9.mobileBackgroundImage = a0.mobile_background_image;
r9.mobileForegroundImage = a0.mobile_foreground_image;
r9.desktopBackgroundImage = a0.desktop_background_image;
return r9;
}
}
export { FramesBannerBlockRecord };