public void OnKeyInput( KeyInput input ) { Sync.CheckSyncUnchanged( world, () => { Widget.HandleKeyPress( input ); } ); }
public void OnKeyInput(KeyInput input) { }
public void OnKeyInput(KeyInput input) { Sync.CheckSyncUnchanged(world, () => Ui.HandleKeyPress(input)); }
public void OnKeyInput(KeyInput input) { Sync.RunUnsynced(Game.Settings.Debug.SyncCheckUnsyncedCode, world, () => Ui.HandleKeyPress(input)); }
public bool IsActivatedBy(KeyInput e) { var currentValue = getValue(); return(currentValue.Key == e.Key && currentValue.Modifiers == e.Modifiers); }
public static Hotkey FromKeyInput(KeyInput ki) { return(new Hotkey(ki.Key, ki.Modifiers)); }