pub struct OnMultiplayerInitEvent {
pub name: &'static str,
pub tick: u32,
}Expand description
Called when LuaGameScript::is_multiplayer changes to true. May also be raised when it was already true but a game was loaded from a save file and with hosting.
Fields§
§name: &'static str§tick: u32Trait Implementations§
Source§impl Clone for OnMultiplayerInitEvent
impl Clone for OnMultiplayerInitEvent
Source§fn clone(&self) -> OnMultiplayerInitEvent
fn clone(&self) -> OnMultiplayerInitEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OnMultiplayerInitEvent
Source§impl Debug for OnMultiplayerInitEvent
impl Debug for OnMultiplayerInitEvent
Source§impl Default for OnMultiplayerInitEvent
impl Default for OnMultiplayerInitEvent
Source§fn default() -> OnMultiplayerInitEvent
fn default() -> OnMultiplayerInitEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnMultiplayerInitEvent
impl PartialEq for OnMultiplayerInitEvent
impl StructuralPartialEq for OnMultiplayerInitEvent
Auto Trait Implementations§
impl Freeze for OnMultiplayerInitEvent
impl RefUnwindSafe for OnMultiplayerInitEvent
impl Send for OnMultiplayerInitEvent
impl Sync for OnMultiplayerInitEvent
impl Unpin for OnMultiplayerInitEvent
impl UnsafeUnpin for OnMultiplayerInitEvent
impl UnwindSafe for OnMultiplayerInitEvent
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