mirror of
https://github.com/a2x/cs2-dumper.git
synced 2026-04-18 02:09:58 +08:00
Rewrote project in Rust
This commit is contained in:
16
src/config.rs
Normal file
16
src/config.rs
Normal file
@@ -0,0 +1,16 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[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,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub struct Config {
|
||||
pub signatures: Vec<Signature>,
|
||||
}
|
||||
Reference in New Issue
Block a user