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 for UpdateAction
impl PartialEq for UpdateAction
impl StructuralPartialEq for UpdateAction
Auto Trait Implementations§
impl Freeze for UpdateAction
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