AVA2 cross-platform client parity baseline
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef ENABLE_SASH_SYSTEM
|
||||
#include "Packet.h"
|
||||
|
||||
class CPythonSash : public CSingleton<CPythonSash>
|
||||
{
|
||||
public:
|
||||
DWORD dwPrice;
|
||||
typedef std::vector<TSashMaterial> TSashMaterials;
|
||||
|
||||
public:
|
||||
CPythonSash();
|
||||
virtual ~CPythonSash();
|
||||
|
||||
void Clear();
|
||||
void AddMaterial(DWORD dwRefPrice, BYTE bPos, TItemPos tPos);
|
||||
void AddResult(DWORD dwItemVnum, DWORD dwMinAbs, DWORD dwMaxAbs);
|
||||
void RemoveMaterial(DWORD dwRefPrice, BYTE bPos);
|
||||
DWORD GetPrice() {return dwPrice;}
|
||||
bool GetAttachedItem(BYTE bPos, BYTE & bHere, WORD & wCell);
|
||||
void GetResultItem(DWORD & dwItemVnum, DWORD & dwMinAbs, DWORD & dwMaxAbs);
|
||||
|
||||
protected:
|
||||
TSashResult m_vSashResult;
|
||||
TSashMaterials m_vSashMaterials;
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user