2014-03-01 19:47:32 -05:00
|
|
|
package org.spacehq.mc.protocol;
|
2013-12-14 19:40:30 -05:00
|
|
|
|
|
|
|
public class ProtocolConstants {
|
|
|
|
|
|
|
|
// General Constants
|
2014-09-02 19:06:23 -04:00
|
|
|
public static final String GAME_VERSION = "1.8";
|
|
|
|
public static final int PROTOCOL_VERSION = 47;
|
2014-03-01 19:47:32 -05:00
|
|
|
|
2014-10-12 20:34:11 -04:00
|
|
|
// General Key Constants
|
2014-03-22 15:02:16 -04:00
|
|
|
public static final String PROFILE_KEY = "profile";
|
2014-10-12 20:34:11 -04:00
|
|
|
|
|
|
|
// Client Key Constants
|
2014-03-22 15:02:16 -04:00
|
|
|
public static final String ACCESS_TOKEN_KEY = "access-token";
|
2013-12-14 19:40:30 -05:00
|
|
|
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
|
|
|
|
2013-12-14 19:40:30 -05: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";
|
2014-10-12 20:34:11 -04:00
|
|
|
public static final String PING_KEY = "ping";
|
2014-07-16 15:46:41 -04:00
|
|
|
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
|
|
|
}
|