api: deprecate getUsername

This commit is contained in:
Adam
2022-03-21 19:35:35 -04:00
parent db96e9dcef
commit bb0b30915d

View File

@@ -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();
/** /**