WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   Delete specific columns from Arena Results Table (https://www.wowinterface.com/forums/showthread.php?t=58669)

bloodfox610 04-01-21 04:42 AM

Delete specific columns from Arena Results Table
 
Hi. I have a friend who rages when he sees his rating drop, so I'm developing an addon that hides all indicators of rating. I've got it all done EXCEPT for the page that pops up when a match ends.

I can't seem to figure out how to hide JUST the rating-related table data (he wont use it if he cant see his damage).

The approach I've had the most success with is by unsecurely hooking the function that returns what columns to add.

local oldOptional = PVPMatchUtil.GetOptionalCategories
PVPMatchUtil.GetOptionalCategories = function()
local categories = oldOptional()
categories.ratingChange = false;
categories.ratingPost = false;
categories.ratingPre = false;
return categories
end

Obviously this is problematic and it manifests itself by NOT popping up the window automatically when the match ends.

Any ideas or help would be greatly appreciated!

Thanks!


All times are GMT -6. The time now is 03:58 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI