Remove cs2dumper files
These files don't need to be in the repository, as they are automatically downloaded when building.
This commit is contained in:
parent
f71836a763
commit
ca57147ba0
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,4 @@
|
||||
/target
|
||||
/src/sdk/cs2dumper/client.rs
|
||||
/src/sdk/cs2dumper/engine2.rs
|
||||
/src/sdk/cs2dumper/offsets.rs
|
8
build.rs
8
build.rs
@ -8,7 +8,7 @@ fn download(url: &str, to: &str) -> Result<(), Box<dyn Error>> {
|
||||
.expect("Convert response to text");
|
||||
|
||||
std::fs::write(to, content)
|
||||
.expect("Write offsets to file");
|
||||
.expect("Write to file");
|
||||
|
||||
Ok(())
|
||||
}
|
||||
@ -18,17 +18,17 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
download(
|
||||
"https://raw.githubusercontent.com/a2x/cs2-dumper/main/generated/client.dll.rs",
|
||||
"./src/sdk/cs2dumper/client.rs"
|
||||
).expect("Failed to download build file");
|
||||
).expect("Failed to download build file \"client.dll.rs\"");
|
||||
|
||||
download(
|
||||
"https://raw.githubusercontent.com/a2x/cs2-dumper/main/generated/offsets.rs",
|
||||
"./src/sdk/cs2dumper/offsets.rs"
|
||||
).expect("Failed to download build file");
|
||||
).expect("Failed to download build file \"offsets.rs\"");
|
||||
|
||||
download(
|
||||
"https://raw.githubusercontent.com/a2x/cs2-dumper/main/generated/engine2.dll.rs",
|
||||
"./src/sdk/cs2dumper/engine2.rs"
|
||||
).expect("Failed to download build file");
|
||||
).expect("Failed to download build file \"engine2.dll.rs\"");
|
||||
|
||||
EmitBuilder::builder()
|
||||
.git_sha(true)
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,247 +0,0 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Tue, 21 Nov 2023 00:47:41 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
||||
pub mod CEmptyEntityInstance {
|
||||
}
|
||||
|
||||
pub mod CEntityComponent {
|
||||
}
|
||||
|
||||
pub mod CEntityComponentHelper {
|
||||
pub const m_flags: usize = 0x8; // uint32_t
|
||||
pub const m_pInfo: usize = 0x10; // EntComponentInfo_t*
|
||||
pub const m_nPriority: usize = 0x18; // int32_t
|
||||
pub const m_pNext: usize = 0x20; // CEntityComponentHelper*
|
||||
}
|
||||
|
||||
pub mod CEntityIOOutput {
|
||||
pub const m_Value: usize = 0x18; // CVariantBase<CVariantDefaultAllocator>
|
||||
}
|
||||
|
||||
pub mod CEntityIdentity {
|
||||
pub const m_nameStringableIndex: usize = 0x14; // int32_t
|
||||
pub const m_name: usize = 0x18; // CUtlSymbolLarge
|
||||
pub const m_designerName: usize = 0x20; // CUtlSymbolLarge
|
||||
pub const m_flags: usize = 0x30; // uint32_t
|
||||
pub const m_worldGroupId: usize = 0x38; // WorldGroupId_t
|
||||
pub const m_fDataObjectTypes: usize = 0x3C; // uint32_t
|
||||
pub const m_PathIndex: usize = 0x40; // ChangeAccessorFieldPathIndex_t
|
||||
pub const m_pPrev: usize = 0x58; // CEntityIdentity*
|
||||
pub const m_pNext: usize = 0x60; // CEntityIdentity*
|
||||
pub const m_pPrevByClass: usize = 0x68; // CEntityIdentity*
|
||||
pub const m_pNextByClass: usize = 0x70; // CEntityIdentity*
|
||||
}
|
||||
|
||||
pub mod CEntityInstance {
|
||||
pub const m_iszPrivateVScripts: usize = 0x8; // CUtlSymbolLarge
|
||||
pub const m_pEntity: usize = 0x10; // CEntityIdentity*
|
||||
pub const m_CScriptComponent: usize = 0x28; // CScriptComponent*
|
||||
}
|
||||
|
||||
pub mod CNetworkVarChainer {
|
||||
pub const m_PathIndex: usize = 0x20; // ChangeAccessorFieldPathIndex_t
|
||||
}
|
||||
|
||||
pub mod CScriptComponent { // CEntityComponent
|
||||
pub const m_scriptClassName: usize = 0x30; // CUtlSymbolLarge
|
||||
}
|
||||
|
||||
pub mod CVariantDefaultAllocator {
|
||||
}
|
||||
|
||||
pub mod EngineLoopState_t {
|
||||
pub const m_nPlatWindowWidth: usize = 0x18; // int32_t
|
||||
pub const m_nPlatWindowHeight: usize = 0x1C; // int32_t
|
||||
pub const m_nRenderWidth: usize = 0x20; // int32_t
|
||||
pub const m_nRenderHeight: usize = 0x24; // int32_t
|
||||
}
|
||||
|
||||
pub mod EntComponentInfo_t {
|
||||
pub const m_pName: usize = 0x0; // char*
|
||||
pub const m_pCPPClassname: usize = 0x8; // char*
|
||||
pub const m_pNetworkDataReferencedDescription: usize = 0x10; // char*
|
||||
pub const m_pNetworkDataReferencedPtrPropDescription: usize = 0x18; // char*
|
||||
pub const m_nRuntimeIndex: usize = 0x20; // int32_t
|
||||
pub const m_nFlags: usize = 0x24; // uint32_t
|
||||
pub const m_pBaseClassComponentHelper: usize = 0x60; // CEntityComponentHelper*
|
||||
}
|
||||
|
||||
pub mod EntInput_t {
|
||||
}
|
||||
|
||||
pub mod EntOutput_t {
|
||||
}
|
||||
|
||||
pub mod EventAdvanceTick_t { // EventSimulate_t
|
||||
pub const m_nCurrentTick: usize = 0x30; // int32_t
|
||||
pub const m_nCurrentTickThisFrame: usize = 0x34; // int32_t
|
||||
pub const m_nTotalTicksThisFrame: usize = 0x38; // int32_t
|
||||
pub const m_nTotalTicks: usize = 0x3C; // int32_t
|
||||
}
|
||||
|
||||
pub mod EventAppShutdown_t {
|
||||
pub const m_nDummy0: usize = 0x0; // int32_t
|
||||
}
|
||||
|
||||
pub mod EventClientAdvanceTick_t { // EventAdvanceTick_t
|
||||
}
|
||||
|
||||
pub mod EventClientFrameSimulate_t {
|
||||
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
|
||||
pub const m_flRealTime: usize = 0x28; // float
|
||||
pub const m_flFrameTime: usize = 0x2C; // float
|
||||
}
|
||||
|
||||
pub mod EventClientOutput_t {
|
||||
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
|
||||
pub const m_flRenderTime: usize = 0x28; // float
|
||||
pub const m_flRealTime: usize = 0x2C; // float
|
||||
pub const m_flRenderFrameTimeUnbounded: usize = 0x30; // float
|
||||
pub const m_bRenderOnly: usize = 0x34; // bool
|
||||
}
|
||||
|
||||
pub mod EventClientPauseSimulate_t { // EventSimulate_t
|
||||
}
|
||||
|
||||
pub mod EventClientPollInput_t {
|
||||
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
|
||||
pub const m_flRealTime: usize = 0x28; // float
|
||||
}
|
||||
|
||||
pub mod EventClientPollNetworking_t {
|
||||
pub const m_nTickCount: usize = 0x0; // int32_t
|
||||
}
|
||||
|
||||
pub mod EventClientPostAdvanceTick_t { // EventPostAdvanceTick_t
|
||||
}
|
||||
|
||||
pub mod EventClientPostOutput_t {
|
||||
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
|
||||
pub const m_flRenderTime: usize = 0x28; // double
|
||||
pub const m_flRenderFrameTime: usize = 0x30; // float
|
||||
pub const m_flRenderFrameTimeUnbounded: usize = 0x34; // float
|
||||
pub const m_bRenderOnly: usize = 0x38; // bool
|
||||
}
|
||||
|
||||
pub mod EventClientPostSimulate_t { // EventSimulate_t
|
||||
}
|
||||
|
||||
pub mod EventClientPreOutput_t {
|
||||
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
|
||||
pub const m_flRenderTime: usize = 0x28; // double
|
||||
pub const m_flRenderFrameTime: usize = 0x30; // double
|
||||
pub const m_flRenderFrameTimeUnbounded: usize = 0x38; // double
|
||||
pub const m_flRealTime: usize = 0x40; // float
|
||||
pub const m_bRenderOnly: usize = 0x44; // bool
|
||||
}
|
||||
|
||||
pub mod EventClientPreSimulate_t { // EventSimulate_t
|
||||
}
|
||||
|
||||
pub mod EventClientPredictionPostNetupdate_t {
|
||||
}
|
||||
|
||||
pub mod EventClientProcessGameInput_t {
|
||||
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
|
||||
pub const m_flRealTime: usize = 0x28; // float
|
||||
pub const m_flFrameTime: usize = 0x2C; // float
|
||||
}
|
||||
|
||||
pub mod EventClientProcessInput_t {
|
||||
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
|
||||
pub const m_flRealTime: usize = 0x28; // float
|
||||
}
|
||||
|
||||
pub mod EventClientProcessNetworking_t {
|
||||
}
|
||||
|
||||
pub mod EventClientSceneSystemThreadStateChange_t {
|
||||
pub const m_bThreadsActive: usize = 0x0; // bool
|
||||
}
|
||||
|
||||
pub mod EventClientSendInput_t {
|
||||
pub const m_bFinalClientCommandTick: usize = 0x0; // bool
|
||||
pub const m_nAdditionalClientCommandsToCreate: usize = 0x4; // int32_t
|
||||
}
|
||||
|
||||
pub mod EventClientSimulate_t { // EventSimulate_t
|
||||
}
|
||||
|
||||
pub mod EventFrameBoundary_t {
|
||||
pub const m_flFrameTime: usize = 0x0; // float
|
||||
}
|
||||
|
||||
pub mod EventHostTimescaleChanged_t {
|
||||
pub const m_flOldValue: usize = 0x0; // float
|
||||
pub const m_flNewValue: usize = 0x4; // float
|
||||
}
|
||||
|
||||
pub mod EventModInitialized_t {
|
||||
}
|
||||
|
||||
pub mod EventPostAdvanceTick_t { // EventSimulate_t
|
||||
pub const m_nCurrentTick: usize = 0x30; // int32_t
|
||||
pub const m_nCurrentTickThisFrame: usize = 0x34; // int32_t
|
||||
pub const m_nTotalTicksThisFrame: usize = 0x38; // int32_t
|
||||
pub const m_nTotalTicks: usize = 0x3C; // int32_t
|
||||
}
|
||||
|
||||
pub mod EventPostDataUpdate_t {
|
||||
pub const m_nCount: usize = 0x0; // int32_t
|
||||
}
|
||||
|
||||
pub mod EventPreDataUpdate_t {
|
||||
pub const m_nCount: usize = 0x0; // int32_t
|
||||
}
|
||||
|
||||
pub mod EventProfileStorageAvailable_t {
|
||||
pub const m_nSplitScreenSlot: usize = 0x0; // CSplitScreenSlot
|
||||
}
|
||||
|
||||
pub mod EventServerAdvanceTick_t { // EventAdvanceTick_t
|
||||
}
|
||||
|
||||
pub mod EventServerPollNetworking_t { // EventSimulate_t
|
||||
}
|
||||
|
||||
pub mod EventServerPostAdvanceTick_t { // EventPostAdvanceTick_t
|
||||
}
|
||||
|
||||
pub mod EventServerPostSimulate_t { // EventSimulate_t
|
||||
}
|
||||
|
||||
pub mod EventServerProcessNetworking_t { // EventSimulate_t
|
||||
}
|
||||
|
||||
pub mod EventServerSimulate_t { // EventSimulate_t
|
||||
}
|
||||
|
||||
pub mod EventSetTime_t {
|
||||
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
|
||||
pub const m_nClientOutputFrames: usize = 0x28; // int32_t
|
||||
pub const m_flRealTime: usize = 0x30; // double
|
||||
pub const m_flRenderTime: usize = 0x38; // double
|
||||
pub const m_flRenderFrameTime: usize = 0x40; // double
|
||||
pub const m_flRenderFrameTimeUnbounded: usize = 0x48; // double
|
||||
pub const m_flRenderFrameTimeUnscaled: usize = 0x50; // double
|
||||
pub const m_flTickRemainder: usize = 0x58; // double
|
||||
}
|
||||
|
||||
pub mod EventSimpleLoopFrameUpdate_t {
|
||||
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
|
||||
pub const m_flRealTime: usize = 0x28; // float
|
||||
pub const m_flFrameTime: usize = 0x2C; // float
|
||||
}
|
||||
|
||||
pub mod EventSimulate_t {
|
||||
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
|
||||
pub const m_bFirstTick: usize = 0x28; // bool
|
||||
pub const m_bLastTick: usize = 0x29; // bool
|
||||
}
|
||||
|
||||
pub mod EventSplitScreenStateChanged_t {
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Tue, 21 Nov 2023 00:47:43 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
||||
pub mod client_dll { // client.dll
|
||||
pub const dwEntityList: usize = 0x17B5200;
|
||||
pub const dwForceAttack: usize = 0x16B5510;
|
||||
pub const dwForceAttack2: usize = 0x16B55A0;
|
||||
pub const dwForceBackward: usize = 0x16B57E0;
|
||||
pub const dwForceCrouch: usize = 0x16B5AB0;
|
||||
pub const dwForceForward: usize = 0x16B5750;
|
||||
pub const dwForceJump: usize = 0x16B5A20;
|
||||
pub const dwForceLeft: usize = 0x16B5870;
|
||||
pub const dwForceRight: usize = 0x16B5900;
|
||||
pub const dwGameEntitySystem: usize = 0x18E08E0;
|
||||
pub const dwGameEntitySystem_getHighestEntityIndex: usize = 0x1510;
|
||||
pub const dwGameRules: usize = 0x1810EB0;
|
||||
pub const dwGlobalVars: usize = 0x16B1670;
|
||||
pub const dwGlowManager: usize = 0x1810ED8;
|
||||
pub const dwInterfaceLinkList: usize = 0x190E578;
|
||||
pub const dwLocalPlayerController: usize = 0x1804518;
|
||||
pub const dwLocalPlayerPawn: usize = 0x16BC5B8;
|
||||
pub const dwPlantedC4: usize = 0x1818478;
|
||||
pub const dwPrediction: usize = 0x16BC480;
|
||||
pub const dwSensitivity: usize = 0x1812468;
|
||||
pub const dwSensitivity_sensitivity: usize = 0x40;
|
||||
pub const dwViewAngles: usize = 0x18744C0;
|
||||
pub const dwViewMatrix: usize = 0x1813840;
|
||||
pub const dwViewRender: usize = 0x18140C0;
|
||||
}
|
||||
|
||||
pub mod engine2_dll { // engine2.dll
|
||||
pub const dwBuildNumber: usize = 0x48B514;
|
||||
pub const dwNetworkGameClient: usize = 0x48AAC0;
|
||||
pub const dwNetworkGameClient_getLocalPlayer: usize = 0xF0;
|
||||
pub const dwNetworkGameClient_maxClients: usize = 0x250;
|
||||
pub const dwNetworkGameClient_signOnState: usize = 0x240;
|
||||
pub const dwWindowHeight: usize = 0x541D8C;
|
||||
pub const dwWindowWidth: usize = 0x541D88;
|
||||
}
|
||||
|
||||
pub mod inputsystem_dll { // inputsystem.dll
|
||||
pub const dwInputSystem: usize = 0x35760;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user