Added handling for looting and loot master setting, however the makeMasterLooter command is not being seen by holocore

This commit is contained in:
Skyler Lehan
2016-05-30 19:54:48 -04:00
parent d417b446d6
commit 124bb68220
4 changed files with 60 additions and 3 deletions
@@ -53,6 +53,10 @@ public class GroupObject extends SWGObject { // Extends INTO or TANO?
private short level;
private long lootMaster;
private int lootRule;
public static final int LOOT_FREE_FOR_ALL = 1;
public static final int LOOT_LOTTERY = 2;
public static final int LOOT_MASTER = 3;
private transient PickupPointTimer pickupPointTimer;
@@ -181,6 +185,8 @@ public class GroupObject extends SWGObject { // Extends INTO or TANO?
this.lootRule = lootRule;
sendDelta(6, 8, lootRule);
}
public boolean isFull() { return groupMembers.size() == 9; }
public Map<String, Long> getGroupMembers() {
Map<String, Long> members = new HashMap<>();