mirror of
https://github.com/eigenein/wotbreplay-parser.git
synced 2026-10-25 03:09:49 +01:00
Opt: add the docstrings, make the BattleResultsDat's fields public
This commit is contained in:
1 parent
be4a6c21b5
commit
7d99456aaa
1 file changed
+4
-2
@@ -11,9 +11,11 @@ use crate::{Error, Result};
|
|||||||
#[derive(Debug, Deserialize)]
|
#[derive(Debug, Deserialize)]
|
||||||
pub struct BattleResultsDat(
|
pub struct BattleResultsDat(
|
||||||
/// No idea what this is.
|
/// 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.
|
/// Protobuf-serialized battle results.
|
||||||
ByteBuf,
|
pub ByteBuf,
|
||||||
);
|
);
|
||||||
|
|
||||||
impl BattleResultsDat {
|
impl BattleResultsDat {
|
||||||
|
|||||||
Reference in new issue
Block a user