DemoChatWrite

Trait DemoChatWrite 

Source
pub trait DemoChatWrite {
    // Required methods
    fn write_chat(&mut self, msg: &str) -> Result<(), WriteError>;
    fn write_player_chat(
        &mut self,
        player_id: i32,
        msg: &str,
    ) -> Result<(), WriteError>;
}

Required Methods§

Source

fn write_chat(&mut self, msg: &str) -> Result<(), WriteError>

Source

fn write_player_chat( &mut self, player_id: i32, msg: &str, ) -> Result<(), WriteError>

Implementations on Foreign Types§

Source§

impl DemoChatWrite for DemoWriter

Source§

fn write_chat(&mut self, msg: &str) -> Result<(), WriteError>

Source§

fn write_player_chat( &mut self, player_id: i32, msg: &str, ) -> Result<(), WriteError>

Implementors§