Package org.drinkless.tdlib
Class TdApi.AttributeCraftPersistenceProbability
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.AttributeCraftPersistenceProbability
- Enclosing class:
TdApi
Describes chance of the crafted gift to have the backdrop or symbol of one of the original gifts.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.int[]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. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes chance of the crafted gift to have the backdrop or symbol of one of the original gifts.AttributeCraftPersistenceProbability(int[] persistenceChancePerMille) Describes chance of the crafted gift to have the backdrop or symbol of one of the original gifts. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
persistenceChancePerMille
public int[] persistenceChancePerMilleThe 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AttributeCraftPersistenceProbability
public AttributeCraftPersistenceProbability()Describes chance of the crafted gift to have the backdrop or symbol of one of the original gifts. -
AttributeCraftPersistenceProbability
public AttributeCraftPersistenceProbability(int[] persistenceChancePerMille) Describes chance of the crafted gift to have the backdrop or symbol of one of the original gifts.- Parameters:
persistenceChancePerMille- 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 Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-