TagList.getInt

Copies the contents for the given tag into the value, merging multiple values into one if multiple values are associated with the tag.

class TagList
bool
getInt
(
string tag
,
out int value
)

Parameters

tag string

tag to read out

value int

location for the result

Return Value

Type: bool

TRUE, if a value was copied, FALSE if the tag didn't exist in the given list.