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

◆ checkFrom()

bool System.Xml.Xsl.XsltOld.NumberAction.checkFrom ( Processor processor,
XPathNavigator nav )
inlineprivate

Definition at line 306 of file NumberAction.cs.

307 {
308 if (_fromKey == -1)
309 {
310 return true;
311 }
312 do
313 {
314 if (processor.Matches(nav, _fromKey))
315 {
316 return true;
317 }
318 }
319 while (nav.MoveToParent());
320 return false;
321 }

References System.Xml.Xsl.XsltOld.NumberAction._fromKey, and System.Xml.XPath.XPathNavigator.MoveToParent().

Referenced by System.Xml.Xsl.XsltOld.NumberAction.Execute().