Package com.prineside.tdi2.managers
Class ReplayManager.ReplayRecord
java.lang.Object
com.prineside.tdi2.managers.ReplayManager.ReplayRecord
- Enclosing class:
 - ReplayManager
 
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionintintbooleanbooleanintintintlonglonglongcom.badlogic.gdx.utils.IntFloatMapbyte - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidstatic ReplayManager.ReplayRecordfromBytes(byte[] buffer, boolean fullLoad) static ReplayManager.ReplayRecordfromCompactString(String str, boolean fullLoad) static ReplayManager.ReplayRecordfromState(GameSystemProvider S, byte[] preferencesSnapshot, boolean saveState) byte[]byte[]voidvoidvoidbyte[]toBytes() 
- 
Field Details
- 
version
public byte version - 
build
public int build - 
id
 - 
gameMode
 - 
difficultyMode
 - 
modeDifficultyMultiplier
public int modeDifficultyMultiplier - 
levelName
 - 
playRealTime
public int playRealTime - 
defeatedWaves
public int defeatedWaves - 
score
public long score - 
startTimestamp
public long startTimestamp - 
saveTimestamp
public long saveTimestamp - 
profileXp
public int profileXp - 
statistics
public com.badlogic.gdx.utils.IntFloatMap statistics - 
chartFrames
 - 
hasState
public boolean hasState - 
hasPreferences
public boolean hasPreferences 
 - 
 - 
Constructor Details
- 
ReplayRecord
public ReplayRecord() 
 - 
 - 
Method Details
- 
fromState
public static ReplayManager.ReplayRecord fromState(GameSystemProvider S, byte[] preferencesSnapshot, boolean saveState)  - 
toBytes
public byte[] toBytes() - 
fromBytes
 - 
fromCompactString
 - 
getStateBytes
public byte[] getStateBytes() - 
removeStateData
public void removeStateData() - 
removePreferencesData
public void removePreferencesData() - 
saveLocally
public void saveLocally() - 
toCompactString
 - 
getPreferencesSnapshot
public byte[] getPreferencesSnapshot() - 
applyPreferences
public void applyPreferences() 
 -