pub struct UpdateAction {
pub id: LegacyId,
pub int_params: Vec<i32>,
pub string_param: String,
pub stuff_ids: Vec<LegacyId>,
pub action_delay: i32,
pub furni_sources: Vec<LegacyId>,
pub user_sources: Vec<LegacyId>,
}
Fields§
§id: LegacyId
§int_params: Vec<i32>
§string_param: String
§stuff_ids: Vec<LegacyId>
§action_delay: i32
§furni_sources: Vec<LegacyId>
§user_sources: Vec<LegacyId>
Trait Implementations§
source§impl BaseParser for UpdateAction
impl BaseParser for UpdateAction
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for UpdateAction
impl Clone for UpdateAction
source§fn clone(&self) -> UpdateAction
fn clone(&self) -> UpdateAction
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 UpdateAction
impl Debug for UpdateAction
source§impl Default for UpdateAction
impl Default for UpdateAction
source§fn default() -> UpdateAction
fn default() -> UpdateAction
Returns the “default value” for a type. Read more
source§impl PacketVariable for UpdateAction
impl PacketVariable for UpdateAction
source§impl PartialEq<UpdateAction> for UpdateAction
impl PartialEq<UpdateAction> for UpdateAction
source§fn eq(&self, other: &UpdateAction) -> bool
fn eq(&self, other: &UpdateAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateAction
Auto Trait Implementations§
impl RefUnwindSafe for UpdateAction
impl Send for UpdateAction
impl Sync for UpdateAction
impl Unpin for UpdateAction
impl UnwindSafe for UpdateAction
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