HTTPS
https://git.nageyqma.icu/nageyqma/odin_next.git
SSH
git@git.nageyqma.icu:nageyqma/odin_next.git
HTTPS 链接可直接 git clone;推送代码请使用 SSH。
12345678910111213141516171819
package com.odtheking.odin.clickgui.settings
import com.google.gson.Gson
import com.google.gson.JsonElement
/**
* Used for settings that you want to save/load.
*/
internal interface Saving {
/**
* Used to update the setting from the json.
*/
fun read(element: JsonElement, gson: Gson)
/**
* Used to create the json.
*/
fun write(gson: Gson): JsonElement
}