This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
nekohook/modules/insurgency/sdk/CCSGameRules.h
2020-08-04 13:13:01 -04:00

19 lines
477 B
C++

#pragma once
class C_CSGameRules {
public:
bool IsValveDS() {
return *(bool*)((uintptr_t)this +
offsets.DT_CSGameRulesProxy.m_bIsValveDS);
}
bool IsBombDropped() {
return *(bool*)((uintptr_t)this +
offsets.DT_CSGameRulesProxy.m_bBombDropped);
}
bool IsBombPlanted() {
return *(bool*)((uintptr_t)this +
offsets.DT_CSGameRulesProxy.m_bBombPlanted);
}
};