xpdrop plugin: use script events instead of widget hidden
This also uses the default color enum to assign default xpdrop colors instead of using our hardcoded enum.
This commit is contained in:
@@ -33,4 +33,5 @@ public final class EnumID
|
||||
{
|
||||
public static final int MUSIC_TRACK_NAMES = 812;
|
||||
public static final int MUSIC_TRACK_IDS = 819;
|
||||
public static final int XPDROP_COLORS = 1169;
|
||||
}
|
||||
|
||||
@@ -275,4 +275,13 @@ public final class ScriptID
|
||||
*/
|
||||
@ScriptArguments(integer = 2)
|
||||
public static final int TOPLEVEL_REDRAW = 907;
|
||||
|
||||
/**
|
||||
* Called to set position of an xpdrop text and sprite(s)
|
||||
* <ul>
|
||||
* <li> XP drop parent component </li>
|
||||
* </ul>
|
||||
*/
|
||||
@ScriptArguments(integer = 4, string = 1)
|
||||
public static final int XPDROPS_SETDROPSIZE = 996;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user