|
|
@ -23,7 +23,6 @@ import engine.objects.MobLoot; |
|
|
|
import engine.objects.NPC; |
|
|
|
import engine.objects.NPC; |
|
|
|
import engine.powers.EffectsBase; |
|
|
|
import engine.powers.EffectsBase; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.HashMap; |
|
|
|
|
|
|
|
|
|
|
|
public class ItemProductionMsg extends ClientNetMsg { |
|
|
|
public class ItemProductionMsg extends ClientNetMsg { |
|
|
@ -40,7 +39,6 @@ public class ItemProductionMsg extends ClientNetMsg { |
|
|
|
private static final int ACTION_CONFIRM_TAKE = 11; // Unsure. Sent by client
|
|
|
|
private static final int ACTION_CONFIRM_TAKE = 11; // Unsure. Sent by client
|
|
|
|
private static final int ACTION_CONFIRM_PRODUCE = 8; |
|
|
|
private static final int ACTION_CONFIRM_PRODUCE = 8; |
|
|
|
|
|
|
|
|
|
|
|
private ArrayList<Long> ItemList; |
|
|
|
|
|
|
|
private int size; |
|
|
|
private int size; |
|
|
|
private int buildingUUID; |
|
|
|
private int buildingUUID; |
|
|
|
private int unknown01; |
|
|
|
private int unknown01; |
|
|
@ -458,19 +456,6 @@ public class ItemProductionMsg extends ClientNetMsg { |
|
|
|
return itemType; |
|
|
|
return itemType; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// TODO fix ArrayList Accessability.
|
|
|
|
|
|
|
|
public ArrayList<Long> getItemList() { |
|
|
|
|
|
|
|
return this.ItemList; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setItemList(ArrayList<Long> value) { |
|
|
|
|
|
|
|
this.ItemList = value; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void addItem(Long item) { |
|
|
|
|
|
|
|
this.ItemList.add(item); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int getUnknown01() { |
|
|
|
public int getUnknown01() { |
|
|
|
return unknown01; |
|
|
|
return unknown01; |
|
|
|
} |
|
|
|
} |
|
|
|