Interface: ConversionOptions

features/conversion.ConversionOptions

Properties

baseResource

baseResource: Resource<DecimalSource>

Defined in

profectus/src/features/conversion.ts:18


buyMax

Optional buyMax: Computable<boolean>

Defined in

profectus/src/features/conversion.ts:20


convert

Optional convert: VoidFunction

Defined in

profectus/src/features/conversion.ts:22


currentGain

Optional currentGain: Computable<DecimalSource>

Defined in

profectus/src/features/conversion.ts:16


gainResource

gainResource: Resource<DecimalSource>

Defined in

profectus/src/features/conversion.ts:19


nextAt

Optional nextAt: Computable<DecimalSource>

Defined in

profectus/src/features/conversion.ts:17


roundUpCost

Optional roundUpCost: Computable<boolean>

Defined in

profectus/src/features/conversion.ts:21


scaling

scaling: ScalingFunction

Defined in

profectus/src/features/conversion.ts:15

Methods

modifyGainAmount

Optional modifyGainAmount(gain): DecimalSource

Parameters

NameType
gainDecimalSource

Returns

DecimalSource

Defined in

profectus/src/features/conversion.ts:23