|
@ -0,0 +1,38 @@ |
|
|
|
|
|
use serde::{Serialize, Deserialize};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
|
|
|
|
|
pub enum Technique {
|
|
|
|
|
|
Foie,
|
|
|
|
|
|
Gifoie,
|
|
|
|
|
|
Rafoie,
|
|
|
|
|
|
Zonde,
|
|
|
|
|
|
Gizonde,
|
|
|
|
|
|
Razonde,
|
|
|
|
|
|
Barta,
|
|
|
|
|
|
Gibarta,
|
|
|
|
|
|
Rabarta,
|
|
|
|
|
|
Grants,
|
|
|
|
|
|
Deband,
|
|
|
|
|
|
Jellen,
|
|
|
|
|
|
Zalure,
|
|
|
|
|
|
Shifta,
|
|
|
|
|
|
Ryuker,
|
|
|
|
|
|
Resta,
|
|
|
|
|
|
Anti,
|
|
|
|
|
|
Reverser,
|
|
|
|
|
|
Megid,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
|
|
|
|
|
pub struct TechniqueDisk {
|
|
|
|
|
|
pub tech: Technique,
|
|
|
|
|
|
pub level: u32,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl TechniqueDisk {
|
|
|
|
|
|
pub fn as_bytes(&self) -> [u8; 16] {
|
|
|
|
|
|
[0; 16]
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|