homm5-types 0.1.15

This crate contains data stuctures useful for Homm5 mods development
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Serialize, Deserialize};
use crate::common::FileRef;

#[derive(Debug, Serialize, Deserialize)]
#[allow(non_snake_case)]
pub struct AdvMapArtifactShared {
    pub NameFileRef: Option<FileRef>,
    pub DescriptionFileRef: Option<FileRef>,
    pub Type: String,
    pub Slot: String,
    pub Icon: Option<FileRef>,
    pub CostOfGold: u32,
    pub CanBeGeneratedToSell: bool
}