poe_data_tools 1.0.0

A library for working with Path of Exile game data
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::collections::HashMap;

use serde::Serialize;

use crate::{file_parsers::psg::types::Group, tree::passive_info::PassiveSkillInfo};

/// Same format as what's exported by RePoE
#[derive(Debug, Serialize)]
pub struct PassiveSkillGraph {
    pub version: u8,
    /// 1 == Passive skill tree
    /// 2 == Atlas tree
    pub graph_type: u8,
    pub passives_per_orbit: Vec<u8>,
    pub root_passives: Vec<u64>,
    pub groups: Vec<Group>,
    pub passive_info: HashMap<u16, PassiveSkillInfo>,
}