mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-03-13 07:17:31 +08:00
Only a few are supported right now You will need certain script files in ./resources/Scripts
13 lines
242 B
Java
13 lines
242 B
Java
package emu.grasscutter.scripts.serializer;
|
|
|
|
import java.util.List;
|
|
|
|
import org.luaj.vm2.LuaTable;
|
|
|
|
public interface Serializer {
|
|
|
|
public <T> List<T> toList(Class<T> type, Object obj);
|
|
|
|
public <T> T toObject(Class<T> type, Object obj);
|
|
}
|