MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SetAttribute

Method SetAttribute

Libraries/tinyxml/tinyxml.cpp:757–763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755
756
757void TiXmlElement::SetAttribute( const char * name, int val )
758{
759 TiXmlAttribute* attrib = attributeSet.FindOrCreate( name );
760 if ( attrib ) {
761 attrib->SetIntValue( val );
762 }
763}
764
765
766#ifdef TIXML_USE_STL

Callers 13

WritePaletteToXMLFunction · 0.45
SaveTerrainMethod · 0.45
SaveLevelMethod · 0.45
SerializeIntoMethod · 0.45
SaveMethod · 0.45
SaveToXMLMethod · 0.45
SaveMethod · 0.45
SaveMethod · 0.45
WriteScriptParamsToXMLFunction · 0.45
WriteToXMLMethod · 0.45
CopyToMethod · 0.45

Calls 3

FindOrCreateMethod · 0.80
SetIntValueMethod · 0.80
SetValueMethod · 0.45

Tested by 1

mainFunction · 0.36