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

◆ HandleMinMax()

static void System.Xml.Schema.XdrBuilder.HandleMinMax ( ParticleContentValidator pContent,
uint cMin,
uint cMax )
inlinestaticprivate

Definition at line 1368 of file XdrBuilder.cs.

1369 {
1370 if (pContent == null)
1371 {
1372 return;
1373 }
1374 if (cMax == uint.MaxValue)
1375 {
1376 if (cMin == 0)
1377 {
1378 pContent.AddStar();
1379 }
1380 else
1381 {
1382 pContent.AddPlus();
1383 }
1384 }
1385 else if (cMin == 0)
1386 {
1387 pContent.AddQMark();
1388 }
1389 }

Referenced by System.Xml.Schema.XdrBuilder.XDR_EndElement(), and System.Xml.Schema.XdrBuilder.XDR_EndGroup().