aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net
diff options
context:
space:
mode:
authorsyeyoung <42869671+cyoung06@users.noreply.github.com>2021-05-04 11:59:09 +0900
committerGitHub <noreply@github.com>2021-05-04 11:59:09 +0900
commit031d1803f0abe485dac3f6d07206cc8501421505 (patch)
tree1dea05d845ba0834ae8d117db9fa4980b1872402 /src/main/java/net
parent6e3fae6c448c1443a1658f0803083fe95f6c2a52 (diff)
parent9d4c8a2f567f9cded9838ee57e1fe63d36ac8c8d (diff)
downloadSkyblock-Dungeons-Guide-031d1803f0abe485dac3f6d07206cc8501421505.tar.gz
Skyblock-Dungeons-Guide-031d1803f0abe485dac3f6d07206cc8501421505.tar.bz2
Skyblock-Dungeons-Guide-031d1803f0abe485dac3f6d07206cc8501421505.zip
Merge pull request #3 from My-Name-Is-Jeff/master
Add copyright header and code cleanup
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/arikia/dev/drpc/DiscordEventHandlers.java18
-rw-r--r--src/main/java/net/arikia/dev/drpc/DiscordRPC.java18
-rw-r--r--src/main/java/net/arikia/dev/drpc/DiscordRichPresence.java20
-rw-r--r--src/main/java/net/arikia/dev/drpc/DiscordUser.java18
-rw-r--r--src/main/java/net/arikia/dev/drpc/OSUtil.java18
-rw-r--r--src/main/java/net/arikia/dev/drpc/callbacks/DisconnectedCallback.java18
-rw-r--r--src/main/java/net/arikia/dev/drpc/callbacks/ErroredCallback.java18
-rw-r--r--src/main/java/net/arikia/dev/drpc/callbacks/JoinGameCallback.java18
-rw-r--r--src/main/java/net/arikia/dev/drpc/callbacks/JoinRequestCallback.java18
-rw-r--r--src/main/java/net/arikia/dev/drpc/callbacks/ReadyCallback.java18
-rw-r--r--src/main/java/net/arikia/dev/drpc/callbacks/SpectateGameCallback.java18
11 files changed, 199 insertions, 1 deletions
diff --git a/src/main/java/net/arikia/dev/drpc/DiscordEventHandlers.java b/src/main/java/net/arikia/dev/drpc/DiscordEventHandlers.java
index 3e5ccbbd..ab2ae8aa 100644
--- a/src/main/java/net/arikia/dev/drpc/DiscordEventHandlers.java
+++ b/src/main/java/net/arikia/dev/drpc/DiscordEventHandlers.java
@@ -1,3 +1,21 @@
+/*
+ * Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod
+ * Copyright (C) 2021 cyoung06
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
package net.arikia.dev.drpc;
import com.sun.jna.Structure;
diff --git a/src/main/java/net/arikia/dev/drpc/DiscordRPC.java b/src/main/java/net/arikia/dev/drpc/DiscordRPC.java
index 76321595..8424edd8 100644
--- a/src/main/java/net/arikia/dev/drpc/DiscordRPC.java
+++ b/src/main/java/net/arikia/dev/drpc/DiscordRPC.java
@@ -1,3 +1,21 @@
+/*
+ * Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod
+ * Copyright (C) 2021 cyoung06
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
package net.arikia.dev.drpc;
import com.sun.jna.Library;
diff --git a/src/main/java/net/arikia/dev/drpc/DiscordRichPresence.java b/src/main/java/net/arikia/dev/drpc/DiscordRichPresence.java
index 6de7397b..64a89f7c 100644
--- a/src/main/java/net/arikia/dev/drpc/DiscordRichPresence.java
+++ b/src/main/java/net/arikia/dev/drpc/DiscordRichPresence.java
@@ -1,3 +1,21 @@
+/*
+ * Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod
+ * Copyright (C) 2021 cyoung06
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
package net.arikia.dev.drpc;
import com.sun.jna.Structure;
@@ -81,7 +99,7 @@ public class DiscordRichPresence extends Structure {
*/
public static class Builder {
- private DiscordRichPresence p;
+ private final DiscordRichPresence p;
/**
* Initiates a new instance of the Presence builder.
diff --git a/src/main/java/net/arikia/dev/drpc/DiscordUser.java b/src/main/java/net/arikia/dev/drpc/DiscordUser.java
index 7c735393..3693a3d7 100644
--- a/src/main/java/net/arikia/dev/drpc/DiscordUser.java
+++ b/src/main/java/net/arikia/dev/drpc/DiscordUser.java
@@ -1,3 +1,21 @@
+/*
+ * Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod
+ * Copyright (C) 2021 cyoung06
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
package net.arikia.dev.drpc;
import com.sun.jna.Structure;
diff --git a/src/main/java/net/arikia/dev/drpc/OSUtil.java b/src/main/java/net/arikia/dev/drpc/OSUtil.java
index 74ca35c6..de3d9e4b 100644
--- a/src/main/java/net/arikia/dev/drpc/OSUtil.java
+++ b/src/main/java/net/arikia/dev/drpc/OSUtil.java
@@ -1,3 +1,21 @@
+/*
+ * Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod
+ * Copyright (C) 2021 cyoung06
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
package net.arikia.dev.drpc;
/**
diff --git a/src/main/java/net/arikia/dev/drpc/callbacks/DisconnectedCallback.java b/src/main/java/net/arikia/dev/drpc/callbacks/DisconnectedCallback.java
index ccc11a24..367e1878 100644
--- a/src/main/java/net/arikia/dev/drpc/callbacks/DisconnectedCallback.java
+++ b/src/main/java/net/arikia/dev/drpc/callbacks/DisconnectedCallback.java
@@ -1,3 +1,21 @@
+/*
+ * Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod
+ * Copyright (C) 2021 cyoung06
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
package net.arikia.dev.drpc.callbacks;
import com.sun.jna.Callback;
diff --git a/src/main/java/net/arikia/dev/drpc/callbacks/ErroredCallback.java b/src/main/java/net/arikia/dev/drpc/callbacks/ErroredCallback.java
index f5d736d7..8cf3d387 100644
--- a/src/main/java/net/arikia/dev/drpc/callbacks/ErroredCallback.java
+++ b/src/main/java/net/arikia/dev/drpc/callbacks/ErroredCallback.java
@@ -1,3 +1,21 @@
+/*
+ * Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod
+ * Copyright (C) 2021 cyoung06
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
package net.arikia.dev.drpc.callbacks;
import com.sun.jna.Callback;
diff --git a/src/main/java/net/arikia/dev/drpc/callbacks/JoinGameCallback.java b/src/main/java/net/arikia/dev/drpc/callbacks/JoinGameCallback.java
index c4e865db..42b944e8 100644
--- a/src/main/java/net/arikia/dev/drpc/callbacks/JoinGameCallback.java
+++ b/src/main/java/net/arikia/dev/drpc/callbacks/JoinGameCallback.java
@@ -1,3 +1,21 @@
+/*
+ * Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod
+ * Copyright (C) 2021 cyoung06
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
package net.arikia.dev.drpc.callbacks;
import com.sun.jna.Callback;
diff --git a/src/main/java/net/arikia/dev/drpc/callbacks/JoinRequestCallback.java b/src/main/java/net/arikia/dev/drpc/callbacks/JoinRequestCallback.java
index ddcc9614..01ec5a7d 100644
--- a/src/main/java/net/arikia/dev/drpc/callbacks/JoinRequestCallback.java
+++ b/src/main/java/net/arikia/dev/drpc/callbacks/JoinRequestCallback.java
@@ -1,3 +1,21 @@
+/*
+ * Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod
+ * Copyright (C) 2021 cyoung06
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
package net.arikia.dev.drpc.callbacks;
import com.sun.jna.Callback;
diff --git a/src/main/java/net/arikia/dev/drpc/callbacks/ReadyCallback.java b/src/main/java/net/arikia/dev/drpc/callbacks/ReadyCallback.java
index 292ce2fd..be54c8d7 100644
--- a/src/main/java/net/arikia/dev/drpc/callbacks/ReadyCallback.java
+++ b/src/main/java/net/arikia/dev/drpc/callbacks/ReadyCallback.java
@@ -1,3 +1,21 @@
+/*
+ * Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod
+ * Copyright (C) 2021 cyoung06
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
package net.arikia.dev.drpc.callbacks;
import com.sun.jna.Callback;
diff --git a/src/main/java/net/arikia/dev/drpc/callbacks/SpectateGameCallback.java b/src/main/java/net/arikia/dev/drpc/callbacks/SpectateGameCallback.java
index 28af7329..a3f8d23b 100644
--- a/src/main/java/net/arikia/dev/drpc/callbacks/SpectateGameCallback.java
+++ b/src/main/java/net/arikia/dev/drpc/callbacks/SpectateGameCallback.java
@@ -1,3 +1,21 @@
+/*
+ * Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod
+ * Copyright (C) 2021 cyoung06
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
package net.arikia.dev.drpc.callbacks;
import com.sun.jna.Callback;