api: deprecate getUsername

This commit is contained in:
Adam
2022-03-23 20:14:45 -04:00
parent db96e9dcef
commit bb0b30915d
@@ -164,10 +164,13 @@ public interface Client extends OAuthApi, GameEngine
void stopNow(); void stopNow();
/** /**
* DEPRECATED. See getAccountHash instead.
* Gets the current logged in username. * Gets the current logged in username.
* *
* @return the logged in username * @return the logged in username
* @see OAuthApi#getAccountHash()
*/ */
@Deprecated
String getUsername(); String getUsername();
/** /**