public bool Register(AionEventHandler hFunction, Keys hKey, KeysModifier hModifier = KeysModifier.None) { if (PlayerInput._hPlayerKey != null) { return(PlayerInput._hPlayerKey.Register(hFunction, hKey, hModifier)); } return(false); }
public bool Register(AionEventHandler hFunction, Keys hKey, KeysModifier hModifier = KeysModifier.None) { return(this._Register(new ArrayList() { (object)hFunction, (object)hKey, (object)hModifier, (object)false })); }