nil_payload/cheat/city.rs
1// Copyright (C) Call of Nil contributors
2// SPDX-License-Identifier: AGPL-3.0-only
3
4use nil_core::city::Stability;
5use nil_core::continent::Coord;
6use nil_core::world::config::WorldId;
7use serde::{Deserialize, Serialize};
8
9#[derive(Clone, Debug, Deserialize, Serialize)]
10#[serde(rename_all = "camelCase")]
11pub struct CheatSetStabilityRequest {
12 pub world: WorldId,
13 pub coord: Coord,
14 pub stability: Stability,
15}