entity hider: add option to hide ignored players

This is diabled in pvp to avoid abuse. This additionally allows the
"hide" options to be set without hiding others now.
This commit is contained in:
Adam
2021-02-13 09:50:12 -05:00
parent 5545b9d0ad
commit 77757229a5
3 changed files with 45 additions and 48 deletions

View File

@@ -1475,7 +1475,7 @@ public interface Client extends GameEngine
*
* @param state the new player hidden state
*/
void setPlayersHidden(boolean state);
void setOthersHidden(boolean state);
/**
* Sets whether 2D sprites related to the other players are hidden.
@@ -1483,7 +1483,7 @@ public interface Client extends GameEngine
*
* @param state the new player 2D hidden state
*/
void setPlayersHidden2D(boolean state);
void setOthersHidden2D(boolean state);
/**
* Sets whether or not friends are hidden.
@@ -1499,6 +1499,13 @@ public interface Client extends GameEngine
*/
void setFriendsChatMembersHidden(boolean state);
/**
* Sets whether or not ignored players are hidden.
*
* @param state the new ignored player hidden state
*/
void setIgnoresHidden(boolean state);
/**
* Sets whether the local player is hidden.
*