Enum ozelot::ClientState
source · pub enum ClientState {
Handshake,
Status,
Login,
Play,
}
Expand description
This tracks which state of play the client is in. The value of this changes the meaning of the different packet ids.
Variants§
Trait Implementations§
source§impl Clone for ClientState
impl Clone for ClientState
source§fn clone(&self) -> ClientState
fn clone(&self) -> ClientState
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 more