2022-09-16 06:49:51 +00:00
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
|
|
|
|
#[derive(Debug, Deserialize, Serialize)]
|
|
|
|
#[serde(rename_all = "PascalCase")]
|
|
|
|
pub struct SimpleMod {
|
|
|
|
pub name: String,
|
|
|
|
pub category: String,
|
|
|
|
pub full_path: String,
|
|
|
|
pub dat_file: String,
|
2022-11-02 19:43:25 +00:00
|
|
|
#[serde(default)]
|
2022-09-16 06:49:51 +00:00
|
|
|
pub is_default: bool,
|
|
|
|
pub mod_offset: usize,
|
|
|
|
pub mod_size: usize,
|
2022-11-02 19:43:25 +00:00
|
|
|
#[serde(default)]
|
2022-09-16 06:49:51 +00:00
|
|
|
pub mod_pack_entry: Option<serde_json::Value>,
|
|
|
|
}
|