[FIX] Multiple Definion при использовании ProGuard

This commit is contained in:
Gravit 2019-09-05 18:51:48 +07:00
parent 9fdcdfa915
commit a91135835a
No known key found for this signature in database
GPG key ID: 061981E1E85D3216
3 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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;
}

View file

@ -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) {