From 558ad30e24c57d3ed0a4dcadb32523a649573cb2 Mon Sep 17 00:00:00 2001 From: Gravit Date: Wed, 3 Apr 2019 23:02:01 +0700 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=A4=D0=B8=D0=BA=D1=81=20=D0=BD=D0=B5?= =?UTF-8?q?=D0=BA=D0=BE=D1=82=D0=BE=D1=80=D1=8B=D1=85=20RequestEvent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ru/gravit/launcher/events/request/ErrorRequestEvent.java | 3 ++- .../launcher/events/request/ExecCommandRequestEvent.java | 3 ++- .../gravit/launcher/events/request/JoinServerRequestEvent.java | 3 ++- .../main/java/ru/gravit/launcher/events/request/LogEvent.java | 3 ++- .../gravit/launcher/events/request/SetProfileRequestEvent.java | 2 ++ 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/libLauncher/src/main/java/ru/gravit/launcher/events/request/ErrorRequestEvent.java b/libLauncher/src/main/java/ru/gravit/launcher/events/request/ErrorRequestEvent.java index 2aa2a89b..d2e8b06b 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/events/request/ErrorRequestEvent.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/events/request/ErrorRequestEvent.java @@ -1,5 +1,6 @@ package ru.gravit.launcher.events.request; +import ru.gravit.launcher.LauncherNetworkAPI; import ru.gravit.launcher.request.ResultInterface; import ru.gravit.utils.event.EventInterface; @@ -11,7 +12,7 @@ public class ErrorRequestEvent implements ResultInterface, EventInterface { public ErrorRequestEvent(String error) { this.error = error; } - + @LauncherNetworkAPI public final String error; @Override diff --git a/libLauncher/src/main/java/ru/gravit/launcher/events/request/ExecCommandRequestEvent.java b/libLauncher/src/main/java/ru/gravit/launcher/events/request/ExecCommandRequestEvent.java index c5592d04..8cc33688 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/events/request/ExecCommandRequestEvent.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/events/request/ExecCommandRequestEvent.java @@ -1,5 +1,6 @@ package ru.gravit.launcher.events.request; +import ru.gravit.launcher.LauncherNetworkAPI; import ru.gravit.launcher.request.ResultInterface; public class ExecCommandRequestEvent implements ResultInterface { @@ -7,7 +8,7 @@ public class ExecCommandRequestEvent implements ResultInterface { public String getType() { return "execCmd"; } - + @LauncherNetworkAPI boolean success; public ExecCommandRequestEvent(boolean success) { diff --git a/libLauncher/src/main/java/ru/gravit/launcher/events/request/JoinServerRequestEvent.java b/libLauncher/src/main/java/ru/gravit/launcher/events/request/JoinServerRequestEvent.java index 97b6ade7..95483d07 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/events/request/JoinServerRequestEvent.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/events/request/JoinServerRequestEvent.java @@ -1,5 +1,6 @@ package ru.gravit.launcher.events.request; +import ru.gravit.launcher.LauncherNetworkAPI; import ru.gravit.launcher.request.ResultInterface; import ru.gravit.utils.event.EventInterface; @@ -11,7 +12,7 @@ public class JoinServerRequestEvent implements EventInterface, ResultInterface { public JoinServerRequestEvent(boolean allow) { this.allow = allow; } - + @LauncherNetworkAPI public boolean allow; @Override diff --git a/libLauncher/src/main/java/ru/gravit/launcher/events/request/LogEvent.java b/libLauncher/src/main/java/ru/gravit/launcher/events/request/LogEvent.java index 629e7aa4..a4de064c 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/events/request/LogEvent.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/events/request/LogEvent.java @@ -1,5 +1,6 @@ package ru.gravit.launcher.events.request; +import ru.gravit.launcher.LauncherNetworkAPI; import ru.gravit.launcher.request.ResultInterface; public class LogEvent implements ResultInterface { @@ -7,7 +8,7 @@ public class LogEvent implements ResultInterface { public String getType() { return "log"; } - + @LauncherNetworkAPI public String string; public LogEvent(String string) { diff --git a/libLauncher/src/main/java/ru/gravit/launcher/events/request/SetProfileRequestEvent.java b/libLauncher/src/main/java/ru/gravit/launcher/events/request/SetProfileRequestEvent.java index 5a0ba168..2983d696 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/events/request/SetProfileRequestEvent.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/events/request/SetProfileRequestEvent.java @@ -1,5 +1,6 @@ package ru.gravit.launcher.events.request; +import ru.gravit.launcher.LauncherNetworkAPI; import ru.gravit.launcher.profiles.ClientProfile; import ru.gravit.launcher.request.ResultInterface; import ru.gravit.utils.event.EventInterface; @@ -8,6 +9,7 @@ public class SetProfileRequestEvent implements ResultInterface, EventInterface { private static final UUID uuid = UUID.fromString("08c0de9e-4364-4152-9066-8354a3a48541"); + @LauncherNetworkAPI public ClientProfile newProfile; public SetProfileRequestEvent(ClientProfile newProfile) {