D'angband  0.0.0
Deeangband
 全て クラス 名前空間 ファイル 関数 変数 型定義 列挙型 列挙値 フレンド マクロ定義 ページ
Quest.h
[詳解]
1 
9 #include "stdafx.h"
10 #include "GameElement.h"
11 
12 #pragma once
13 
14 namespace Deeangband
15 {
16 
21  class Quest : public GameElement
22  {
23 
24  private:
25 
26  std::string name;
27 
29 
36  template<class Archive> void serialize(Archive &archive, const unsigned int version)
37  {
38  if(version >= 0)
39  {
40  archive & boost::serialization::make_nvp("name", name);
41  }
42  }
43 
44  public:
45 
49  Quest::Quest(void);
50 
54  Quest::‾Quest(void);
55 
60  void Quest::WipeData(void);
61 
62  };
63 
64 }
65 
std::string name
クエスト名
Definition: Quest.h:26
BOOST_CLASS_VERSION(Deeangband::Quest, 10)
friend class boost::serialization::access
Definition: Quest.h:28
標準のシステム インクルード ファイルのインクルード ファイル、または 参照回数が多く、かつあまり変更さ...
GameElementクラスと付随要素のプロトタイプ
ゲームの諸要素の管理を行うスーパークラス
Definition: GameElement.h:21
クエストのクラス
Definition: Quest.h:21
void serialize(Archive &archive, const unsigned int version)
クラスのシリアライズを設定する
Definition: Quest.h:36