53 uint8 rewCount = quest->GetRewItemsCount() + quest->GetRewCurrencyCount();
55 data <<
uint32(player->GetQuestMoneyReward(quest));
56 data <<
uint32(player->GetQuestXPReward(quest));
57 data <<
uint8(rewCount);
62 if (
uint32 currencyId = quest->RewardCurrencyId[i])
64 data <<
uint32(currencyId);
66 data <<
uint32(quest->RewardCurrencyCount[i]);
73 if (
uint32 itemId = quest->RewardItemId[i])
78 data <<
uint32(quest->RewardItemCount[i]);
#define QUEST_REWARD_CURRENCY_COUNT
Definition: QuestDef.h:51
uint32_t uint32
Definition: Define.h:150
uint8_t uint8
Definition: g3dmath.h:164
uint8_t uint8
Definition: Define.h:152
#define QUEST_REWARD_ITEM_COUNT
Definition: QuestDef.h:47
uint32_t uint32
Definition: g3dmath.h:168