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:
parent
8e39a1ed50
commit
4bd352feb9
10 changed files with 42 additions and 51 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue