pub struct WaveSpawn {
pub entity_id: String,
pub delay: Option<f64>,
pub position: Option<Coordinates>,
pub cooldown_seconds: Option<f64>,
pub row: Option<i64>,
}Fields§
§entity_id: String§delay: Option<f64>Legacy stagger in SECONDS. Fully dead since the slot model: the exit
director AND the balance mini-sim both run on cooldown_seconds
(see slot_arrival_delay_seconds). Kept only to deserialize old
config blobs.
position: Option<Coordinates>Legacy template position. The slot director only uses y as the row
fallback for unmigrated content; x is dead since the slot model.
cooldown_seconds: Option<f64>Slot model: exit cooldown from wave start, seconds. None ⇒ 0.0 (the
admin build drops zero optionals — see the config-side doc).
row: Option<i64>Slot model: landing row (0..BATTLEFIELD_HEIGHT). None → position.y → 1.
Trait Implementations§
impl StructuralPartialEq for WaveSpawn
Auto Trait Implementations§
impl Freeze for WaveSpawn
impl RefUnwindSafe for WaveSpawn
impl Send for WaveSpawn
impl Sync for WaveSpawn
impl Unpin for WaveSpawn
impl UnwindSafe for WaveSpawn
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more