Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ operator int?()

static System.Xml.Linq.XAttribute.operator int? ( XAttribute? attribute)
inlineexplicitstatic

Definition at line 188 of file XAttribute.cs.

189 {
190 if (attribute == null)
191 {
192 return null;
193 }
194 return XmlConvert.ToInt32(attribute.value);
195 }

References System.Xml.XmlConvert.ToInt32().