add api to get protocol version (for version check in the future)

This commit is contained in:
ajgeiss0702
2021-08-25 13:56:23 -07:00
parent 1125dbeb85
commit 72e5c86629
3 changed files with 16 additions and 0 deletions
@@ -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