use nil_core::ethic::Ethics;
use nil_core::infrastructure::Infrastructure;
use nil_core::npc::bot::BotId;
use nil_core::ruler::Ruler;
use nil_core::world::config::WorldId;
use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct CheatGetEthicsRequest {
pub world: WorldId,
pub ruler: Ruler,
}
#[derive(Clone, Debug, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct CheatSetBotEthicsRequest {
pub world: WorldId,
pub id: BotId,
#[serde(default)]
pub ethics: Option<Ethics>,
}
#[derive(Clone, Debug, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct CheatSpawnBotRequest {
pub world: WorldId,
pub name: String,
#[serde(default)]
pub infrastructure: Option<Infrastructure>,
}