C# Class Logitech_CSGO.GameEventHandler

Mostra file Open project: antonpup/Logitech-CSGO

Public Methods

Method Description
BlendColors ( Color background, Color foreground, double percent ) : Color
Destroy ( ) : void
GameEventHandler ( ) : CSGSI.Nodes
GetKeyboardLights ( ) : System.Drawing.Color>.Dictionary
Init ( ) : bool
SetBombState ( BombState state ) : void
SetBurnAmount ( int burn ) : void
SetClip ( int clip ) : void
SetClipMax ( int clipmax ) : void
SetFlashAmount ( int flash ) : void
SetForcedUpdate ( bool forced ) : void
SetHealth ( int health ) : void
SetPlayerActivity ( PlayerActivity activity ) : void
SetPreview ( bool preview ) : void
SetTeam ( PlayerTeam team ) : void
UpdateKeyboard ( ) : void

Private Methods

Method Description
GetActiveWindowsProcessname ( ) : string
GetForegroundWindow ( ) : IntPtr
GetOneKey ( Devices key ) : Color
GetWindowThreadProcessId ( IntPtr hWnd, uint &lpdwProcessId ) : uint
PercentEffect ( Color foregroundColor, Color backgroundColor, Devices keys, double value, double total, PercentEffectType effectType = PercentEffectType.Progressive ) : void
SetAllKeys ( Color color ) : void
SetAllKeysEffect ( Color color, double percent ) : void
SetOneKey ( Devices key, Color color ) : void
update_timer_Tick ( object sender, EventArgs e ) : void

Method Details

BlendColors() public method

public BlendColors ( Color background, Color foreground, double percent ) : Color
background Color
foreground Color
percent double
return Color

Destroy() public method

public Destroy ( ) : void
return void

GameEventHandler() public method

public GameEventHandler ( ) : CSGSI.Nodes
return CSGSI.Nodes

GetKeyboardLights() public method

public GetKeyboardLights ( ) : System.Drawing.Color>.Dictionary
return System.Drawing.Color>.Dictionary

Init() public method

public Init ( ) : bool
return bool

SetBombState() public method

public SetBombState ( BombState state ) : void
state BombState
return void

SetBurnAmount() public method

public SetBurnAmount ( int burn ) : void
burn int
return void

SetClip() public method

public SetClip ( int clip ) : void
clip int
return void

SetClipMax() public method

public SetClipMax ( int clipmax ) : void
clipmax int
return void

SetFlashAmount() public method

public SetFlashAmount ( int flash ) : void
flash int
return void

SetForcedUpdate() public method

public SetForcedUpdate ( bool forced ) : void
forced bool
return void

SetHealth() public method

public SetHealth ( int health ) : void
health int
return void

SetPlayerActivity() public method

public SetPlayerActivity ( PlayerActivity activity ) : void
activity PlayerActivity
return void

SetPreview() public method

public SetPreview ( bool preview ) : void
preview bool
return void

SetTeam() public method

public SetTeam ( PlayerTeam team ) : void
team PlayerTeam
return void

UpdateKeyboard() public method

public UpdateKeyboard ( ) : void
return void