C# Class SharpQuake.Key

Key_functions
Exibir arquivo Open project: Memorix101/SharpQuake

Public Properties

Property Type Description
KeyCount int
LinePos int

Public Methods

Method Description
ClearStates ( ) : void
Event ( int key, bool down ) : void
Init ( ) : void
KeynumToString ( int keynum ) : string
SetBinding ( int keynum, string binding ) : void

Key_SetBinding

WriteBindings ( Stream dest ) : void

Key_WriteBindings

Private Methods

Method Description
Bind_f ( ) : void
KeyConsole ( int key ) : void

Key_Console Interactive line editing and console scrollback

KeyMessage ( int key ) : void
StringToKeynum ( string str ) : int
UnbindAll_f ( ) : void
Unbind_f ( ) : void

Method Details

ClearStates() public static method

public static ClearStates ( ) : void
return void

Event() public static method

public static Event ( int key, bool down ) : void
key int
down bool
return void

Init() public static method

public static Init ( ) : void
return void

KeynumToString() public static method

public static KeynumToString ( int keynum ) : string
keynum int
return string

SetBinding() public static method

Key_SetBinding
public static SetBinding ( int keynum, string binding ) : void
keynum int
binding string
return void

WriteBindings() public static method

Key_WriteBindings
public static WriteBindings ( Stream dest ) : void
dest Stream
return void

Property Details

KeyCount public_oe static_oe property

public static int KeyCount
return int

LinePos public_oe static_oe property

public static int LinePos
return int