Opt: add the docstrings, make the BattleResultsDat's fields public

This commit is contained in:
Pavel Perestoronin committed 2022-12-05 16:03:26 +01:00
1 parent be4a6c21b5
commit 7d99456aaa
1 file changed
+4 -2
+4 -2
View File
@@ -11,9 +11,11 @@ use crate::{Error, Result};
#[derive(Debug, Deserialize)]
pub struct BattleResultsDat(
/// No idea what this is.
u64,
/// My best guess – this is some of checksum,
/// but none of MD5, SHA1, SHA224, SHA256, SHA384, SHA512, nor CRC64 over the buffer have matched.
pub u64,
/// Protobuf-serialized battle results.
ByteBuf,
pub ByteBuf,
);
impl BattleResultsDat {