Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,11 @@ impl RaknetListener {
}
}

/// Get the GUID, a random number that uniquely identifies the listener instance.
pub fn get_guid(&self) -> u64 {
self.guid
}

/// Set the current motd, this motd will be provided to the client in the unconnected pong.
///
/// Call this method must be after calling RaknetListener::listen()
Expand Down