Enum g_rust::extension::parsers::subparsers::SnowWarGameObjectData
source · pub enum SnowWarGameObjectData {
SnowballGameObjectData {
id: i32,
location_x_3d: i32,
location_y_3d: i32,
location_z_3d: i32,
movement_direction_360: i32,
trajectory: i32,
time_to_live: i32,
throwing_human: i32,
parabola_offset: i32,
planar_velocity: i32,
},
TreeGameObjectData {
id: i32,
location_x_3d: i32,
location_y_3d: i32,
direction: i32,
height: i32,
fuse_object_id: i32,
max_hits: i32,
hits: i32,
},
SnowballPileGameObjectData {
id: i32,
location_x_3d: i32,
location_y_3d: i32,
max_snow_balls: i32,
snowball_count: i32,
fuse_object_id: i32,
},
SnowballMachineGameObjectData {
id: i32,
location_x_3d: i32,
location_y_3d: i32,
direction: i32,
max_snow_balls: i32,
snowball_count: i32,
fuse_object_id: i32,
},
HumanGameObjectData {Show 22 fields
id: i32,
current_location_x: i32,
current_location_y: i32,
current_tile_x: i32,
current_tile_y: i32,
body_direction: i32,
hit_points: i32,
snow_ball_count: i32,
is_bot: i32,
activity_timer: i32,
activity_state: i32,
next_tile_x: i32,
next_tile_y: i32,
move_target_x: i32,
move_target_y: i32,
score: i32,
team: i32,
user_id: i32,
name: String,
mission: String,
figure: String,
sex: String,
},
}
Variants§
SnowballGameObjectData
Fields
TreeGameObjectData
Fields
SnowballPileGameObjectData
Fields
SnowballMachineGameObjectData
Fields
HumanGameObjectData
Fields
Trait Implementations§
source§impl Clone for SnowWarGameObjectData
impl Clone for SnowWarGameObjectData
source§fn clone(&self) -> SnowWarGameObjectData
fn clone(&self) -> SnowWarGameObjectData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SnowWarGameObjectData
impl Debug for SnowWarGameObjectData
source§impl PartialEq<SnowWarGameObjectData> for SnowWarGameObjectData
impl PartialEq<SnowWarGameObjectData> for SnowWarGameObjectData
source§fn eq(&self, other: &SnowWarGameObjectData) -> bool
fn eq(&self, other: &SnowWarGameObjectData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SnowWarGameObjectData
Auto Trait Implementations§
impl RefUnwindSafe for SnowWarGameObjectData
impl Send for SnowWarGameObjectData
impl Sync for SnowWarGameObjectData
impl Unpin for SnowWarGameObjectData
impl UnwindSafe for SnowWarGameObjectData
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