OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
MWDialogue::SelectWrapper Class Reference

#include <selectwrapper.hpp>

Collaboration diagram for MWDialogue::SelectWrapper:

Public Types

enum  Function {
  Function_None, Function_False, Function_Journal, Function_Item,
  Function_Dead, Function_NotId, Function_NotFaction, Function_NotClass,
  Function_NotRace, Function_NotCell, Function_NotLocal, Function_Local,
  Function_Global, Function_SameGender, Function_SameRace, Function_SameFaction,
  Function_Choice, Function_PcCommonDisease, Function_PcBlightDisease, Function_PcCorprus,
  Function_AiSetting, Function_PcAttribute, Function_PcSkill, Function_PcExpelled,
  Function_PcVampire, Function_FriendlyHit, Function_TalkedToPc, Function_PcLevel,
  Function_PcHealthPercent, Function_PcDynamicStat, Function_PcGender, Function_PcClothingModifier,
  Function_PcCrimeLevel, Function_RankRequirement, Function_HealthPercent, Function_Level,
  Function_PCReputation, Function_Weather, Function_Reputation, Function_Alarmed,
  Function_FactionRankDiff, Function_Detected, Function_Attacked, Function_ShouldAttack,
  Function_CreatureTargetted, Function_Werewolf, Function_WerewolfKills, Function_RankLow,
  Function_RankHigh
}
 
enum  Type {
  Type_None, Type_Integer, Type_Numeric, Type_Boolean,
  Type_Inverted
}
 

Public Member Functions

 SelectWrapper (const ESM::DialInfo::SelectStruct &select)
 
Function getFunction () const
 
int getArgument () const
 
Type getType () const
 
bool isNpcOnly () const
 
bool selectCompare (int value) const
 
bool selectCompare (float value) const
 
bool selectCompare (bool value) const
 
std::string getName () const
 Return case-smashed name. More...
 

Private Member Functions

Function decodeFunction () const
 

Private Attributes

const ESM::DialInfo::SelectStructmSelect
 

Member Enumeration Documentation

Enumerator
Function_None 
Function_False 
Function_Journal 
Function_Item 
Function_Dead 
Function_NotId 
Function_NotFaction 
Function_NotClass 
Function_NotRace 
Function_NotCell 
Function_NotLocal 
Function_Local 
Function_Global 
Function_SameGender 
Function_SameRace 
Function_SameFaction 
Function_Choice 
Function_PcCommonDisease 
Function_PcBlightDisease 
Function_PcCorprus 
Function_AiSetting 
Function_PcAttribute 
Function_PcSkill 
Function_PcExpelled 
Function_PcVampire 
Function_FriendlyHit 
Function_TalkedToPc 
Function_PcLevel 
Function_PcHealthPercent 
Function_PcDynamicStat 
Function_PcGender 
Function_PcClothingModifier 
Function_PcCrimeLevel 
Function_RankRequirement 
Function_HealthPercent 
Function_Level 
Function_PCReputation 
Function_Weather 
Function_Reputation 
Function_Alarmed 
Function_FactionRankDiff 
Function_Detected 
Function_Attacked 
Function_ShouldAttack 
Function_CreatureTargetted 
Function_Werewolf 
Function_WerewolfKills 
Function_RankLow 
Function_RankHigh 
Enumerator
Type_None 
Type_Integer 
Type_Numeric 
Type_Boolean 
Type_Inverted 

Constructor & Destructor Documentation

MWDialogue::SelectWrapper::SelectWrapper ( const ESM::DialInfo::SelectStruct select)

Member Function Documentation

MWDialogue::SelectWrapper::Function MWDialogue::SelectWrapper::decodeFunction ( ) const
private
int MWDialogue::SelectWrapper::getArgument ( ) const

Here is the caller graph for this function:

MWDialogue::SelectWrapper::Function MWDialogue::SelectWrapper::getFunction ( ) const

Here is the caller graph for this function:

std::string MWDialogue::SelectWrapper::getName ( ) const

Return case-smashed name.

Here is the call graph for this function:

Here is the caller graph for this function:

MWDialogue::SelectWrapper::Type MWDialogue::SelectWrapper::getType ( ) const

Here is the caller graph for this function:

bool MWDialogue::SelectWrapper::isNpcOnly ( ) const
Attention
Do not call any of the select functions for this select struct!

Here is the caller graph for this function:

bool MWDialogue::SelectWrapper::selectCompare ( int  value) const

Here is the call graph for this function:

Here is the caller graph for this function:

bool MWDialogue::SelectWrapper::selectCompare ( float  value) const

Here is the call graph for this function:

bool MWDialogue::SelectWrapper::selectCompare ( bool  value) const

Here is the call graph for this function:

Member Data Documentation

const ESM::DialInfo::SelectStruct& MWDialogue::SelectWrapper::mSelect
private

The documentation for this class was generated from the following files: