Variables

ASSIGN_LABEL

static private var ASSIGN_LABEL: String

ASSIGN_ITEM_TO

static private var ASSIGN_ITEM_TO: String

RIGHT_CLICK_MOUSE_OFFSET

static private var RIGHT_CLICK_MOUSE_OFFSET: Number

m_Padding

static private var m_Padding: Number

SignalLootWindowClosed

public var SignalLootWindowClosed: Signal

m_Inventory

private var m_Inventory: Inventory

m_ItemSlots

private var m_ItemSlots: Array

m_LootBagMC

private var m_LootBagMC: MovieClip

m_LootbagBackground

private var m_LootbagBackground: MovieClip

m_CloseButton

private var m_CloseButton: MovieClip

m_RightClickMenu

private var m_RightClickMenu: MovieClip

m_NumLootItemsPerLine

private var m_NumLootItemsPerLine: Number

m_LootbagPadding

private var m_LootbagPadding: Number

m_LootItemsPadding

private var m_LootItemsPadding: Number

m_RightClickSelectedItemSlot

private var m_RightClickSelectedItemSlot: ItemSlot

m_CharactersToLoot

private var m_CharactersToLoot: Array

m_MasterLooterConfirmDialog

private var m_MasterLooterConfirmDialog: DialogIF

m_Client

private var m_Client: Character

m_LootHelpText

private var m_LootHelpText: MovieClip

m_NumRows

private var m_NumRows: Number

m_IconSize

private var m_IconSize: Number

m_ID

public var m_ID: ID32

m_LootBag

private var m_LootBag: com.GameInterface.Loot

STATE_DRAGGING

private var STATE_DRAGGING

m_MaxDragX

private var m_MaxDragX

m_MinDragX

private var m_MinDragX

m_MaxDragY

private var m_MaxDragY

m_MinDragY

private var m_MinDragY

Functions

LootWindow

public function LootWindow(id: com.Utils.ID32,
mc: MovieClip)

GetCharactersToLoot

private function GetCharactersToLoot():Array

attach the loot help text, and ensure clickthrough

AddTeamCharacters

private function AddTeamCharacters(characters: Array,
team: Team):Void

AddRow

private function AddRow()

SetInventory

public function SetInventory(inventory: Inventory)

CreateRightClickMenu

private function CreateRightClickMenu():Void

SlotHideRightClickMenu

function SlotHideRightClickMenu():Void

UpdateRightClickMenuItems

function UpdateRightClickMenuItems():Void

SlotShareLoot

private function SlotShareLoot(selectedLabel: String):Void

SlotConfirmShareLoot

private function SlotConfirmShareLoot(buttonID: Number,
charId: ID32):Void

GetNumItems

private function GetNumItems():Number

DrawBackground

private function DrawBackground()

StartDragLootBag

private function StartDragLootBag()

draw the background of the items now that all slots are done

HideRighClickMenu

private function HideRighClickMenu():Void

PositionRightClickMenu

private function PositionRightClickMenu():Void

CheckPositionLimits

private function CheckPositionLimits():Void

CorrectPostion

private function CorrectPostion():Void

GetID

public function GetID()

SetCenterPosition

public function SetCenterPosition(x: Number,
y: Number):Void

AddItem

public function AddItem(itemPos: Number,
item: InventoryItem)

StopDragLootBag

private function StopDragLootBag()

DragPositionCheck

private function DragPositionCheck()

onMouseOverButton

private function onMouseOverButton()

onMouseOutButton

private function onMouseOutButton()

IsSlotPersonalLoot

private function IsSlotPersonalLoot(itemSlot: ItemSlot)

SlotMouseDownItem

function SlotMouseDownItem(itemSlot: ItemSlot,
buttonIndex: Number,
clickCount: Number)

LootItem

private function LootItem(itemSlot: ItemSlot,
characterID: ID32)

SlotStartDragItem

private function SlotStartDragItem(itemSlot: ItemSlot,
stackSize: Number)

SlotDragHandled

function SlotDragHandled()

GetItemSlot

function GetItemSlot(slotId: Number):ItemSlot

SlotItemRemoved

private function SlotItemRemoved(inventoryID: com.Utils.ID32,
itemPos: Number,
moved: Boolean)

ClearSlots

private function ClearSlots()

SlotChanged

private function SlotChanged(lootBagID: ID32)

SlotClose

private function SlotClose()

CloseLootbag

public function CloseLootbag()

DisconnectTooltip

public function DisconnectTooltip()

disconnects all the tooltips if box is removed or enter a state where ist is invisible

static private var ASSIGN_LABEL: String
static private var ASSIGN_ITEM_TO: String
static private var RIGHT_CLICK_MOUSE_OFFSET: Number
static private var m_Padding: Number
public var SignalLootWindowClosed: Signal
private var m_Inventory: Inventory
private var m_ItemSlots: Array
private var m_LootBagMC: MovieClip
private var m_LootbagBackground: MovieClip
private var m_CloseButton: MovieClip
private var m_RightClickMenu: MovieClip
private var m_NumLootItemsPerLine: Number
private var m_LootbagPadding: Number
private var m_LootItemsPadding: Number
private var m_RightClickSelectedItemSlot: ItemSlot
private var m_CharactersToLoot: Array
private var m_MasterLooterConfirmDialog: DialogIF
private var m_Client: Character
private var m_LootHelpText: MovieClip
private var m_NumRows: Number
private var m_IconSize: Number
public var m_ID: ID32
private var m_LootBag: com.GameInterface.Loot
private var STATE_DRAGGING
private var m_MaxDragX
private var m_MinDragX
private var m_MaxDragY
private var m_MinDragY
public function LootWindow(id: com.Utils.ID32,
mc: MovieClip)
private function GetCharactersToLoot():Array
attach the loot help text, and ensure clickthrough
private function AddTeamCharacters(characters: Array,
team: Team):Void
private function AddRow()
public function SetInventory(inventory: Inventory)
private function CreateRightClickMenu():Void
function SlotHideRightClickMenu():Void
function UpdateRightClickMenuItems():Void
private function SlotShareLoot(selectedLabel: String):Void
private function SlotConfirmShareLoot(buttonID: Number,
charId: ID32):Void
private function GetNumItems():Number
private function DrawBackground()
private function StartDragLootBag()
draw the background of the items now that all slots are done
private function HideRighClickMenu():Void
private function PositionRightClickMenu():Void
private function CheckPositionLimits():Void
private function CorrectPostion():Void
public function GetID()
public function SetCenterPosition(x: Number,
y: Number):Void
public function AddItem(itemPos: Number,
item: InventoryItem)
private function StopDragLootBag()
private function DragPositionCheck()
private function onMouseOverButton()
private function onMouseOutButton()
private function IsSlotPersonalLoot(itemSlot: ItemSlot)
function SlotMouseDownItem(itemSlot: ItemSlot,
buttonIndex: Number,
clickCount: Number)
private function LootItem(itemSlot: ItemSlot,
characterID: ID32)
private function SlotStartDragItem(itemSlot: ItemSlot,
stackSize: Number)
function SlotDragHandled()
function GetItemSlot(slotId: Number):ItemSlot
private function SlotItemRemoved(inventoryID: com.Utils.ID32,
itemPos: Number,
moved: Boolean)
private function ClearSlots()
private function SlotChanged(lootBagID: ID32)
private function SlotClose()
public function CloseLootbag()
public function DisconnectTooltip()
disconnects all the tooltips if box is removed or enter a state where ist is invisible
Close