TDLib
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
auctionRound Class Referencefinal

Inherits Object.

Description

Describes a round of an auction.

Public Member Functions

 auctionRound ()
 
 auctionRound (int32 number_, int32 duration_, int32 extend_time_, int32 top_winner_count_)
 
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

int32 duration_
 Duration of the round, in seconds.
 
int32 extend_time_
 The number of seconds for which the round will be extended if there are changes in the top winners.
 
int32 number_
 1-based number of the round.
 
int32 top_winner_count_
 The number of top winners who trigger round extension if changed.
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ auctionRound() [1/2]

Describes a round of an auction.

◆ auctionRound() [2/2]

auctionRound ( int32  number_,
int32  duration_,
int32  extend_time_,
int32  top_winner_count_ 
)

Describes a round of an auction.

Parameters
[in]number_1-based number of the round.
[in]duration_Duration of the round, in seconds.
[in]extend_time_The number of seconds for which the round will be extended if there are changes in the top winners.
[in]top_winner_count_The number of top winners who trigger round extension if changed.

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: