mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-30 02:37:34 +02:00
@ -5,7 +5,7 @@ import com.google.common.io.ByteArrayDataOutput;
|
|||||||
|
|
||||||
public class ChangePremiumMessage implements ChannelMessage {
|
public class ChangePremiumMessage implements ChannelMessage {
|
||||||
|
|
||||||
public static final String CHANGE_CHANNEL = "ch-status";
|
public static final String CHANGE_CHANNEL = "ch-st";
|
||||||
|
|
||||||
private String playerName;
|
private String playerName;
|
||||||
private boolean willEnable;
|
private boolean willEnable;
|
||||||
|
@ -7,7 +7,7 @@ import java.util.UUID;
|
|||||||
|
|
||||||
public class LoginActionMessage implements ChannelMessage {
|
public class LoginActionMessage implements ChannelMessage {
|
||||||
|
|
||||||
public static final String FORCE_CHANNEL = "force-act";
|
public static final String FORCE_CHANNEL = "force";
|
||||||
|
|
||||||
private Type type;
|
private Type type;
|
||||||
|
|
||||||
|
@ -2,6 +2,8 @@ package com.github.games647.fastlogin.core.message;
|
|||||||
|
|
||||||
public class NamespaceKey {
|
public class NamespaceKey {
|
||||||
|
|
||||||
|
private static final char SEPARATOR_CHAR = ':';
|
||||||
|
|
||||||
private final String namespace;
|
private final String namespace;
|
||||||
private final String key;
|
private final String key;
|
||||||
|
|
||||||
@ -11,7 +13,7 @@ public class NamespaceKey {
|
|||||||
this.namespace = namespace.toLowerCase();
|
this.namespace = namespace.toLowerCase();
|
||||||
this.key = key.toLowerCase();
|
this.key = key.toLowerCase();
|
||||||
|
|
||||||
this.combined = this.namespace + ':' + this.key;
|
this.combined = this.namespace + SEPARATOR_CHAR + this.key;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getCombinedName() {
|
public String getCombinedName() {
|
||||||
|
@ -5,7 +5,7 @@ import com.google.common.io.ByteArrayDataOutput;
|
|||||||
|
|
||||||
public class SuccessMessage implements ChannelMessage {
|
public class SuccessMessage implements ChannelMessage {
|
||||||
|
|
||||||
public static final String SUCCESS_CHANNEL = "success";
|
public static final String SUCCESS_CHANNEL = "succ";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getChannelName() {
|
public String getChannelName() {
|
||||||
|
Reference in New Issue
Block a user