Skip to content

@valoranchi/riot-client / raw / StoreValidator

Class: StoreValidator ​

Defined in: src/client/StoreValidator.ts:20

Constructors ​

Constructor ​

new StoreValidator(): StoreValidator

Returns ​

StoreValidator

Methods ​

checkFunds() ​

static checkFunds(cost, wallet): void

Defined in: src/client/StoreValidator.ts:157

Parameters ​

cost ​

Cost

wallet ​

Wallet

Returns ​

void


isItemOwned() ​

static isItemOwned(item, owned): boolean

Defined in: src/client/StoreValidator.ts:134

Parameters ​

item ​

StoreItem

owned ​

OwnedItems

Returns ​

boolean


validateBuy() ​

static validateBuy(store, ownedItems, wallet, target, confirm?): BuyValidationResult

Defined in: src/client/StoreValidator.ts:34

Parameters ​

store ​

Store

ownedItems ​

OwnedItems

wallet ​

Wallet

target ​

BuyTarget

confirm? ​

boolean

Returns ​

BuyValidationResult


validateNightMarket() ​

static validateNightMarket(store): void

Defined in: src/client/StoreValidator.ts:21

Parameters ​

store ​

Store

Returns ​

void

Not affiliated with Riot Games