mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-03 23:11:57 +03:00
20 lines
539 B
Java
20 lines
539 B
Java
package pro.gravit.launcher.events;
|
|
|
|
import pro.gravit.launcher.LauncherNetworkAPI;
|
|
import pro.gravit.launcher.request.WebSocketEvent;
|
|
|
|
//Используется, что бы послать короткое сообщение, которое вмещается в int
|
|
@Deprecated
|
|
public class SignalEvent implements WebSocketEvent {
|
|
@LauncherNetworkAPI
|
|
public final int signal;
|
|
|
|
public SignalEvent(int signal) {
|
|
this.signal = signal;
|
|
}
|
|
|
|
@Override
|
|
public String getType() {
|
|
return "signal";
|
|
}
|
|
}
|