Enum g_rust::extension::parsers::subparsers::SnowWarGameEventData
source · pub enum SnowWarGameEventData {
HumanLeftGameEventData {
human_game_object_id: i32,
},
NewMoveTargetEventData {
human_game_object_id: i32,
x: i32,
y: i32,
},
HumanThrowsSnowballAtHumanEventData {
human_game_object_id: i32,
target_human_game_object_id: i32,
trajectory: i32,
},
HumanThrowsSnowballAtPositionEventData {
human_game_object_id: i32,
target_x: i32,
target_y: i32,
trajectory: i32,
},
HumanStartsToMakeASnowballEventData {
human_game_object_id: i32,
},
CreateSnowballEventData {
snow_ball_game_object_id: i32,
human_game_object_id: i32,
target_x: i32,
target_y: i32,
trajectory: i32,
},
MachineCreatesSnowballEventData {
snow_ball_machine_reference: i32,
},
HumanGetsSnowballsFromMachineEventData {
human_game_object_id: i32,
snow_ball_machine_reference: i32,
},
}
Variants§
HumanLeftGameEventData
NewMoveTargetEventData
HumanThrowsSnowballAtHumanEventData
HumanThrowsSnowballAtPositionEventData
HumanStartsToMakeASnowballEventData
CreateSnowballEventData
Fields
MachineCreatesSnowballEventData
HumanGetsSnowballsFromMachineEventData
Trait Implementations§
source§impl Clone for SnowWarGameEventData
impl Clone for SnowWarGameEventData
source§fn clone(&self) -> SnowWarGameEventData
fn clone(&self) -> SnowWarGameEventData
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 SnowWarGameEventData
impl Debug for SnowWarGameEventData
source§impl PartialEq<SnowWarGameEventData> for SnowWarGameEventData
impl PartialEq<SnowWarGameEventData> for SnowWarGameEventData
source§fn eq(&self, other: &SnowWarGameEventData) -> bool
fn eq(&self, other: &SnowWarGameEventData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SnowWarGameEventData
Auto Trait Implementations§
impl RefUnwindSafe for SnowWarGameEventData
impl Send for SnowWarGameEventData
impl Sync for SnowWarGameEventData
impl Unpin for SnowWarGameEventData
impl UnwindSafe for SnowWarGameEventData
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