add getVarbitCount and warn instead of throw when varb doesnt exist

This commit is contained in:
Lucwousin
2020-06-29 02:08:26 +02:00
parent 934fad63b5
commit 2d9c26387a
4 changed files with 22 additions and 1 deletions

View File

@@ -809,6 +809,11 @@ public interface Client extends GameShell
*/
void setVarbitValue(int[] varps, int varbit, int value);
/**
* @return the total number of VarbitDefinition
*/
int getVarbitCount();
/**
* Gets the widget flags table.
*