api: deprecate getUsername
This commit is contained in:
@@ -164,10 +164,13 @@ public interface Client extends OAuthApi, GameEngine
|
||||
void stopNow();
|
||||
|
||||
/**
|
||||
* DEPRECATED. See getAccountHash instead.
|
||||
* Gets the current logged in username.
|
||||
*
|
||||
* @return the logged in username
|
||||
* @see OAuthApi#getAccountHash()
|
||||
*/
|
||||
@Deprecated
|
||||
String getUsername();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user