Prize

data class Prize(val amount: Double, val playerAmount: Double, val name: String, val state: PrizeState, val type: PrizeType, val count: Int, val bundle: Int)

Prize is a prize won, and it contains the amount, playerAmount, name, count, state, this indicates if the prize is available, expired or paid out, type, this indicates if the prize is in Cash or a physical form of Merchandise, bundle, this indicates what bundle the prize is associated with, (The prize bundle will only be important for campaignGame draws with multiple bundles)

Constructors

Link copied to clipboard
constructor(amount: Double, playerAmount: Double, name: String, state: PrizeState, type: PrizeType, count: Int, bundle: Int)

Properties

Link copied to clipboard
Link copied to clipboard
val bundle: Int
Link copied to clipboard
val count: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard