map/das-dn/inc/ycbw.h

29 lines
740 B
C
Raw Permalink Normal View History

2024-07-08 10:27:17 +08:00
#ifndef _ZJD_YCBW_H_
#define _ZJD_YCBW_H_
#include "public.h"
class CYCBW
{
private:
2024-09-24 15:59:22 +08:00
//struYCBWBuffer m_ycbws[DATABASE_YCBW_NUM];
struYCBWBuffer *m_ycbws;
2024-07-08 10:27:17 +08:00
int m_save;
int m_load;
public:
CYCBW();
virtual ~CYCBW();
void PushYCBW(unionCP56Time& st, int order, LONG value, BYTE qds, int uid, int point, int type);
void DumpYCBW(void);
BOOLEAN GetYCBW(LONG& pos, int& order, LONG& value, BYTE& qds);
BOOLEAN GetYCBW(LONG& pos, unionCP56Time& st, int& order, LONG& value, BYTE& qds, int& type);
BOOLEAN GetYCBW(LONG& pos, unionCP56Time& st, int& order, LONG& value, BYTE& qds, int& uid, int& point, int& type);
int GetSavePos(void) const;
};
#endif //_ZJD_YCBW_H_