Struct vault::ChatLine
[−]
[src]
pub struct ChatLine { pub tick: u32, pub name: String, pub message: String, }
This type represents a single Company of Heroes 2 chat message.
Fields
tick: u32
name: String
message: String
Methods
impl ChatLine
[src]
fn with_data<S>(tick: u32, name: S, message: S) -> ChatLine where S: Into<String>
Constructs a new ChatLine initialized with the data given.
fn display(&self)
Writes the contents of the ChatLine to stdout.