Guest User

Untitled

a guest
Oct 13th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.73 KB | None | 0 0
  1. #pragma once
  2.  
  3. #ifdef ENABLE_SASH_SYSTEM
  4. #include "Packet.h"
  5.  
  6. class CPythonSash : public CSingleton<CPythonSash>
  7. {
  8.     public:
  9.         DWORD   dwPrice;
  10.         typedef std::vector<TSashMaterial> TSashMaterials;
  11.    
  12.     public:
  13.         CPythonSash();
  14.         virtual ~CPythonSash();
  15.        
  16.         void    Clear();
  17.         void    AddMaterial(DWORD dwRefPrice, BYTE bPos, TItemPos tPos);
  18.         void    AddResult(DWORD dwItemVnum, DWORD dwMinAbs, DWORD dwMaxAbs);
  19.         void    RemoveMaterial(DWORD dwRefPrice, BYTE bPos);
  20.         DWORD   GetPrice() {return dwPrice;}
  21.         bool    GetAttachedItem(BYTE bPos, BYTE & bHere, WORD & wCell);
  22.         void    GetResultItem(DWORD & dwItemVnum, DWORD & dwMinAbs, DWORD & dwMaxAbs);
  23.    
  24.     protected:
  25.         TSashResult m_vSashResult;
  26.         TSashMaterials  m_vSashMaterials;
  27. };
  28. #endif
Advertisement
Add Comment
Please, Sign In to add comment