sweeperbonus.h
来自「天之炼狱1服务器端源文件游戏服务端不完整」· C头文件 代码 · 共 52 行
H
52 行
//////////////////////////////////////////////////////////////////////////////// Filename : SweeperBonus.h// Written by :// Description ://////////////////////////////////////////////////////////////////////////////#ifndef __SWEEPER_BONUS_H__#define __SWEEPER_BONUS_H__#include "Types.h"#include "ItemUtil.h"typedef list<OptionType_t> OptionTypeList;typedef OptionTypeList::iterator OptionTypeListItor;typedef OptionTypeList::const_iterator OptionTypeListConstItor;class SweeperBonus{public: SweeperBonus() throw() {} ~SweeperBonus() throw() { clearOptionTypeList(); }public: SweeperBonusType_t getType() const { return m_Type; } void setType( DWORD type ) { m_Type = type; } string getName() const { return m_Name; } void setName( string name ) { m_Name = name; } int getLevel() const { return m_Level; } void setLevel( int level ) { m_Level = level; } Race_t getRace() const { return m_Race; } void setRace( Race_t race ); void clearOptionTypeList() { m_OptionTypeList.clear(); } const OptionTypeList& getOptionTypeList() const { return m_OptionTypeList; } void setOptionTypeList( const string& optionList ) { makeOptionList( optionList, m_OptionTypeList ); } string toString() const throw();protected: SweeperBonusType_t m_Type; string m_Name; int m_Level; Race_t m_Race; OptionTypeList m_OptionTypeList;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?