mirror of
https://github.com/a2x/cs2-dumper.git
synced 2026-04-17 16:39:58 +08:00
Revert renaming class, enum and field names
This commit is contained in:
@@ -220,3 +220,8 @@ pub fn format_module_name(module_name: &String) -> String {
|
||||
|
||||
module_name.strip_suffix(extension).unwrap().to_string()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn sanitize_name(name: &str) -> String {
|
||||
name.replace(|c: char| !c.is_alphanumeric(), "_")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user