コード例 #1
0
 bool IPluginBase.IsKeyPressed(ModifierKey.Enum key)
 {
     throw new NotImplementedException();
 }
コード例 #2
0
 /// <summary>
 /// Check if key is pressed.
 /// </summary>
 /// <param name="key">Key to evaluate.</param>
 /// <returns>Indicator if key is pressed.</returns>
 public bool IsKeyPressed(ModifierKey.Enum key)
 {
     return(this.pluginInterface.ClientState.KeyState[(byte)key]);
 }