mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +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;
|
||||
|
||||
import pro.gravit.launcher.LauncherNetworkAPI;
|
||||
|
||||
public class ExceptionEvent extends RequestEvent {
|
||||
public ExceptionEvent(Exception e) {
|
||||
this.message = e.getMessage();
|
||||
this.clazz = e.getClass().getName();
|
||||
}
|
||||
|
||||
@LauncherNetworkAPI
|
||||
public final String message;
|
||||
@LauncherNetworkAPI
|
||||
public final String clazz;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,8 +2,10 @@
|
|||
|
||||
import java.util.UUID;
|
||||
|
||||
import pro.gravit.launcher.LauncherNetworkAPI;
|
||||
import pro.gravit.launcher.request.WebSocketEvent;
|
||||
|
||||
public abstract class RequestEvent implements WebSocketEvent {
|
||||
@LauncherNetworkAPI
|
||||
public UUID requestUUID;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
package pro.gravit.launcher.events;
|
||||
|
||||
import pro.gravit.launcher.LauncherNetworkAPI;
|
||||
|
||||
//Используется, что бы послать короткое сообщение, которое вмещается в int
|
||||
public class SignalEvent {
|
||||
@LauncherNetworkAPI
|
||||
public int signal;
|
||||
|
||||
public SignalEvent(int signal) {
|
||||
|
|
Loading…
Reference in a new issue