Add IInputSystem and IInputInternal interfaces.
Signed-off-by: aixxe <me@aixxe.net>
This commit is contained in:
10
include/cstrike/Interfaces/IInputSystem.h
Normal file
10
include/cstrike/Interfaces/IInputSystem.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
enum ButtonCode_t;
|
||||
|
||||
class IInputSystem {
|
||||
public:
|
||||
bool IsButtonDown(ButtonCode_t button) {
|
||||
return GetVirtualFunction<bool(*)(void*, ButtonCode_t)>(this, 11)(this, button);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user