diff options
| author | ilotterytea <iltsu@alright.party> | 2022-10-06 17:45:58 +0600 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2022-10-06 17:45:58 +0600 |
| commit | 0c7f6536eae679a2f11720a9ca6d0e36d8ff9df0 (patch) | |
| tree | 28519534669c7a6583ea94d3f2d2b6a5e215b070 /core/src/com/ilotterytea/maxoning/player | |
| parent | f706eab45127213e8a26e0a732cc5467784d01f6 (diff) | |
подгон к новому формату сохранений
Diffstat (limited to 'core/src/com/ilotterytea/maxoning/player')
| -rw-r--r-- | core/src/com/ilotterytea/maxoning/player/MaxonSavegame.java | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/core/src/com/ilotterytea/maxoning/player/MaxonSavegame.java b/core/src/com/ilotterytea/maxoning/player/MaxonSavegame.java new file mode 100644 index 0000000..301840b --- /dev/null +++ b/core/src/com/ilotterytea/maxoning/player/MaxonSavegame.java @@ -0,0 +1,40 @@ +package com.ilotterytea.maxoning.player; + +import java.io.Serializable; +import java.util.ArrayList; + +/** + * Save-game data class. + * @author NotDankEnough + * @since Alpha 1.2 (Oct 02, 2022) + */ +public class MaxonSavegame implements Serializable { + /** Earned Squish Points. */ + public int points; + /** Multiplier. */ + public short multiplier; + + /** Home inventory. */ + public ArrayList<Integer> inv; + /** Outside Inventory. */ + public ArrayList<Integer> outInv; + + /** Seed. */ + public long seed; + + /** Player name. */ + public String name; + /** Pet name. */ + public String petName; + /** Pet ID. */ + public byte petId; + + /** Elapsed time from game start. */ + public long elapsedTime; + + /** Last timestamp when save game was used. */ + public long lastTimestamp; + + /** Location. */ + public short roomId; +}
\ No newline at end of file |
