Package com.prineside.tdi2.managers
Class ProgressManager.ProgressSnapshotForState
java.lang.Object
com.prineside.tdi2.managers.ProgressManager.ProgressSnapshotForState
- All Implemented Interfaces:
 com.esotericsoftware.kryo.KryoSerializable
- Enclosing class:
 - ProgressManager
 
public static final class ProgressManager.ProgressSnapshotForState
extends Object
implements com.esotericsoftware.kryo.KryoSerializable
Contains progress data necessary for a proper replay validation.
 Can be constructed directly for a no-progress state
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidfromBytes(byte[] bytes, int offset, int size) intgetResearchInstalledLevel(ResearchType researchType) booleanisQuestEverCompleted(String questId) booleanisTrophyReceived(TrophyType trophyType) voidread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) booleanbyte[]toBytes()voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output)  
- 
Constructor Details
- 
ProgressSnapshotForState
public ProgressSnapshotForState() 
 - 
 - 
Method Details
- 
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) - Specified by:
 writein interfacecom.esotericsoftware.kryo.KryoSerializable
 - 
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) - Specified by:
 readin interfacecom.esotericsoftware.kryo.KryoSerializable
 - 
sameAs
 - 
getResearchInstalledLevel
 - 
isTrophyReceived
 - 
isQuestEverCompleted
 - 
fromBytes
public void fromBytes(byte[] bytes, int offset, int size)  - 
toBytes
public byte[] toBytes() 
 -