Added destroy item widgets
This commit is contained in:
@@ -101,6 +101,7 @@ public class WidgetID
|
|||||||
public static final int MTA_GRAVEYARD_GROUP_ID = 196;
|
public static final int MTA_GRAVEYARD_GROUP_ID = 196;
|
||||||
public static final int MTA_TELEKINETIC_GROUP_ID = 198;
|
public static final int MTA_TELEKINETIC_GROUP_ID = 198;
|
||||||
public static final int CORP_DAMAGE = 13;
|
public static final int CORP_DAMAGE = 13;
|
||||||
|
public static final int DESTROY_ITEM_GROUP_ID = 584;
|
||||||
|
|
||||||
static class WorldMap
|
static class WorldMap
|
||||||
{
|
{
|
||||||
@@ -518,4 +519,11 @@ public class WidgetID
|
|||||||
static final int BONUS_COMPONENT = 7;
|
static final int BONUS_COMPONENT = 7;
|
||||||
static final int BONUS_TEXT_COMPONENT = 12;
|
static final int BONUS_TEXT_COMPONENT = 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static class DestroyItem
|
||||||
|
{
|
||||||
|
static final int DESTROY_ITEM_NAME = 6;
|
||||||
|
static final int DESTROY_ITEM_YES = 1;
|
||||||
|
static final int DESTROY_ITEM_NO = 3;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -331,7 +331,12 @@ public enum WidgetInfo
|
|||||||
BLAST_MINE(WidgetID.BLAST_MINE_GROUP_ID, 0),
|
BLAST_MINE(WidgetID.BLAST_MINE_GROUP_ID, 0),
|
||||||
|
|
||||||
MTA_ENCHANTMENT_BONUS_TEXT(WidgetID.MTA_ENCHANTMENT_GROUP_ID, WidgetID.MTA.BONUS_TEXT_COMPONENT),
|
MTA_ENCHANTMENT_BONUS_TEXT(WidgetID.MTA_ENCHANTMENT_GROUP_ID, WidgetID.MTA.BONUS_TEXT_COMPONENT),
|
||||||
MTA_ENCHANTMENT_BONUS(WidgetID.MTA_ENCHANTMENT_GROUP_ID, WidgetID.MTA.BONUS_COMPONENT);
|
MTA_ENCHANTMENT_BONUS(WidgetID.MTA_ENCHANTMENT_GROUP_ID, WidgetID.MTA.BONUS_COMPONENT),
|
||||||
|
|
||||||
|
DESTROY_ITEM(WidgetID.DESTROY_ITEM_GROUP_ID, 0),
|
||||||
|
DESTROY_ITEM_NAME(WidgetID.DESTROY_ITEM_GROUP_ID, WidgetID.DestroyItem.DESTROY_ITEM_NAME),
|
||||||
|
DESTROY_ITEM_YES(WidgetID.DESTROY_ITEM_GROUP_ID, WidgetID.DestroyItem.DESTROY_ITEM_YES),
|
||||||
|
DESTROY_ITEM_NO(WidgetID.DESTROY_ITEM_GROUP_ID, WidgetID.DestroyItem.DESTROY_ITEM_NO);
|
||||||
|
|
||||||
private final int groupId;
|
private final int groupId;
|
||||||
private final int childId;
|
private final int childId;
|
||||||
|
|||||||
Reference in New Issue
Block a user