Struct netcode::Client [] [src]

pub struct Client<I, S> where
    I: SocketProvider<I, S>, 
{ /* fields omitted */ }

Netcode client object.

Methods

impl<I, S> Client<I, S> where
    I: SocketProvider<I, S>, 
[src]

Constructs a new client from an existing ConnectToken.

Updates time elapsed since last client iteration.

Checks for incoming packets and state changes. Returns None when no more events are pending.

Sends a packet to connected server.

Gets the current state of our client.