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