TDLib
Loading...
Searching...
No Matches
diceStickersSlotMachine Class Referencefinal

Inherits DiceStickers.

Description

Animated stickers to be combined into a slot machine.

Public Member Functions

 diceStickersSlotMachine ()
 diceStickersSlotMachine (object_ptr< sticker > &&background_, object_ptr< sticker > &&lever_, object_ptr< sticker > &&left_reel_, object_ptr< sticker > &&center_reel_, object_ptr< sticker > &&right_reel_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

object_ptr< sticker > background_
 The animated sticker with the slot machine background. The background animation must start playing after all reel animations finish.
object_ptr< sticker > center_reel_
 The animated sticker with the center reel.
object_ptr< sticker > left_reel_
 The animated sticker with the left reel.
object_ptr< sticker > lever_
 The animated sticker with the lever animation. The lever animation must play once in the initial dice state.
object_ptr< sticker > right_reel_
 The animated sticker with the right reel.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ diceStickersSlotMachine() [1/2]

diceStickersSlotMachine ( )

Animated stickers to be combined into a slot machine.

◆ diceStickersSlotMachine() [2/2]

diceStickersSlotMachine ( object_ptr< sticker > && background_,
object_ptr< sticker > && lever_,
object_ptr< sticker > && left_reel_,
object_ptr< sticker > && center_reel_,
object_ptr< sticker > && right_reel_ )

Animated stickers to be combined into a slot machine.

Parameters
[in]background_The animated sticker with the slot machine background. The background animation must start playing after all reel animations finish.
[in]lever_The animated sticker with the lever animation. The lever animation must play once in the initial dice state.
[in]left_reel_The animated sticker with the left reel.
[in]center_reel_The animated sticker with the center reel.
[in]right_reel_The animated sticker with the right reel.

Member Function 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: