benthic_protocol 0.3.2

Benthic protocol, an intermediate layer between metaverse protocols and client programs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

use crate::messages::ui::ui_messages::UIMessage;

impl UIMessage {
    /// create a new UI message to allow the client to inform the server of disconnects
    pub fn new_disable_simulator() -> Self {
        UIMessage::DisableSimulator(DisableSimulator {})
    }
}

#[derive(Debug, Clone, Serialize, Deserialize)]
/// the disable simulator struct. Intentionally Contains no values.
pub struct DisableSimulator {}