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

Inherits Object.

Description

Describes chance of the crafted gift to have the backdrop or symbol of one of the original gifts.

Public Fields

array< int32persistence_chance_per_mille_
 The 4 numbers that describe probability of the craft result to have the same attribute as one of the original gifts if 1, 2, 3, or 4 gifts with the attribute are used in the craft. Each number represents the number of crafted gifts with the original attribute per 1000 successful craftings.
 

Public Instance Methods

 attributeCraftPersistenceProbability ()
 
 attributeCraftPersistenceProbability (array< int32 > &&persistence_chance_per_mille_)
 
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 = -922780991
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ attributeCraftPersistenceProbability() [1/2]

Describes chance of the crafted gift to have the backdrop or symbol of one of the original gifts.

◆ attributeCraftPersistenceProbability() [2/2]

attributeCraftPersistenceProbability ( array< int32 > &&  persistence_chance_per_mille_)
explicit

Describes chance of the crafted gift to have the backdrop or symbol of one of the original gifts.

Parameters
[in]persistence_chance_per_mille_The 4 numbers that describe probability of the craft result to have the same attribute as one of the original gifts if 1, 2, 3, or 4 gifts with the attribute are used in the craft. Each number represents the number of crafted gifts with the original attribute per 1000 successful craftings.

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: