added war id to faction->basic

This commit is contained in:
TotallyNot 2023-08-11 16:50:45 +02:00
parent 14c4fc7d12
commit 3c0195739a
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,6 @@
[package] [package]
name = "torn-api" name = "torn-api"
version = "0.5.22" version = "0.5.23"
edition = "2021" edition = "2021"
authors = ["Pyrit [2111649]"] authors = ["Pyrit [2111649]"]
license = "MIT" license = "MIT"

View file

@ -44,6 +44,7 @@ pub struct Member<'a> {
#[derive(Debug, Clone, Deserialize)] #[derive(Debug, Clone, Deserialize)]
pub struct FactionTerritoryWar<'a> { pub struct FactionTerritoryWar<'a> {
pub territory_war_id: i32,
pub territory: &'a str, pub territory: &'a str,
pub assaulting_faction: i32, pub assaulting_faction: i32,
pub defending_faction: i32, pub defending_faction: i32,