aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Loot/LootMgr.h
diff options
context:
space:
mode:
authorAokromes <Aokromes@users.noreply.github.com>2019-07-08 12:51:42 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-14 23:04:29 +0100
commit3ad5bc1e15574e1534fe60e06772d4b293cdf13c (patch)
tree578571e2f9cd64dfff6cab45662856e8de90a05d /src/server/game/Loot/LootMgr.h
parent2532de6acb7d73957a8fca44e7fc26160f47cc47 (diff)
Core/Misc: More coding standards (#23519)
* Core/Misc: More coding standards * revert part * "void " or more to "void " * fix? reject * remove more double whitespaces * remove more double whitespaces * more standards * more coding standards * More standards * more coding * more coding standards * more coding standards * And more standards (cherry picked from commit 574a7c8d3d5f5a5660295deb70e905cf4dd756c4)
Diffstat (limited to 'src/server/game/Loot/LootMgr.h')
-rw-r--r--src/server/game/Loot/LootMgr.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/server/game/Loot/LootMgr.h b/src/server/game/Loot/LootMgr.h
index 138bcde08a3..96018801148 100644
--- a/src/server/game/Loot/LootMgr.h
+++ b/src/server/game/Loot/LootMgr.h
@@ -36,15 +36,15 @@ struct LootItem;
struct TC_GAME_API LootStoreItem
{
- uint32 itemid; // id of the item
- uint32 reference; // referenced TemplateleId
- float chance; // chance to drop for both quest and non-quest items, chance to be used for refs
- uint16 lootmode;
- bool needs_quest; // quest drop (quest is required for item to drop)
- uint8 groupid;
- uint8 mincount; // mincount for drop items
- uint8 maxcount; // max drop count for the item mincount or Ref multiplicator
- ConditionContainer conditions; // additional loot condition
+ uint32 itemid; // id of the item
+ uint32 reference; // referenced TemplateleId
+ float chance; // chance to drop for both quest and non-quest items, chance to be used for refs
+ uint16 lootmode;
+ bool needs_quest; // quest drop (quest is required for item to drop)
+ uint8 groupid;
+ uint8 mincount; // mincount for drop items
+ uint8 maxcount; // max drop count for the item mincount or Ref multiplicator
+ ConditionContainer conditions; // additional loot condition
// Constructor
// displayid is filled in IsValid() which must be called after