SharedLootTable

public class SharedLootTable

Need/greed loot pool used by instanced dungeon drops and normal Elite gear earned by a party.

Constructors

Link copied to clipboard
public void SharedLootTable(EliteEntity eliteEntity)
Creates the original dungeon-wide vote pool from the elite's combat contributors.

Types

Link copied to clipboard
public final class LootRollEntry extends Record
Link copied to clipboard
public class PlayerTable

Properties

Link copied to clipboard
public final static HashMap<EliteEntity, SharedLootTable> sharedLootTables

Functions

Link copied to clipboard
public boolean addLoot(ItemStack itemStack)
Link copied to clipboard
public static boolean addPartyLoot(EliteEntity eliteEntity, Player contributor, ItemStack itemStack)
Adds an item to the active party vote.
Link copied to clipboard
public List<ItemStack> getLoot()
Backward-compatible view of every item in this roll session.
public List<SharedLootTable.LootRollEntry> getLoot(Player player)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public static void onPartyMemberLeave(UUID partyId, UUID playerId)
Removes a leaver only from their former party vote, preserving unrelated dungeon votes.
Link copied to clipboard
public static void onPlayerQuit(UUID playerId)
Link copied to clipboard
public static void shutdown()