project: add missing features (#2951)
* client: add stuff client: add stuff * mixins * Update XpDropEvent.java * Update EntityHiderBridgeMixin.java * would help if I uploaded the right files would help if I uploaded the right files
This commit is contained in:
@@ -1637,6 +1637,63 @@ public interface Client extends GameEngine
|
||||
*/
|
||||
void setHideSpecificPlayers(List<String> names);
|
||||
|
||||
/**
|
||||
* Get the list of NPC indices that are currently hidden
|
||||
*
|
||||
* @return all of the current hidden NPC Indices
|
||||
*/
|
||||
List<Integer> getHiddenNpcIndices();
|
||||
|
||||
/**
|
||||
* If an NPC index is in this List then do not render it
|
||||
*
|
||||
* @param npcIndices the npc indices to hide
|
||||
*/
|
||||
void setHiddenNpcIndices(List<Integer> npcIndices);
|
||||
|
||||
/**
|
||||
* Increments the counter for how many times this npc has been selected to be hidden on death
|
||||
*
|
||||
* @param name npc name
|
||||
*/
|
||||
void addHiddenNpcDeath(String name);
|
||||
|
||||
/**
|
||||
* Decrements the counter for how many times this npc has been selected to be hidden on death
|
||||
*
|
||||
* @param name npc name
|
||||
*/
|
||||
void removeHiddenNpcDeath(String name);
|
||||
|
||||
/**
|
||||
* Increments the counter for how many times this npc has been selected to be hidden
|
||||
*
|
||||
* @param name npc name
|
||||
*/
|
||||
void addHiddenNpcName(String name);
|
||||
|
||||
/**
|
||||
* Decrements the counter for how many times this npc has been selected to be hidden
|
||||
*
|
||||
* @param name npc name
|
||||
*/
|
||||
void removeHiddenNpcName(String name);
|
||||
|
||||
/**
|
||||
* Sets whether or not other players are hidden.
|
||||
*
|
||||
* @param state the new player hidden state
|
||||
*/
|
||||
void setPlayersHidden(boolean state);
|
||||
|
||||
/**
|
||||
* Sets whether 2D sprites (ie. overhead prayers, PK skull) related to
|
||||
* the other players are hidden.
|
||||
*
|
||||
* @param state the new player 2D hidden state
|
||||
*/
|
||||
void setPlayersHidden2D(boolean state);
|
||||
|
||||
/**
|
||||
* Sets whether projectiles are hidden.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user