add api to get protocol version (for version check in the future)
This commit is contained in:
@@ -66,6 +66,12 @@ public interface AdaptedPlayer extends Handle, Audience {
|
||||
*/
|
||||
void connect(AdaptedServer server);
|
||||
|
||||
/**
|
||||
* Returns the version this player is running.
|
||||
* @return the version
|
||||
*/
|
||||
int getProtocolVersion();
|
||||
|
||||
/**
|
||||
* Gets the player's username
|
||||
* @return the player's username
|
||||
|
||||
Reference in New Issue
Block a user