Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 |
class KeyBindings extends Core.Object config(user); ////////////////////////////////////////////////////////////////////////////////////// // Key Config Settings ////////////////////////////////////////////////////////////////////////////////////// var() config Array<string> CommandCategory; var() config Array<string> CommandString; var() localized config Array<string> LocalizedCommandString; var() localized config Array<string> LocalizedCommandCategories; var() config Array<string> PrimaryBinds; var() config Array<string> SecondaryBinds; static function string GetKeyFromBinding(string CommandStringSearch, optional bool bLocalized) { local int i; CommandStringSearch = Caps(CommandStringSearch); for (i = 0; i < default.CommandString.Length; i++) { if (InStr(Caps(default.CommandString[i]), CommandStringSearch) != -1) { if (i < default.PrimaryBinds.Length) return default.PrimaryBinds[i]; else return ""; } } } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |