map/das-dn/inc/yxbw.h
2024-07-08 10:27:17 +08:00

29 lines
709 B
C++

#ifndef _ZJD_YXBW_H_
#define _ZJD_YXBW_H_
#include "public.h"
class CYXBW
{
private:
struYXBW m_yxbws[DATABASE_YXBW_NUM];
int m_save;
int m_load;
public:
CYXBW();
virtual ~CYXBW();
void PushYXBW(unionCP56Time& st, int order, BOOLEAN value, BYTE qds, int uid, int point, int type);
void DumpYXBW(void);
BOOLEAN GetYXBW(LONG& pos, int& order, BOOLEAN& value, BYTE& qds);
BOOLEAN GetYXBW(LONG& pos, unionCP56Time& st, int& order, BOOLEAN& value, BYTE& qds, int& type);
BOOLEAN GetYXBW(LONG& pos, unionCP56Time& st, int& order, BOOLEAN& value, BYTE& qds, int& uid, int& point, int& type);
int GetSavePos(void) const;
};
#endif //_ZJD_YXBW_H_