imperator_save/extraction.rs
1/// Describes the format of the save before decoding
2#[derive(Debug, Clone, Copy, Eq, PartialEq)]
3pub enum Encoding {
4 /// Save is encoded with the debug plaintext format:
5 ///
6 /// - a save id line
7 /// - uncompressed text gamestate
8 Text,
9
10 /// Non-native plaintext imperator format
11 ///
12 /// - a save id line
13 /// - zip with compressed plaintext gamestate
14 TextZip,
15
16 /// A standard ironman or normal save
17 ///
18 /// - a save id line
19 /// - zip with compressed binary gamestate
20 BinaryZip,
21
22 /// Non-native binary imperator format
23 ///
24 /// - a save id line
25 /// - uncompressed binary gamestate
26 Binary,
27}