pub struct WasmW3i {Show 40 fields
pub version: u32,
pub saves: u32,
pub editor_version: u32,
pub build_version: Option<Uint32Array>,
pub name: String,
pub author: String,
pub description: String,
pub recommended_players: String,
pub camera_bounds: Float32Array,
pub camera_bounds_complements: Uint32Array,
pub playable_size: Uint32Array,
pub flags: u32,
pub tileset: u8,
pub campaign_background: u32,
pub loading_screen_model: Option<String>,
pub loading_screen_text: String,
pub loading_screen_title: String,
pub loading_screen_subtitle: String,
pub loading_screen: u32,
pub prologue_screen_model: Option<String>,
pub prologue_screen_text: String,
pub prologue_screen_title: String,
pub prologue_screen_subtitle: String,
pub use_terrain_fog: Option<u32>,
pub fog_height: Option<Float32Array>,
pub fog_density: Option<u32>,
pub fog_color: Option<Uint8Array>,
pub global_weather: Option<u32>,
pub sound_environment: Option<String>,
pub light_environment_tileset: Option<u8>,
pub water_vertex_color: Option<Uint8Array>,
pub script_mode: Option<u32>,
pub graphics_mode: Option<u32>,
pub unknown1: Option<u32>,
pub players: Vec<WasmPlayer>,
pub forces: Vec<WasmForce>,
pub upgrade_availability_changes: Vec<WasmUpgradeAvailabilityChange>,
pub tech_availability_changes: Vec<WasmTechAvailabilityChange>,
pub random_unit_tables: Vec<WasmRandomUnitTable>,
pub random_item_tables: Vec<WasmRandomItemTable>,
}Fields§
§version: u32§saves: u32§editor_version: u32§build_version: Option<Uint32Array>§name: String§description: String§recommended_players: String§camera_bounds: Float32Array§camera_bounds_complements: Uint32Array§playable_size: Uint32Array§flags: u32§tileset: u8§campaign_background: u32§loading_screen_model: Option<String>§loading_screen_text: String§loading_screen_title: String§loading_screen_subtitle: String§loading_screen: u32§prologue_screen_model: Option<String>§prologue_screen_text: String§prologue_screen_title: String§prologue_screen_subtitle: String§use_terrain_fog: Option<u32>§fog_height: Option<Float32Array>§fog_density: Option<u32>§fog_color: Option<Uint8Array>§global_weather: Option<u32>§sound_environment: Option<String>§light_environment_tileset: Option<u8>§water_vertex_color: Option<Uint8Array>§script_mode: Option<u32>§graphics_mode: Option<u32>§unknown1: Option<u32>§players: Vec<WasmPlayer>§forces: Vec<WasmForce>§upgrade_availability_changes: Vec<WasmUpgradeAvailabilityChange>§tech_availability_changes: Vec<WasmTechAvailabilityChange>§random_unit_tables: Vec<WasmRandomUnitTable>§random_item_tables: Vec<WasmRandomItemTable>Trait Implementations§
Source§impl From<War3MapW3i> for WasmW3i
impl From<War3MapW3i> for WasmW3i
Source§fn from(w3i: War3MapW3i) -> Self
fn from(w3i: War3MapW3i) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for WasmW3i
impl FromWasmAbi for WasmW3i
Source§impl IntoWasmAbi for WasmW3i
impl IntoWasmAbi for WasmW3i
Source§impl LongRefFromWasmAbi for WasmW3i
impl LongRefFromWasmAbi for WasmW3i
Source§impl OptionFromWasmAbi for WasmW3i
impl OptionFromWasmAbi for WasmW3i
Source§impl OptionIntoWasmAbi for WasmW3i
impl OptionIntoWasmAbi for WasmW3i
Source§impl RefFromWasmAbi for WasmW3i
impl RefFromWasmAbi for WasmW3i
Source§impl RefMutFromWasmAbi for WasmW3i
impl RefMutFromWasmAbi for WasmW3i
Source§impl TryFromJsValue for WasmW3i
impl TryFromJsValue for WasmW3i
Source§impl VectorFromWasmAbi for WasmW3i
impl VectorFromWasmAbi for WasmW3i
Source§impl VectorIntoWasmAbi for WasmW3i
impl VectorIntoWasmAbi for WasmW3i
impl SupportsConstructor for WasmW3i
impl SupportsInstanceProperty for WasmW3i
impl SupportsStaticProperty for WasmW3i
Auto Trait Implementations§
impl Freeze for WasmW3i
impl RefUnwindSafe for WasmW3i
impl !Send for WasmW3i
impl !Sync for WasmW3i
impl Unpin for WasmW3i
impl UnwindSafe for WasmW3i
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.