diff --git a/src/main/java/com/minecrafttas/tasmod/playback/PlaybackSerialiserBase.java b/src/main/java/com/minecrafttas/tasmod/playback/PlaybackSerialiserBase.java new file mode 100644 index 00000000..a76bf88e --- /dev/null +++ b/src/main/java/com/minecrafttas/tasmod/playback/PlaybackSerialiserBase.java @@ -0,0 +1,40 @@ +package com.minecrafttas.tasmod.playback; + +import java.util.ArrayList; +import java.util.List; + +public abstract class PlaybackSerialiserBase { + + public PlaybackSerialiserBase(PlaybackControllerClient controller) { + if(controller == null) { + throw new NullPointerException("Parameter controller can't be null"); + } + + + } + + public void onSave() { + + } + + public void onLoad() { + + } + + public List serialize() { + List out = new ArrayList<>(); + return out; + } + + public void deserialize(List in) { + + } + + public List serializeMetadata(){ + return null; + } + + public void deserializeMetadata(List metadataString) { + + } +}