623 {
625 string[,]
array =
new string[20, 2]
626 {
627 { "KeyUp", "Up" },
628 { "KeyDown", "Down" },
629 { "KeyLeft", "Left" },
630 { "KeyRight", "Right" },
631 { "KeyJump", "Jump" },
632 { "KeyThrowItem", "Throw" },
633 { "KeyInventory", "Inventory" },
634 { "KeyQuickHeal", "QuickHeal" },
635 { "KeyQuickMana", "QuickMana" },
636 { "KeyQuickBuff", "QuickBuff" },
637 { "KeyUseHook", "Grapple" },
638 { "KeyAutoSelect", "SmartSelect" },
639 { "KeySmartCursor", "SmartCursor" },
640 { "KeyMount", "QuickMount" },
641 { "KeyMapStyle", "MapStyle" },
642 { "KeyFullscreenMap", "MapFull" },
643 { "KeyMapZoomIn", "MapZoomIn" },
644 { "KeyMapZoomOut", "MapZoomOut" },
645 { "KeyMapAlphaUp", "MapAlphaUp" },
646 { "KeyMapAlphaDown", "MapAlphaDown" }
647 };
648 for (
int i = 0;
i <
array.GetLength(0);
i++)
649 {
650 string currentValue = null;
651 Main.Configuration.Get(
array[i, 0],
ref currentValue);
652 if (currentValue != null)
653 {
656 }
657 }
658 }