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

◆ cmpQueryStringO()

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

Definition at line 189 of file LogicalExpr.cs.

190 {
191 NodeSet nodeSet = new NodeSet(val1);
192 double n = NumberFunctions.Number((string)val2);
193 while (nodeSet.MoveNext())
194 {
195 if (cmpNumberNumberO(op, NumberFunctions.Number(nodeSet.Value), n))
196 {
197 return true;
198 }
199 }
200 return false;
201 }
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(), and MS.Internal.Xml.XPath.LogicalExpr.NodeSet.Value.