Files
2022-10-26 12:25:11 +08:00

57 lines
1.2 KiB
C

// stdafx.h : 标准系统包含文件的包含文件,
// 或是经常使用但不常更改的
// 特定于项目的包含文件
//
#pragma once
#include "targetver.h"
#include <stdio.h>
#include <tchar.h>
#define WIN32_LEAN_AND_MEAN
#include <afx.h>
#include <Winsock2.h>
#include <Windows.h>
#include <WBANetwork/WBANetwork.h>
#include <WBANetwork/util/Stream.h>
#include <string.h>
#include <strsafe.h>
#include "public/ShopDefine.h"
#include "./Uitl/Singleton.h"
#include "./Uitl/log.h"
#define VERSION_SUNSHOP "1.0.0.4"
#ifndef _UNICODE
#ifdef _DEBUG
#pragma comment(lib,"ShopListManager_VS2008_MB_MT_d.lib")
#else
#pragma comment(lib,"ShopListManager_VS2008_MB_MT.lib")
#endif
#endif
typedef unsigned char uint8_t;
#define Strcmp _tcscmp
#define SAFE_DELETE( p) { if ( p) { delete ( p); ( p) = NULL; } }
#define SAFE_DELETE_ARRAY( p) { if ( p) { delete[] ( p); ( p) = NULL; } }
#define SAFE_RELEASE( p) { if ( p) { ( p)->Release(); ( p) = NULL; } }
#define SAFE_RELEASENDELETE(p) if (p) { (p)->Release(); delete (p); (p) = NULL; }
struct KindOfItemType
{
typedef uint8_t value_type;
enum {
Default = 0,
Divine,
Etheria,
EtheriaWithDivine,
Shell,
Counts,
};
value_type value;
};