aboutsummaryrefslogtreecommitdiff
path: root/src/game/Bag.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Bag.h')
-rw-r--r--src/game/Bag.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/Bag.h b/src/game/Bag.h
index fc363abe538..31bc0d406d1 100644
--- a/src/game/Bag.h
+++ b/src/game/Bag.h
@@ -21,7 +21,7 @@
#ifndef TRINITY_BAG_H
#define TRINITY_BAG_H
-// Maximum 36 Slots ( (CONTAINER_END - CONTAINER_FIELD_SLOT_1)/2
+// Maximum 36 Slots ((CONTAINER_END - CONTAINER_FIELD_SLOT_1)/2
#define MAX_BAG_SIZE 36 // 2.0.12
#include "Item.h"
@@ -40,11 +40,11 @@ class Bag : public Item
bool Create(uint32 guidlow, uint32 itemid, Player const* owner);
void Clear();
- void StoreItem( uint8 slot, Item *pItem, bool update );
- void RemoveItem( uint8 slot, bool update );
+ void StoreItem(uint8 slot, Item *pItem, bool update);
+ void RemoveItem(uint8 slot, bool update);
- Item* GetItemByPos( uint8 slot ) const;
- uint32 GetItemCount( uint32 item, Item* eItem = NULL ) const;
+ Item* GetItemByPos(uint8 slot) const;
+ uint32 GetItemCount(uint32 item, Item* eItem = NULL) const;
uint8 GetSlotByItemGUID(uint64 guid) const;
bool IsEmpty() const;