HPL3/Community/Scripting/Classes/cxmlelement

From Frictional Wiki
< HPL3‎ | Community/Scripting/Classes
Revision as of 10:11, 30 July 2020 by Maintenance script (talk | contribs) (Upload classes to sub)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

cXmlElement

Fields

cXmlElement has no public fields.

Functions

Return Type Function Name Parameters Description
const tString& GetValue
void SetValue const tString &in asValue
eXmlNodeType GetType
iXmlNode@ GetParent
cXmlElement@ ToElement
cXmlElement@ GetFirstElement
cXmlElement@ GetFirstElement const tString &in asName
cXmlElement@ CreateChildElement const tString &in asName
cXmlText@ ToText
cXmlText@ GetFirstText
cXmlText@ GetFirstText const tString &in asText
cXmlText@ CreateChildText const tString &in asText
cXmlNodeListIterator@ GetChildIterator
tString GetAttributeString const tString &in asName,
const tString &in asDefault
float GetAttributeFloat const tString &in asName,
float afDefault
int GetAttributeInt const tString &in asName,
int alDefault
bool GetAttributeBool const tString &in asName,
bool abDefault
cVector2f GetAttributeVector2f const tString &in asName,
const cVector2f &in avDefault
cVector3f GetAttributeVector3f const tString &in asName,
const cVector3f &in avDefault
cColor GetAttributeColor const tString &in asName,
const cColor &in aDefault
void SetAttributeString const tString &in asName,
const tString &in asVal
void SetAttributeFloat const tString &in asName,
float afVal
void SetAttributeInt const tString &in asName,
int alVal
void SetAttributeBool const tString &in asName,
bool abVal
void SetAttributeVector2f const tString &in asName,
const cVector2f &in avVal
void SetAttributeVector3f const tString &in asName,
const cVector3f &in avVal
void SetAttributeColor const tString &in asName,
const cColor &in aVal

Remarks

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!