[−][src]Crate genie_hki
Reader/writer for Age of Empires 2 Hotkey info files.
Hotkey files in AoE2 contain groups, each of which contain some number of hotkeys. Hotkeys have a string ID, a keycode, and flags for Ctrl/Alt/Shift modifiers. The index of the hotkey in its group determines the action that will be taken when it is activated.
Structs
GroupIndexError | Represents an error when accessing a hotkey group that does not exist. |
Hotkey | The information about a single hotkey. |
HotkeyGroup | Represents a group of |
HotkeyIndexError | Represents an error when accessing a hotkey that does not exist. |
HotkeyInfo | Represents a HKI file containing hotkey settings. |
HotkeyInfoMetadata | A list of information about hotkey groups in a hotkey file.
The length is the number of groups in the file.
Each |
Enums
ArcheryRangeHotkeys | Hotkeys for archery ranges. |
BarracksHotkeys | Hotkeys for the barracks. |
BlacksmithHotkeys | Hotkeys for the blacksmith. |
CastleHotkeys | Hotkeys for castles. |
DockHotkeys | Hotkeys for docks. |
FormationHotkeys | Hotkeys to change formations. |
GameCommandHotkeys | Hotkeys for the game UI. |
HotkeyGroupId | Available hotkey groups. |
IndexError | Represents an error when binding or unbinding a hotkey that doesn't exist. |
MarketHotkeys | Hotkeys for the market. |
MilitaryUnitHotkeys | Hotkeys for military units. |
MillHotkeys | Hotkeys for mills. |
MonasteryHotkeys | Hotkeys for the monastery. |
ScrollHotkeys | Hotkeys for scrolling. |
SiegeWorkshopHotkeys | Hotkeys for siege workshops. |
StableHotkeys | Hotkeys for stables. |
TownCenterHotkeys | Hotkeys for the town center. |
UnitCommandHotkeys | Hotkeys to control units. |
VillagerHotkeys | Hotkeys for villagers. |
Functions
default_him | Returns a |
keycode_id | Returns |