Struct steamworks::FriendGame
source · pub struct FriendGame {
pub game: GameId,
pub game_address: Ipv4Addr,
pub game_port: u16,
pub query_port: u16,
pub lobby: LobbyId,
}
Expand description
Information about a friend’s current state in a game
Fields§
§game: GameId
The id of the game that the friend is playing
game_address: Ipv4Addr
The address of the server the player is in
game_port: u16
The game port of the server the player is in
query_port: u16
The query port of the server the player is in
lobby: LobbyId
Optional id of the lobby the player is in
Trait Implementations§
source§impl Clone for FriendGame
impl Clone for FriendGame
source§fn clone(&self) -> FriendGame
fn clone(&self) -> FriendGame
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 moreAuto Trait Implementations§
impl RefUnwindSafe for FriendGame
impl Send for FriendGame
impl Sync for FriendGame
impl Unpin for FriendGame
impl UnwindSafe for FriendGame
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