From 0588b2a6a30c01d8ec859fa05d44a97d264e2227 Mon Sep 17 00:00:00 2001 From: endernon Date: Sat, 11 Jan 2025 19:51:37 +0000 Subject: [PATCH] placeholder for dmg encode --- src/encode.rs | 4 ++++ src/main.rs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/encode.rs b/src/encode.rs index c1e9dc1..5b1eae0 100644 --- a/src/encode.rs +++ b/src/encode.rs @@ -260,4 +260,8 @@ impl FuncParams<'_> { EndData.encode(self.fr_ver, self.fr_out).unwrap(); Ok(()) } + pub fn encode_damagedata(&mut self) -> Result<(), Errorfr> { + + Ok(()) + } } diff --git a/src/main.rs b/src/main.rs index 8e3bb92..2913f8d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -210,7 +210,7 @@ fn cook( let mut final_string: String = encode_string(out); - // add NameAfter + // add NameAfter. not actually an encode. match json_config.item_type { ItemTypeDeser::CraftedGear | ItemTypeDeser::CraftedConsu => { if let Some(real_name) = &json_config.name {