From 3c0195739a7b4f09b8600dc776173a5eb0605a35 Mon Sep 17 00:00:00 2001 From: TotallyNot <44345987+TotallyNot@users.noreply.github.com> Date: Fri, 11 Aug 2023 16:50:45 +0200 Subject: [PATCH] added war id to faction->basic --- torn-api/Cargo.toml | 2 +- torn-api/src/faction.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/torn-api/Cargo.toml b/torn-api/Cargo.toml index 05a8eb8..cafe9db 100644 --- a/torn-api/Cargo.toml +++ b/torn-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "torn-api" -version = "0.5.22" +version = "0.5.23" edition = "2021" authors = ["Pyrit [2111649]"] license = "MIT" diff --git a/torn-api/src/faction.rs b/torn-api/src/faction.rs index 804532e..bf4272e 100644 --- a/torn-api/src/faction.rs +++ b/torn-api/src/faction.rs @@ -44,6 +44,7 @@ pub struct Member<'a> { #[derive(Debug, Clone, Deserialize)] pub struct FactionTerritoryWar<'a> { + pub territory_war_id: i32, pub territory: &'a str, pub assaulting_faction: i32, pub defending_faction: i32,