2014-03-01 19:47:32 -05:00
|
|
|
package org.spacehq.mc.protocol;
|
2013-12-14 19:40:30 -05:00
|
|
|
|
|
|
|
public class ProtocolConstants {
|
|
|
|
|
2015-07-20 14:01:13 -04:00
|
|
|
// General Constants
|
2015-07-20 15:26:36 -04:00
|
|
|
public static final String GAME_VERSION = "1.8.7";
|
2015-07-20 14:01:13 -04:00
|
|
|
public static final int PROTOCOL_VERSION = 47;
|
2014-03-01 19:47:32 -05:00
|
|
|
|
2015-07-20 14:01:13 -04:00
|
|
|
// General Key Constants
|
|
|
|
public static final String PROFILE_KEY = "profile";
|
|
|
|
public static final String AUTH_PROXY_KEY = "auth-proxy";
|
2014-10-12 20:34:11 -04:00
|
|
|
|
2015-07-20 14:01:13 -04:00
|
|
|
// Client Key Constants
|
|
|
|
public static final String ACCESS_TOKEN_KEY = "access-token";
|
|
|
|
public static final String SERVER_INFO_HANDLER_KEY = "server-info-handler";
|
|
|
|
public static final String SERVER_PING_TIME_HANDLER_KEY = "server-ping-time-handler";
|
2014-03-01 19:47:32 -05:00
|
|
|
|
2015-07-20 14:01:13 -04:00
|
|
|
// Server Key Constants
|
|
|
|
public static final String VERIFY_USERS_KEY = "verify-users";
|
|
|
|
public static final String SERVER_INFO_BUILDER_KEY = "info-builder";
|
|
|
|
public static final String SERVER_LOGIN_HANDLER_KEY = "login-handler";
|
|
|
|
public static final String PING_KEY = "ping";
|
|
|
|
public static final String SERVER_COMPRESSION_THRESHOLD = "compression-threshold";
|
2014-03-01 19:47:32 -05:00
|
|
|
|
2013-12-14 19:40:30 -05:00
|
|
|
}
|