Struct lu_packets::world::client::TransferToWorld
source · [−]pub struct TransferToWorld {
pub redirect_ip: LuString33,
pub redirect_port: u16,
pub is_maintenance_transfer: bool,
}
Expand description
Tells the client to open a connection to another server instance.
Trigger
The server can send this at any time, but typically does when a launchpad or command is used to go to another world. Other reasons can include the instance shutting down, or exceeding its player limit.
Response
Close the connection after the connection to the other instance has been established.
Fields
redirect_ip: LuString33
The host to connect to.
redirect_port: u16
The port to connect to.
is_maintenance_transfer: bool
If this is true
, the original LU client displays a “Mythran dimensional shift succeeded” announcement.
Trait Implementations
sourceimpl Debug for TransferToWorld
impl Debug for TransferToWorld
sourceimpl<__ENDIO_ENDIANNESS: Endianness, __ENDIO_READER: Read + ERead<__ENDIO_ENDIANNESS>> Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER> for TransferToWorldwhere
LuString33: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
u16: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
bool: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
impl<__ENDIO_ENDIANNESS: Endianness, __ENDIO_READER: Read + ERead<__ENDIO_ENDIANNESS>> Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER> for TransferToWorldwhere
LuString33: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
u16: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
bool: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
sourcefn deserialize(reader: &mut __ENDIO_READER) -> Result<Self>
fn deserialize(reader: &mut __ENDIO_READER) -> Result<Self>
Deserializes the type by reading from the reader.
sourceimpl From<TransferToWorld> for Message
impl From<TransferToWorld> for Message
sourcefn from(msg: TransferToWorld) -> Self
fn from(msg: TransferToWorld) -> Self
Converts to this type from the input type.
sourceimpl From<TransferToWorld> for Message
impl From<TransferToWorld> for Message
sourcefn from(msg: TransferToWorld) -> Self
fn from(msg: TransferToWorld) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<TransferToWorld> for TransferToWorld
impl PartialEq<TransferToWorld> for TransferToWorld
sourcefn eq(&self, other: &TransferToWorld) -> bool
fn eq(&self, other: &TransferToWorld) -> bool
sourceimpl<'__ENDIO_LIFETIME, __ENDIO_ENDIANNESS: Endianness, __ENDIO_WRITER: Write + EWrite<__ENDIO_ENDIANNESS>> Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER> for &'__ENDIO_LIFETIME TransferToWorldwhere
&'__ENDIO_LIFETIME LuString33: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME u16: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME bool: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
impl<'__ENDIO_LIFETIME, __ENDIO_ENDIANNESS: Endianness, __ENDIO_WRITER: Write + EWrite<__ENDIO_ENDIANNESS>> Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER> for &'__ENDIO_LIFETIME TransferToWorldwhere
&'__ENDIO_LIFETIME LuString33: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME u16: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME bool: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
impl StructuralPartialEq for TransferToWorld
Auto Trait Implementations
impl RefUnwindSafe for TransferToWorld
impl Send for TransferToWorld
impl Sync for TransferToWorld
impl Unpin for TransferToWorld
impl UnwindSafe for TransferToWorld
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