mirror of
https://github.com/BlueMap-Minecraft/BlueMapAPI.git
synced 2025-01-21 07:11:21 +01:00
Add method to get the current player-visibillity setting
This commit is contained in:
parent
4831537059
commit
3bbf92965d
@ -51,6 +51,13 @@ public interface WebApp {
|
||||
*/
|
||||
void setPlayerVisibility(UUID player, boolean visible);
|
||||
|
||||
/**
|
||||
* Returns <code>true</code> if the given player is currently visible on the web-app.
|
||||
* @see #setPlayerVisibility(UUID, boolean)
|
||||
* @param player the UUID of the player
|
||||
*/
|
||||
boolean getPlayerVisibility(UUID player);
|
||||
|
||||
/**
|
||||
* Creates an image-file with the given {@link BufferedImage} somewhere in the web-root, so it can be used in the web-app (e.g. for {@link Marker}-icons).
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user