mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 02:24:12 +02:00
parse and encode tempentities
This commit is contained in:
parent
3055242fd9
commit
5c10c9e6ae
4 changed files with 126 additions and 30 deletions
|
|
@ -27,6 +27,12 @@ impl From<ClassId> for usize {
|
|||
}
|
||||
}
|
||||
|
||||
impl From<ClassId> for u16 {
|
||||
fn from(class: ClassId) -> Self {
|
||||
class.0
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(BitRead, BitWrite, PartialEq, Eq, Hash, Debug, Serialize, Deserialize, Clone, Display)]
|
||||
pub struct ServerClassName(String);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue