mirror of
https://github.com/a2x/cs2-dumper.git
synced 2026-04-18 02:09:58 +08:00
Fetch localPlayerPawn
This commit is contained in:
@@ -1,13 +1,21 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
#[serde(tag = "type", rename_all = "camelCase")]
|
||||
pub enum Operation {
|
||||
Add { value: usize },
|
||||
Dereference { times: Option<u16> },
|
||||
Jmp,
|
||||
RipRelative,
|
||||
Subtract { value: usize },
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub struct Signature {
|
||||
pub name: String,
|
||||
pub module: String,
|
||||
pub pattern: String,
|
||||
pub relative: bool,
|
||||
pub levels: i32,
|
||||
pub offset: i32,
|
||||
pub operations: Vec<Operation>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
|
||||
Reference in New Issue
Block a user