From 665dee9d0f59dc036a786d1c0f87c58937306028 Mon Sep 17 00:00:00 2001 From: Willem Date: Mon, 21 Feb 2022 18:19:25 +0100 Subject: [PATCH] Added warp chain --- .../warpme/hash/WaterDrugs.java | 26 +++++++++++++++++++ .../warpme/hash/WaterFileHash.java | 26 +++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 lib-warpme/src/main/love/distributedrebirth/warpme/hash/WaterDrugs.java create mode 100644 lib-warpme/src/main/love/distributedrebirth/warpme/hash/WaterFileHash.java diff --git a/lib-warpme/src/main/love/distributedrebirth/warpme/hash/WaterDrugs.java b/lib-warpme/src/main/love/distributedrebirth/warpme/hash/WaterDrugs.java new file mode 100644 index 00000000..519340ba --- /dev/null +++ b/lib-warpme/src/main/love/distributedrebirth/warpme/hash/WaterDrugs.java @@ -0,0 +1,26 @@ +package love.distributedrebirth.warpme.hash; + +import java.util.ArrayList; +import java.util.List; + +import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; + +@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") +public class WaterDrugs { + + private List fileHashes = new ArrayList<>(); + + public List getFileHashes() { + return fileHashes; + } + + public void setFileHashes(List fileHashes) { + for (WaterFileHash hash:fileHashes) { + addFileHash(hash); + } + } + + public void addFileHash(WaterFileHash fileHash) { + this.fileHashes.add(fileHash); + } +} diff --git a/lib-warpme/src/main/love/distributedrebirth/warpme/hash/WaterFileHash.java b/lib-warpme/src/main/love/distributedrebirth/warpme/hash/WaterFileHash.java new file mode 100644 index 00000000..789ac2f8 --- /dev/null +++ b/lib-warpme/src/main/love/distributedrebirth/warpme/hash/WaterFileHash.java @@ -0,0 +1,26 @@ +package love.distributedrebirth.warpme.hash; + +import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; + +@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") +public class WaterFileHash { + + private String file; + private String hash; + + public String getFile() { + return file; + } + + public void setFile(String file) { + this.file = file; + } + + public String getHash() { + return hash; + } + + public void setHash(String hash) { + this.hash = hash; + } +}