npchider: change method by which npcs are hidden by name (#1573)
* npchider: change method by which npcs are hidden by name * fix bug on client startup/shutdown where nothing gets hidden * entityhider: change method by which npcs are hidden on death
This commit is contained in:
@@ -1464,18 +1464,46 @@ public interface Client extends GameShell
|
||||
void setNPCsHidden(boolean state);
|
||||
|
||||
/**
|
||||
* Sets which NPCs are hidden
|
||||
* Increments the counter for how many times this npc has been selected to be hidden
|
||||
*
|
||||
* @param names the names of the npcs
|
||||
* @param name npc name
|
||||
*/
|
||||
void setNPCsNames(List<String> names);
|
||||
void addHiddenNpcName(String name);
|
||||
|
||||
/**
|
||||
* Sets which NPCs are hidden on death
|
||||
* Decrements the counter for how many times this npc has been selected to be hidden
|
||||
*
|
||||
* @param names the names of the npcs
|
||||
* @param name npc name
|
||||
*/
|
||||
void setNPCsHiddenOnDeath(List<String> names);
|
||||
void removeHiddenNpcName(String name);
|
||||
|
||||
/**
|
||||
* Forcibly unhides an npc by setting its counter to zero
|
||||
*
|
||||
* @param name npc name
|
||||
*/
|
||||
void forciblyUnhideNpcName(String name);
|
||||
|
||||
/**
|
||||
* 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);
|
||||
|
||||
/**
|
||||
* Forcibly unhides a hidden-while-dead npc by setting its counter to zero
|
||||
*
|
||||
* @param name npc name
|
||||
*/
|
||||
void forciblyUnhideNpcDeath(String name);
|
||||
|
||||
/**
|
||||
* Sets whether 2D sprites (ie. overhead prayers) related to
|
||||
|
||||
Reference in New Issue
Block a user