mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-07-08 01:31:53 +08:00
Add SenrenCxCrypt
This commit is contained in:
@@ -90,6 +90,18 @@ impl PartialEq<&[u8; 4]> for PropTag {
|
||||
}
|
||||
}
|
||||
|
||||
impl PartialEq<String> for PropTag {
|
||||
fn eq(&self, other: &String) -> bool {
|
||||
self.tag == other.as_bytes()
|
||||
}
|
||||
}
|
||||
|
||||
impl PartialEq<&str> for PropTag {
|
||||
fn eq(&self, other: &&str) -> bool {
|
||||
self.tag == other.as_bytes()
|
||||
}
|
||||
}
|
||||
|
||||
impl ExtraProp {
|
||||
pub fn is_filename_hash(&self) -> bool {
|
||||
self.tag == CHUNK_HNFN
|
||||
|
||||
Reference in New Issue
Block a user