LeviLamina
Loading...
Searching...
No Matches
OfferModelBase.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8struct CommonImage;
9struct Offer;
10struct ProductSku;
11namespace catalog { struct ImageResourceManager; }
12// clang-format on
13
14class OfferModelBase {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 8, ::Offer*> mTheOffer;
19 ::ll::TypedStorage<8, 32, ::std::string> mProductId;
20 ::ll::TypedStorage<4, 4, uint> mCoinCount;
21 ::ll::TypedStorage<4, 4, uint> mBonusCoinCount;
22 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::catalog::ImageResourceManager>> mImageResourceManager;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ~OfferModelBase() = default;
29
30 virtual ::std::string const& getProductId() const;
31
32 virtual void setCoinCount(uint);
33
34 virtual uint getCoinCount() const;
35
36 virtual uint getBonusCoinCount() const;
37
38 virtual ::std::string const& getPriceInCurrency() const;
39
40 virtual ::ProductSku getSku() const;
41
42 virtual bool isAvailableForPurchase() const;
43
44 virtual void addKeyArtAndThumbnail(::CommonImage const&);
45
46 virtual ::ResourceLocation const& getKeyArtLocation(int) const;
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52
53 // NOLINTEND
54};
Definition OfferModelBase.h:5
Definition ResourceLocation.h:15
Definition CommonImage.h:5
Definition ImageResourceManager.h:7