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

28 lines
708 B
C++

#ifndef _ZJD_YCBW_H_
#define _ZJD_YCBW_H_
#include "public.h"
class CYCBW
{
private:
struYCBWBuffer m_ycbws[DATABASE_YCBW_NUM];
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_