5180 fichiers 38.5 Mo 0 téléchargements 195 vues mis à jour il y a 5 heures ui
nitro-v36-with-renderer-v36 / src / api / catalog / PlacedObjectPurchaseData.ts
PlacedObjectPurchaseData.ts 990 o Télécharger le fichier
import { IFurnitureData, IProductData } from '@octane/renderer';
import { IPurchasableOffer } from './IPurchasableOffer';

export class PlacedObjectPurchaseData {
    constructor(
        public readonly roomId: number,
        public readonly objectId: number,
        public readonly category: number,
        public readonly wallLocation: string,
        public readonly x: number,
        public readonly y: number,
        public readonly direction: number,
        public readonly offer: IPurchasableOffer
    ) {}

    public get offerId(): number {
        return this.offer.offerId;
    }

    public get productClassId(): number {
        return this.offer.product.productClassId;
    }

    public get productData(): IProductData {
        return this.offer.product.productData;
    }

    public get furniData(): IFurnitureData {
        return this.offer.product.furnitureData;
    }

    public get extraParam(): string {
        return this.offer.product.extraParam;
    }
}
15Sujets
1Dépôts
20Membres
2En ligne
Profile
Inscrit
Dernière visite
Messages
0
Votes positifs
0
Votes négatifs
0

Nous utilisons des cookies pour assurer le bon fonctionnement du site et améliorer votre expérience. en savoir plus

Autoriser