Planeshift
psTrait Struct Reference

Represent a visual feature of character customization like hair style, color of eyes, skin color, ... More...

#include <pstrait.h>

Public Member Functions

const char * GetLocationString () const
 
 psTrait ()
 
csString ToXML (bool compact=false) const
 
 ~psTrait ()
 

Public Attributes

unsigned int cstr_id_material
 
unsigned int cstr_id_mesh
 
unsigned int cstr_id_texture
 
PSCHARACTER_GENDER gender
 
PSTRAIT_LOCATION location
 
csString name
 
psTraitnext_trait
 
unsigned int next_trait_uid
 
bool onlyNPC
 
unsigned int race
 
unsigned int raceID
 
csString shaderVar
 The variable for the shader for this trait. More...
 
unsigned int uid
 

Static Public Attributes

static const char * locationString []
 

Detailed Description

Represent a visual feature of character customization like hair style, color of eyes, skin color, ...

Definition at line 41 of file pstrait.h.

Constructor & Destructor Documentation

psTrait::psTrait ( )
psTrait::~psTrait ( )

Member Function Documentation

const char* psTrait::GetLocationString ( ) const
csString psTrait::ToXML ( bool  compact = false) const

Member Data Documentation

unsigned int psTrait::cstr_id_material

Definition at line 57 of file pstrait.h.

unsigned int psTrait::cstr_id_mesh

Definition at line 56 of file pstrait.h.

unsigned int psTrait::cstr_id_texture

Definition at line 58 of file pstrait.h.

PSCHARACTER_GENDER psTrait::gender

Definition at line 53 of file pstrait.h.

PSTRAIT_LOCATION psTrait::location

Definition at line 54 of file pstrait.h.

const char* psTrait::locationString[]
static

Definition at line 45 of file pstrait.h.

csString psTrait::name

Definition at line 55 of file pstrait.h.

psTrait* psTrait::next_trait

Definition at line 50 of file pstrait.h.

unsigned int psTrait::next_trait_uid

Definition at line 49 of file pstrait.h.

bool psTrait::onlyNPC

Definition at line 59 of file pstrait.h.

unsigned int psTrait::race

Definition at line 52 of file pstrait.h.

unsigned int psTrait::raceID

Definition at line 51 of file pstrait.h.

csString psTrait::shaderVar

The variable for the shader for this trait.

Definition at line 60 of file pstrait.h.

unsigned int psTrait::uid

Definition at line 48 of file pstrait.h.


The documentation for this struct was generated from the following file: