forked from MinecraftTAS/TASmod
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f304244
commit f8cf266
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
src/main/java/com/minecrafttas/tasmod/playback/PlaybackSerialiserBase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<String> serialize() { | ||
List<String> out = new ArrayList<>(); | ||
return out; | ||
} | ||
|
||
public void deserialize(List<String> in) { | ||
|
||
} | ||
|
||
public List<String> serializeMetadata(){ | ||
return null; | ||
} | ||
|
||
public void deserializeMetadata(List<String> metadataString) { | ||
|
||
} | ||
} |