mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FIX] Multiple Definion при использовании ProGuard
This commit is contained in:
parent
9fdcdfa915
commit
a91135835a
3 changed files with 9 additions and 1 deletions
|
@ -1,12 +1,15 @@
|
||||||
package pro.gravit.launcher.events;
|
package pro.gravit.launcher.events;
|
||||||
|
|
||||||
|
import pro.gravit.launcher.LauncherNetworkAPI;
|
||||||
|
|
||||||
public class ExceptionEvent extends RequestEvent {
|
public class ExceptionEvent extends RequestEvent {
|
||||||
public ExceptionEvent(Exception e) {
|
public ExceptionEvent(Exception e) {
|
||||||
this.message = e.getMessage();
|
this.message = e.getMessage();
|
||||||
this.clazz = e.getClass().getName();
|
this.clazz = e.getClass().getName();
|
||||||
}
|
}
|
||||||
|
@LauncherNetworkAPI
|
||||||
public final String message;
|
public final String message;
|
||||||
|
@LauncherNetworkAPI
|
||||||
public final String clazz;
|
public final String clazz;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
|
import pro.gravit.launcher.LauncherNetworkAPI;
|
||||||
import pro.gravit.launcher.request.WebSocketEvent;
|
import pro.gravit.launcher.request.WebSocketEvent;
|
||||||
|
|
||||||
public abstract class RequestEvent implements WebSocketEvent {
|
public abstract class RequestEvent implements WebSocketEvent {
|
||||||
|
@LauncherNetworkAPI
|
||||||
public UUID requestUUID;
|
public UUID requestUUID;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
package pro.gravit.launcher.events;
|
package pro.gravit.launcher.events;
|
||||||
|
|
||||||
|
import pro.gravit.launcher.LauncherNetworkAPI;
|
||||||
|
|
||||||
//Используется, что бы послать короткое сообщение, которое вмещается в int
|
//Используется, что бы послать короткое сообщение, которое вмещается в int
|
||||||
public class SignalEvent {
|
public class SignalEvent {
|
||||||
|
@LauncherNetworkAPI
|
||||||
public int signal;
|
public int signal;
|
||||||
|
|
||||||
public SignalEvent(int signal) {
|
public SignalEvent(int signal) {
|
||||||
|
|
Loading…
Reference in a new issue