OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
selectwrapper.hpp
Go to the documentation of this file.
1 #ifndef GAME_MWDIALOGUE_SELECTWRAPPER_H
2 #define GAME_MWDIALOGUE_SELECTWRAPPER_H
3 
5 
6 namespace MWDialogue
7 {
9  {
11 
12  public:
13 
14  enum Function
15  {
47  };
48 
49  enum Type
50  {
56  };
57 
58  private:
59 
60  Function decodeFunction() const;
61 
62  public:
63 
65 
66  Function getFunction() const;
67 
68  int getArgument() const;
69 
70  Type getType() const;
71 
72  bool isNpcOnly() const;
74 
75  bool selectCompare (int value) const;
76 
77  bool selectCompare (float value) const;
78 
79  bool selectCompare (bool value) const;
80 
81  std::string getName() const;
83  };
84 }
85 
86 #endif
Definition: selectwrapper.hpp:17
Definition: selectwrapper.hpp:53
Definition: selectwrapper.hpp:55
Definition: selectwrapper.hpp:37
Definition: selectwrapper.hpp:28
Definition: selectwrapper.hpp:42
Type
Definition: selectwrapper.hpp:49
Definition: selectwrapper.hpp:51
Definition: selectwrapper.hpp:40
Definition: selectwrapper.hpp:30
Definition: selectwrapper.hpp:28
Definition: selectwrapper.hpp:38
Definition: selectwrapper.hpp:16
const ESM::DialInfo::SelectStruct & mSelect
Definition: selectwrapper.hpp:10
Definition: selectwrapper.hpp:32
bool selectCompare(int value) const
Definition: selectwrapper.cpp:282
bool isNpcOnly() const
Definition: selectwrapper.cpp:260
Definition: selectwrapper.hpp:19
Definition: selectwrapper.hpp:22
Definition: selectwrapper.hpp:38
Function
Definition: selectwrapper.hpp:14
Definition: selectwrapper.hpp:33
Function getFunction() const
Definition: selectwrapper.cpp:102
Definition: selectwrapper.hpp:42
Definition: selectwrapper.hpp:29
Type getType() const
Definition: selectwrapper.cpp:190
Definition: selectwrapper.hpp:27
Definition: selectwrapper.hpp:46
SelectWrapper(const ESM::DialInfo::SelectStruct &select)
Definition: selectwrapper.cpp:100
Definition: selectwrapper.hpp:52
std::string getName() const
Return case-smashed name.
Definition: selectwrapper.cpp:297
Definition: selectwrapper.hpp:18
Definition: selectwrapper.hpp:36
Definition: selectwrapper.hpp:21
Definition: selectwrapper.hpp:40
Definition: selectwrapper.hpp:45
Definition: selectwrapper.hpp:31
Definition: selectwrapper.hpp:43
Definition: selectwrapper.hpp:26
Function decodeFunction() const
Definition: selectwrapper.cpp:47
Definition: loadinfo.hpp:50
Definition: selectwrapper.hpp:8
Definition: selectwrapper.hpp:43
Definition: selectwrapper.hpp:34
Definition: selectwrapper.hpp:41
int getArgument() const
Definition: selectwrapper.cpp:125
Definition: selectwrapper.hpp:24
Definition: selectwrapper.hpp:25
Definition: selectwrapper.hpp:28
Definition: selectwrapper.hpp:46
Definition: selectwrapper.hpp:42
Definition: selectwrapper.hpp:35
Definition: selectwrapper.hpp:20
Definition: selectwrapper.hpp:32
Definition: selectwrapper.hpp:23
Definition: selectwrapper.hpp:16
Definition: selectwrapper.hpp:54