Struct lu_packets::raknet::client::replica::ReplicaConstruction
source · [−]pub struct ReplicaConstruction {Show 14 fields
pub network_id: u16,
pub object_id: ObjId,
pub lot: Lot,
pub name: LuVarWString<u8>,
pub time_since_created_on_server: u32,
pub config: Option<LuNameValue>,
pub is_trigger: bool,
pub spawner_id: Option<ObjId>,
pub spawner_node_id: Option<i32>,
pub scale: Option<f32>,
pub world_state: Option<u8>,
pub gm_level: Option<u8>,
pub parent_child_info: Option<ParentChildInfo>,
pub components: Vec<Box<dyn ComponentConstruction>>,
}
Fields
network_id: u16
object_id: ObjId
lot: Lot
name: LuVarWString<u8>
time_since_created_on_server: u32
config: Option<LuNameValue>
is_trigger: bool
spawner_id: Option<ObjId>
spawner_node_id: Option<i32>
scale: Option<f32>
world_state: Option<u8>
gm_level: Option<u8>
parent_child_info: Option<ParentChildInfo>
components: Vec<Box<dyn ComponentConstruction>>
Trait Implementations
sourceimpl Debug for ReplicaConstruction
impl Debug for ReplicaConstruction
sourceimpl<R: Read + ReplicaContext> Deserialize<LittleEndian, R> for ReplicaConstruction
impl<R: Read + ReplicaContext> Deserialize<LittleEndian, R> for ReplicaConstruction
sourcefn deserialize(reader: &mut R) -> Res<Self>
fn deserialize(reader: &mut R) -> Res<Self>
Deserializes the type by reading from the reader.
sourceimpl From<ReplicaConstruction> for Message
impl From<ReplicaConstruction> for Message
sourcefn from(msg: ReplicaConstruction) -> Self
fn from(msg: ReplicaConstruction) -> Self
Converts to this type from the input type.
sourceimpl<U> From<ReplicaConstruction> for Message<U>
impl<U> From<ReplicaConstruction> for Message<U>
sourcefn from(msg: ReplicaConstruction) -> Self
fn from(msg: ReplicaConstruction) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ReplicaConstruction> for ReplicaConstruction
impl PartialEq<ReplicaConstruction> for ReplicaConstruction
sourcefn eq(&self, rhs: &ReplicaConstruction) -> bool
fn eq(&self, rhs: &ReplicaConstruction) -> bool
Auto Trait Implementations
impl !RefUnwindSafe for ReplicaConstruction
impl !Send for ReplicaConstruction
impl !Sync for ReplicaConstruction
impl Unpin for ReplicaConstruction
impl !UnwindSafe for ReplicaConstruction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more