mirror of
https://github.com/a2x/cs2-dumper.git
synced 2025-10-07 13:20:04 +08:00
📦 Game Update 13987
This commit is contained in:
@@ -272,7 +272,7 @@ mod tests {
|
||||
}
|
||||
};
|
||||
|
||||
// Sleep for a second so we're able to test.
|
||||
// Sleep for a second, so we're able to test.
|
||||
sleep(Duration::from_secs(1));
|
||||
|
||||
for button in &FORCE_BUTTONS {
|
||||
@@ -374,7 +374,7 @@ mod tests {
|
||||
unsafe { _bittest(&key_map_element, key_code & 0x1F) != 0 }
|
||||
};
|
||||
|
||||
// Sleep for a second so we're able to test.
|
||||
// Sleep for a second, so we're able to test.
|
||||
sleep(Duration::from_secs(1));
|
||||
|
||||
// See https://www.unknowncheats.me/forum/3855779-post889.html for button codes.
|
||||
|
@@ -1,5 +1,4 @@
|
||||
#![allow(dead_code)]
|
||||
#![feature(offset_of)]
|
||||
|
||||
use anyhow::{bail, Result};
|
||||
|
||||
|
@@ -38,7 +38,7 @@ impl<'a> SchemaSystemTypeScope<'a> {
|
||||
pub fn classes(&self) -> Result<Vec<SchemaClassInfo>> {
|
||||
let declared_classes = self
|
||||
.process
|
||||
.read_memory::<UtlTsHash<*mut SchemaTypeDeclaredClass>>(self.address + 0x588)?;
|
||||
.read_memory::<UtlTsHash<*mut SchemaTypeDeclaredClass>>(self.address + 0x5B8)?;
|
||||
|
||||
let classes: Vec<SchemaClassInfo> = declared_classes
|
||||
.elements(self.process)?
|
||||
|
Reference in New Issue
Block a user