VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
diGuyInformation.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
13 
15 
19 {
20 
21 public:
24 
26  virtual ~DtDiGuyInformation();
27 
30 
31  DtDiGuyInformation& operator=(const DtDiGuyInformation&);
32 
33  bool operator==(const DtDiGuyInformation&) const;
34  bool operator!=(const DtDiGuyInformation& rhs) { return !(*this == rhs); };
35 
37  virtual void readFromEnvironment(const DtRwVariableBindings*);
38 
40  virtual void writeToEnvironment(DtRwVariableBindings*) const;
41 
42  void setCharacterType(const std::string& s);
43  const std::string& characterType() const;
44 
45  void setCharacterAppearance(const std::string& s);
46  const std::string& characterAppearance() const;
47 
48  void setCharacterHandItem(const std::string& s);
49  const std::string& characterHandItem() const;
50 
51  void setCharacterHead(const std::string& s);
52  const std::string& characterHead() const;
53 
54  void setCharacterAnimation(const std::string& s);
55  const std::string& characterAnimation() const;
56  void setCharacterTaskableAnimations(const AlternateNamesList& list);
57  const AlternateNamesList& characterTaskableAnimations() const;
58 
59  void setUseRandomAppearanceUponCreation(bool b);
60  bool useRandomAppearanceUponCreation() const;
61  void setRandomAppearances(const DtRwNLengthStringVector& apps);
62  const DtRwNLengthStringVector& randomAppearances() const;
63 
64  void setUseRandomHandItemUponCreation(bool b);
65  bool useRandomHandItemUponCreation() const;
66  void setRandomHandItems(const DtRwNLengthStringVector& items);
67  const DtRwNLengthStringVector& randomHandItems() const;
68 
69  void setUseRandomHeadUponCreation(bool b);
70  bool useRandomHeadUponCreation() const;
71  void setRandomHeads(const DtRwNLengthStringVector& items);
72  const DtRwNLengthStringVector& randomHeads() const;
73 
74  void setDiGuyEnabled(bool b);
75  bool diGuyEnabled() const;
76 
77 protected:
78  std::string myCharacterType;
79  std::string myCharacterAppearance;
80  std::string myCharacterHandItem;
81  std::string myCharacterHead;
82  std::string myCharacterAnimation;
83 
84  //Just the taskable animations
93 };

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)