aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/mondecitronne/homunculus/GameProfileFetcher.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/mondecitronne/homunculus/GameProfileFetcher.java')
-rw-r--r--src/main/java/com/mondecitronne/homunculus/GameProfileFetcher.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/main/java/com/mondecitronne/homunculus/GameProfileFetcher.java b/src/main/java/com/mondecitronne/homunculus/GameProfileFetcher.java
new file mode 100644
index 0000000..8591635
--- /dev/null
+++ b/src/main/java/com/mondecitronne/homunculus/GameProfileFetcher.java
@@ -0,0 +1,26 @@
+package com.mondecitronne.homunculus;
+
+import javax.annotation.Nullable;
+import com.mojang.authlib.GameProfile;
+
+public class GameProfileFetcher {
+ @Nullable
+ private GameProfile profile;
+
+ public static void initProfileCache() {
+ }
+
+ public GameProfileFetcher(GameProfile profileIn) {
+ dispatchFetchProfile(profileIn);
+ }
+
+ @Nullable
+ public GameProfile getGameProfile() {
+ synchronized (this) {
+ return profile;
+ }
+ }
+
+ private static void dispatchFetchProfile(GameProfile profileIn) {
+ }
+}