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

◆ XsltDefaultPriority

override double MS.Internal.Xml.XPath.BaseAxisQuery.XsltDefaultPriority
getinherited

Definition at line 36 of file BaseAxisQuery.cs.

37 {
38 get
39 {
40 if (qyInput.GetType() != typeof(ContextQuery))
41 {
42 return 0.5;
43 }
44 if (_name.Length != 0)
45 {
46 return 0.0;
47 }
48 if (_prefix.Length != 0)
49 {
50 return -0.25;
51 }
52 return -0.5;
53 }
54 }