1398 {
1399 UILinkPointNavigator.Shortcuts.BackButtonCommand = 1;
1400 int num = 3000;
1401 int num2 = num + 20;
1421 for (
int i = 0;
i <
list.Count;
i++)
1422 {
1426 uILinkPoint3.Left =
num3 - 1;
1427 uILinkPoint3.Right =
num3 + 1;
1428 uILinkPoint3.Down =
num2;
1429 if (i == 0)
1430 {
1431 uILinkPoint3.Left = -3;
1432 }
1433 if (i ==
list.Count - 1)
1434 {
1435 uILinkPoint3.Right = -4;
1436 }
1438 {
1439 uILinkPoint3.Down =
num2 +
i;
1440 }
1443 }
1448 {
1449 case CategoryId.CharInfo:
1450 {
1452 {
1454 andSet3.Up = andSet3.ID - 1;
1455 andSet3.Down = andSet3.ID + 1;
1457 {
1458 andSet3.Up = num + 2;
1459 }
1461 {
1465 }
1468 }
1469 break;
1470 }
1471 case CategoryId.HairStyle:
1472 {
1474 {
1475 break;
1476 }
1479 _ = snapPoint3.Id / 10;
1480 _ = snapPoint3.Id % 10;
1481 int count = Main.Hairstyles.AvailableHairstyles.
Count;
1483 {
1486 andSet4.Left = andSet4.ID - 1;
1488 {
1489 andSet4.Left = -3;
1490 }
1491 andSet4.Right = andSet4.ID + 1;
1493 {
1494 andSet4.Right = -4;
1495 }
1496 andSet4.Up = andSet4.ID - 10;
1498 {
1499 andSet4.Up = num + 2 +
m;
1500 }
1501 andSet4.Down = andSet4.ID + 10;
1503 {
1505 {
1507 }
1508 else
1509 {
1511 }
1512 }
1514 {
1517 }
1520 }
1521 break;
1522 }
1523 default:
1524 {
1529 {
1531 andSet5.Up =
num2 + 2;
1533 andSet5.Left = andSet5.ID - 1;
1534 andSet5.Right = andSet5.ID + 1;
1536 {
1537 andSet5.Left = andSet5.ID + 2;
1539 }
1541 {
1542 andSet5.Right = andSet5.ID - 2;
1544 }
1547 }
1550 {
1552 andSet6.Up = andSet6.ID - 1;
1553 andSet6.Down = andSet6.ID + 1;
1555 {
1556 andSet6.Up = num + 2 + 5;
1557 }
1559 {
1560 andSet6.Down =
num2 + 20 + 2;
1561 }
1564 }
1565 break;
1566 }
1567 case CategoryId.Clothing:
1568 {
1571 int down = -2;
1575 {
1577 andSet.Up =
num2 +
j + 2;
1580 {
1583 }
1584 andSet.Left = andSet.ID - 1;
1585 andSet.Right = andSet.ID + 1;
1587 {
1589 andSet.Left = andSet.ID + 4;
1590 uILinkPoint.Up =
andSet.ID;
1591 }
1593 {
1595 andSet.Right = andSet.ID - 4;
1596 uILinkPoint2.Up =
andSet.ID;
1597 }
1600 }
1603 {
1605 andSet2.Up = num + 2 +
k;
1606 andSet2.Left = andSet2.ID - 1;
1607 andSet2.Right = andSet2.ID + 1;
1609 {
1610 andSet2.Left = andSet2.ID + 9;
1611 }
1613 {
1614 andSet2.Right = andSet2.ID - 9;
1615 }
1616 andSet2.Down = down;
1618 {
1619 andSet2.Down =
down2;
1620 }
1623 }
1624 break;
1625 }
1626 }
1628 {
1630 }
1631 }
CategoryId _selectedPicker
int SortPoints(SnapPoint a, SnapPoint b)
UILinkPoint GetAndSet(int ptid, SnapPoint snap)
UIElement _hairstylesContainer
void MoveToVisuallyClosestPoint()
static Dictionary< int, UILinkPoint > Points
static void SetPosition(int ID, Vector2 Position)
virtual List< SnapPoint > GetSnapPoints()
void CullPointsOutOfElementArea(SpriteBatch spriteBatch, List< SnapPoint > pointsAtMiddle, UIElement container)