use std::net::SocketAddr;
use crate::{connection::state::ConnectionState, protocol::mcpe::motd::Motd};
#[derive(Debug, Clone)]
pub enum ServerEvent {
RefreshMotdRequest(SocketAddr, Motd),
SetMtuSize(u16),
DisconnectImmediately,
UpdateConnectionState(ConnectionState),
}
#[derive(Debug, Clone)]
pub enum ServerEventResponse {
RefreshMotd(Motd),
Acknowledged,
}