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

Inherits Update.

Description

The stake dice state has changed.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 updateStakeDiceState ()
 updateStakeDiceState (object_ptr< stakeDiceState > &&state_)
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< stakeDiceState > state_
 The new state. The state can be used only if it was received recently enough. Otherwise, a new state must be requested using getStakeDiceState.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ updateStakeDiceState() [1/2]

updateStakeDiceState ( )

The stake dice state has changed.

◆ updateStakeDiceState() [2/2]

updateStakeDiceState ( object_ptr< stakeDiceState > && state_)
explicit

The stake dice state has changed.

Parameters
[in]state_The new state. The state can be used only if it was received recently enough. Otherwise, a new state must be requested using getStakeDiceState.

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: