RewardOption¶
Returns information on reward options. Must specify reward and option, e.g. Rewards.Reward[1].Option[1].Text
Members¶
string Text¶
- Returns name of the indicated option if available; else NULL
bool Selected¶
- Returns TRUE if the indicated option is available and selected; otherwise FALSE
bool Select¶
- Selects the specified option. TRUE if available and able to select; otherwise FALSE
int ItemCount¶
- Returns number of items (right-side list) for the specified reward and selected option if available. Otherwise NULL.
RewardOptionItem Item[#|name]¶
- Returns the appropriate item by index or name; else returns NULL
Examples¶
${Rewards.Reward[1].Option[1].Text}
${Rewards.Reward[5].Option[2].Selected}
${Rewards.Reward[1].Option[1].Item[7]}
This datatype is added by MQ2Rewards.