VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
rwDIGuyCharacterInfo.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfutil/rdrWritr.h
"
12
#include "
vrfutil/rwString.h
"
13
#include "
vrfutil/rwBoolean.h
"
14
#include "
vrfutil/rwNLengthStringVector.h
"
15
16
class
DtReaderWriterRegistry
;
17
21
22
#include "
vrfutil/vrfutilDefines.h
"
23
class
DT_DLL_vrfutil
DtRwDIGuyCharacterInfo
:
public
DtReaderWriter
24
{
25
public
:
26
27
DtRwDIGuyCharacterInfo
();
28
29
DtRwDIGuyCharacterInfo
(
const
DtString
& name,
30
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
31
DtRwDIGuyCharacterInfo
(
const
DtSymbolString& name,
32
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
33
34
DtRwDIGuyCharacterInfo
(
const
DtRwDIGuyCharacterInfo
& orig,
35
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
36
37
virtual
~
DtRwDIGuyCharacterInfo
();
38
39
DtRwDIGuyCharacterInfo
&
operator=
(
const
DtRwDIGuyCharacterInfo
& orig);
40
42
virtual
const
char
*
readerWriterType
()
const
;
43
45
46
virtual
void
setDIGuyCharacter(
const
DtString
& character);
47
virtual
const
DtString
& dIGuyCharacter()
const
;
49
51
52
virtual
void
setDIGuyAnimation(
const
DtString
& animation);
53
virtual
const
DtString
& dIGuyAnimation()
const
;
55
57
58
virtual
void
setDIGuyAppearance(
const
DtString
& app);
59
virtual
const
DtString
& dIGuyAppearance()
const
;
61
65
66
virtual
DtRwBoolean
& usingRandomAppearances();
67
virtual
void
setUsingRandomAppearances(
bool
useRandom);
68
69
virtual
void
setRandomAppearancesList(
const
DtRwNLengthStringVector
& list);
70
virtual
const
DtRwNLengthStringVector
& randomAppearancesList()
const
;
71
virtual
DtRwNLengthStringVector
* randomAppearancesList();
73
75
virtual
DtString
nextRandomAppearance();
76
78
virtual
DtRwDIGuyCharacterInfo
* clone(
DtReaderWriterRegistry
*
const
parentRegistry = 0)
const
;
79
80
bool
operator==
(
const
DtRwDIGuyCharacterInfo
&)
const
;
81
82
protected
:
83
84
DtRwString
myCharacterType
;
85
DtRwString
myCharacterAppearance
;
86
DtRwString
myCurrentAnimation
;
87
DtRwBoolean
myUsingRandomAppearances
;
88
DtRwNLengthStringVector
myRandomAppearances
;
89
93
std::vector<DtString>
myUsedAppearances
;
94
};
95
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)