25 lines
543 B
C++
25 lines
543 B
C++
#pragma once
|
|
|
|
#include "AuctionCategoryBase.h"
|
|
#include "GameRule.h"
|
|
//#include <vector>
|
|
|
|
class AuctionCategoryDB
|
|
{
|
|
public:
|
|
typedef _AUCTION_CATEGORY_INFO category_info_t;
|
|
typedef std::vector< category_info_t* > category_info_container_t;
|
|
|
|
AuctionCategoryDB( );
|
|
~AuctionCategoryDB( );
|
|
void GetCategoryInfo( category_info_container_t& out, int nLocalFlag );
|
|
|
|
private:
|
|
void Load( );
|
|
void Release( );
|
|
bool IsValid( category_info_t& info );
|
|
|
|
category_info_container_t m_CategoryInfos;
|
|
};
|
|
|
|
AuctionCategoryDB& GetAuctionCategoryDB( ); |