PVPStandard_OnLoad(self);
self:SetAlpha(0.4);
PVPTeam_OnEnter(self, motion);
PVPTeam_OnLeave(self, motion);
PVPTeam_OnClick(self, button, down);
PVPTeam_OnMouseDown(self, button);
PVPTeam_OnMouseUp(self, button);
PVPTeam_OnMouseUp(self, nil);
self:GetParent():LockHighlight(); GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); if ( self.tooltip ) then GameTooltip:SetText(self.tooltip); end
self:GetParent():UnlockHighlight(); GameTooltip:Hide();
self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
PVPTeamDetailsButton_OnClick(self, button); PlaySound("igMainMenuOptionCheckBoxOn");
if ( self.sortType ) then SortArenaTeamRoster(self.sortType); end PlaySound("igMainMenuOptionCheckBoxOn");