Add client entity class headers.
* Remove 'isreplay' from player_info_s. Signed-off-by: aixxe <me@aixxe.net>
This commit is contained in:
14
include/cstrike/Classes/CBaseHandle.h
Normal file
14
include/cstrike/Classes/CBaseHandle.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
class CBaseHandle {
|
||||
public:
|
||||
inline bool IsValid() const {
|
||||
return m_Index != INVALID_EHANDLE_INDEX;
|
||||
}
|
||||
|
||||
inline int GetEntryIndex() const {
|
||||
return m_Index & ENT_ENTRY_MASK;
|
||||
}
|
||||
|
||||
unsigned long m_Index;
|
||||
};
|
||||
Reference in New Issue
Block a user