1 #ifndef __SHOPMASTER_H__ 2 #define __SHOPMASTER_H__ 31 typedef std::map<u32, ShopItem> ItemMap;
32 typedef std::map<int, ItemMap> SheetMap;
42 std::vector<ShopItem>
GetAll()
const;
50 #endif // #ifndef __SHOPMASTER_H__ std::vector< ShopItem > GetAllSheetItem(s32 SheetIndex) const
Definition: ShopMaster.cpp:48
std::vector< ShopItem > GetAll() const
Definition: ShopMaster.cpp:64
Definition: ShopMaster.h:26
bool Load(const MySqlConnection &Connection)
Definition: ShopMaster.cpp:5
Definition: MySqlConnection.h:15
int s32
Definition: TypeDefs.h:9
unsigned int u32
Definition: TypeDefs.h:10
Definition: ShopMaster.h:9
s32 AutoKey
Definition: ShopMaster.h:16
std::vector< const ShopItem * > CollectItems(u32 Key, s32 SheetIndex=0) const
Definition: ShopMaster.cpp:32
u32 ID
Definition: ShopMaster.h:17
u32 ItemId
Definition: ShopMaster.h:18
bool operator<(const ShopItem &A, const ShopItem &B)
Definition: ShopMaster.cpp:79
bool operator>(const ShopItem &A, const ShopItem &B)
Definition: ShopMaster.cpp:84