DDraceNetwork Docs
CSkin Struct Reference

#include <skin.h>

Collaboration diagram for CSkin:
[legend]

Classes

struct  SSkinMetrics
 
struct  SSkinMetricVariable
 
struct  SSkinMetricVariableInt
 
struct  SSkinTextures
 

Public Member Functions

bool operator< (const CSkin &Other) const
 
bool operator== (const CSkin &Other) const
 
 CSkin (const char *pName)
 
 CSkin (CSkin &&)=default
 
CSkinoperator= (CSkin &&)=default
 
const char * GetName () const
 

Static Public Member Functions

static bool IsValidName (const char *pName)
 

Public Attributes

SSkinTextures m_OriginalSkin
 
SSkinTextures m_ColorableSkin
 
ColorRGBA m_BloodColor
 
SSkinMetrics m_Metrics
 

Static Public Attributes

static constexpr char m_aSkinNameRestrictions [] = "Skin names must be valid filenames shorter than 24 characters."
 

Private Attributes

char m_aName [MAX_SKIN_LENGTH]
 

Constructor & Destructor Documentation

◆ CSkin() [1/2]

CSkin::CSkin ( const char *  pName)
inline

◆ CSkin() [2/2]

CSkin::CSkin ( CSkin &&  )
default

Member Function Documentation

◆ GetName()

const char * CSkin::GetName ( ) const
inline

◆ IsValidName()

static bool CSkin::IsValidName ( const char *  pName)
inlinestatic

◆ operator<()

bool CSkin::operator< ( const CSkin Other) const
inline

◆ operator=()

CSkin & CSkin::operator= ( CSkin &&  )
default

◆ operator==()

bool CSkin::operator== ( const CSkin Other) const
inline

Member Data Documentation

◆ m_aName

char CSkin::m_aName[MAX_SKIN_LENGTH]
private

◆ m_aSkinNameRestrictions

constexpr char CSkin::m_aSkinNameRestrictions[] = "Skin names must be valid filenames shorter than 24 characters."
staticconstexpr

◆ m_BloodColor

ColorRGBA CSkin::m_BloodColor

◆ m_ColorableSkin

SSkinTextures CSkin::m_ColorableSkin

◆ m_Metrics

SSkinMetrics CSkin::m_Metrics

◆ m_OriginalSkin

SSkinTextures CSkin::m_OriginalSkin

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