JaneDoe-ZS/nap_data/src/tables/archive_battle_quest_template.rs
xeon 970dde020a Working OpenUI interacts and Archive battles
Implement OpenUI interacts (currently configs only for Yorozuya and Archive)
Fully working Archive (battles and cutscenes)
2024-07-30 03:04:55 +03:00

28 lines
754 B
Rust

use serde::Deserialize;
template_id!(ArchiveBattleQuest u32 id);
#[derive(Deserialize, Debug)]
#[serde(rename_all = "PascalCase")]
pub struct ArchiveBattleQuestTemplate {
#[serde(rename = "ID")]
pub id: ArchiveBattleQuestID,
pub quest_name: String,
pub quest_desc: String,
pub target: String,
pub quest_type: u32,
pub chapter: u32,
pub difficulty: u32,
pub monster_level: u32,
#[serde(rename = "HollowID")]
pub hollow_id: u32,
#[serde(rename = "FirstBattleEventID")]
pub first_battle_event_id: u32,
#[serde(rename = "BattleEventID")]
pub battle_event_id: u32,
pub battle_rank: String,
pub slot1_avatar: i32,
pub slot2_avatar: i32,
pub slot3_avatar: i32,
pub buddy: i32,
}