Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- typedef struct
- {
- int ItemIndex;
- char ItemName[32];
- } pBlockItemInfo, *lpBlockItemInfo;
- class COnBuy
- {
- public:
- COnBuy();
- void BlockItem(int ItemIndex,const char *ItemName);
- void UnBlockItem(int ItemIndex);
- void UnBlockItem(const char *ItemName);
- bool IsBlock(int ItemIndex);
- bool IsBlock(const char *ItemName);
- int GetMenuItem(int Team,int Menu,int Slot);
- META_RES OnCommand(int Id);
- private:
- std::vector<pBlockItemInfo> m_Data;
- int m_MenuItemsTe[7][10];
- int m_MenuItemsCt[7][10];
- };
- extern COnBuy g_OnBuy;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement