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

◆ cmpRtfQueryO()

static bool MS.Internal.Xml.XPath.LogicalExpr.cmpRtfQueryO ( Operator::Op op,
object val1,
object val2 )
inlinestaticprivate

Definition at line 217 of file LogicalExpr.cs.

218 {
219 double n = NumberFunctions.Number(Rtf(val1));
220 NodeSet nodeSet = new NodeSet(val2);
221 while (nodeSet.MoveNext())
222 {
223 if (cmpNumberNumberO(op, n, NumberFunctions.Number(nodeSet.Value)))
224 {
225 return true;
226 }
227 }
228 return false;
229 }
static bool cmpNumberNumberO(Operator.Op op, double n1, double n2)

References MS.Internal.Xml.XPath.LogicalExpr.cmpNumberNumberO(), MS.Internal.Xml.XPath.LogicalExpr.NodeSet.MoveNext(), System.Xml.XPath.NodeSet, MS.Internal.Xml.XPath.NumberFunctions.Number(), System.Xml.Xsl.Rtf, and MS.Internal.Xml.XPath.LogicalExpr.NodeSet.Value.