1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 02:24:12 +02:00

pass message to analysers by ref

This commit is contained in:
Robin Appelman 2019-08-29 23:28:26 +02:00
commit 4bd352feb9
10 changed files with 42 additions and 51 deletions

View file

@ -44,7 +44,7 @@ pub enum PVS {
Delete = 3,
}
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct PacketEntity {
pub server_class: ClassId,
pub entity_index: EntityId,

View file

@ -107,7 +107,7 @@ impl ParseBitSkip for UserMessage {
}
}
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
#[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq)]
pub enum ChatMessageKind {
#[serde(rename = "TF_Chat_All")]
ChatAll,