diff options
author | Äkwav <16632490+Ekwav@users.noreply.github.com> | 2021-12-28 18:12:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-28 18:12:04 +0100 |
commit | 4d2b8de15b223b2c9dfe389db36a593b1fabff0b (patch) | |
tree | 30d9d8caf53cb1cdac5b1ae1a0fcc0aab2d24e3b /src/main/java/de/torui/coflsky/commands/RawCommand.java | |
parent | 4725394c6e80e857f17c512c49d9181cb7a6c553 (diff) | |
parent | 33d340a59b18361fcd18e73e34f5eced5641655f (diff) | |
download | COFL-4d2b8de15b223b2c9dfe389db36a593b1fabff0b.tar.gz COFL-4d2b8de15b223b2c9dfe389db36a593b1fabff0b.tar.bz2 COFL-4d2b8de15b223b2c9dfe389db36a593b1fabff0b.zip |
Merge pull request #46 from Coflnet/fix/servercommands
initial fix, needs testing!
Diffstat (limited to 'src/main/java/de/torui/coflsky/commands/RawCommand.java')
-rw-r--r-- | src/main/java/de/torui/coflsky/commands/RawCommand.java | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/main/java/de/torui/coflsky/commands/RawCommand.java b/src/main/java/de/torui/coflsky/commands/RawCommand.java new file mode 100644 index 0000000..f2054e8 --- /dev/null +++ b/src/main/java/de/torui/coflsky/commands/RawCommand.java @@ -0,0 +1,33 @@ +package de.torui.coflsky.commands; + +import com.google.gson.annotations.SerializedName; + +public class RawCommand { + @SerializedName("type") + private String Type; + + @SerializedName("data") + private String Data; + + public RawCommand(String type, String data) { + this.Type = type; + this.Data=data; + } + + public String getType() { + return Type; + } + + public void setType(String type) { + Type = type; + } + + public String getData() { + return Data; + } + + public void setData(String data) { + Data = data; + } + +} |