warframe-worldstate-parser
Version:
An Open parser for Warframe's Worldstate in Javascript
34 lines • 762 B
text/typescript
//#region lib/supporting/RewardTypes.d.ts
/**
* An object describing a type of reward, including name, description,
* test function to verify type from a string, thumbnail url, and color
*/
interface RewardType {
/**
* Name of the reward type.
*/
name: string;
/**
* Description of the reward type.
*/
description: string;
/**
* Function for testing the reward type against a string.
*/
test: (s: string) => boolean;
/**
* Thumbnail url for the reward type.
*/
thumbnail: string;
/**
* Summary color representing this reward type
*/
color: number;
}
/**
* All possible RewardTypes
* @type {Array.<RewardType>}
*/
declare const _default: RewardType[];
//#endregion
export { _default as n, RewardType as t };