List of all members | Public Fields | Public Instance Methods | Static Public Attributes
giftUpgradePreview Class Referencefinal

Inherits Object.

Description

Contains examples of possible upgraded gifts for the given regular gift.

Public Fields

array< object_ptr< upgradedGiftModel > > models_
 Examples of possible models that can be chosen for the gift after upgrade.
 
array< object_ptr< upgradedGiftSymbol > > symbols_
 Examples of possible symbols that can be chosen for the gift after upgrade.
 
array< object_ptr< upgradedGiftBackdrop > > backdrops_
 Examples of possible backdrops that can be chosen for the gift after upgrade.
 
array< object_ptr< giftUpgradePrice > > prices_
 Examples of price for gift upgrade from the maximum price to the minimum price.
 
array< object_ptr< giftUpgradePrice > > next_prices_
 Next changes for the price for gift upgrade with more granularity than in prices.
 

Public Instance Methods

 giftUpgradePreview ()
 
 giftUpgradePreview (array< object_ptr< upgradedGiftModel >> &&models_, array< object_ptr< upgradedGiftSymbol >> &&symbols_, array< object_ptr< upgradedGiftBackdrop >> &&backdrops_, array< object_ptr< giftUpgradePrice >> &&prices_, array< object_ptr< giftUpgradePrice >> &&next_prices_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = -330012073
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ giftUpgradePreview() [1/2]

Contains examples of possible upgraded gifts for the given regular gift.

◆ giftUpgradePreview() [2/2]

giftUpgradePreview ( array< object_ptr< upgradedGiftModel >> &&  models_,
array< object_ptr< upgradedGiftSymbol >> &&  symbols_,
array< object_ptr< upgradedGiftBackdrop >> &&  backdrops_,
array< object_ptr< giftUpgradePrice >> &&  prices_,
array< object_ptr< giftUpgradePrice >> &&  next_prices_ 
)

Contains examples of possible upgraded gifts for the given regular gift.

Parameters
[in]models_Examples of possible models that can be chosen for the gift after upgrade.
[in]symbols_Examples of possible symbols that can be chosen for the gift after upgrade.
[in]backdrops_Examples of possible backdrops that can be chosen for the gift after upgrade.
[in]prices_Examples of price for gift upgrade from the maximum price to the minimum price.
[in]next_prices_Next changes for the price for gift upgrade with more granularity than in prices.

Method Documentation

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: