28 lines
812 B
C++
28 lines
812 B
C++
/*
|
|
属性对象
|
|
拥有一个属性信息.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <SLM/CommonSLM.h>
|
|
|
|
class CShopProperty
|
|
{
|
|
public:
|
|
CShopProperty();
|
|
virtual ~CShopProperty();
|
|
|
|
bool SetPropertyVer6(tstring& strData, const tstring& delimiter);
|
|
bool SetPropertyVer6W(std::wstring& strData, const std::wstring& delimiter);
|
|
|
|
public:
|
|
int PropertySeq; // 1. 属性号
|
|
TCHAR PropertyName[SHOPLIST_LENGTH_PROPERTYNAME]; // 2. 属性名
|
|
WCHAR PropertyNameW[SHOPLIST_LENGTH_PROPERTYNAME]; // 2. 属性名
|
|
int PropertyType; // 3. 属性类型(141:道具属性,142:价格属性)
|
|
int MustFlag; // 4. 是否必须(145:必须,146:选择)
|
|
int UnitType; // 5. 单位码
|
|
TCHAR UnitName[SHOPLIST_LENGTH_PROPERTYUNITNAME]; // 6. 属性单位名
|
|
WCHAR UnitNameW[SHOPLIST_LENGTH_PROPERTYUNITNAME]; // 6. 属性单位名
|
|
};
|