PokéRogue
GitHub
Switch to Beta
Preparing search index...
src/system/voucher
Voucher
Class Voucher
Index
Constructors
constructor
Properties
condition
Func
description
id
voucher
Type
Accessors
name
Methods
get
Icon
Image
get
Tier
validate
Constructors
constructor
new
Voucher
(
voucherType
:
VoucherType
,
description
:
string
,
conditionFunc
?:
ConditionFn
,
)
:
Voucher
Parameters
voucherType
:
VoucherType
description
:
string
Optional
conditionFunc
:
ConditionFn
Returns
Voucher
Properties
Private
Readonly
condition
Func
conditionFunc
:
ConditionFn
|
undefined
description
description
:
string
id
id
:
string
voucher
Type
voucherType
:
VoucherType
Accessors
name
get
name
()
:
string
Returns
string
Methods
get
Icon
Image
getIconImage
()
:
string
Returns
string
get
Tier
getTier
()
:
AchvTier
Returns
AchvTier
validate
validate
(
args
?:
any
[]
)
:
boolean
Parameters
Optional
args
:
any
[]
Returns
boolean
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
condition
Func
description
id
voucher
Type
Accessors
name
Methods
get
Icon
Image
get
Tier
validate
GitHub
Switch to Beta
PokéRogue
Loading...