C_PvP. GetBrawlRewards
functionguessedavailable in: camelot
Returns the honor, experience, items, currencies and role shortage bonus for winning the given kind of brawl. · description by wowlua
function C_PvP.GetBrawlRewards( brawlType: BrawlType): (number?, number?, BattlefieldItemReward[]?, BattlefieldCurrencyReward[]?, RoleShortageReward?, boolean?)Parameters
| name | type |
|---|---|
brawlType | BrawlType |
Returns
| # | name | type |
|---|---|---|
| 1 | honor | number? |
| 2 | experience | number? |
| 3 | itemRewards | BattlefieldItemReward[]? |
| 4 | currencyRewards | BattlefieldCurrencyReward[]? |
| 5 | roleShortageBonus | RoleShortageReward? |
| 6 | hasWon | boolean? |
| field | type |
|---|---|
id | number |
name | string |
texture | number |
quantity | number |
| field | type |
|---|---|
id | number |
quantity | number |
| field | type |
|---|---|
validRoles | string[] |
rewardSpellID | number |
rewardItemID | number |
Blizzard's documentation says it may return nothing.
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (PvpInfo system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.