viewing wow code
I want to take a look at the code for WoW's FocusUnit() function. Is this possible and if so, how?
|
You can get WoW's Lua and XML files directly from the game. That should give you a start. Unfortunately, I can not explain to you how this is done. Hopefully someone will chime in here with the information. :o
EDIT: OK, after a little searching I managed to find it. https://wow.gamepedia.com/Viewing_Bl...interface_code |
Towlong-Yak has a current version extracted to a website. While I am told it is incomplete, I have no idea what is missing as it looks all there.
https://www.townlong-yak.com/framexml/live |
The AddOn system is split up in two parts, one part is the FrameXML and our addons, the other part is exposed to the FrameXML by the game itself.
We have access to the former, the latter is closed-source. Bad news for you, FocusUnit is in the latter. |
Many thanks guys.
Quote:
|
There is a handy GitHub repository that gets updates all the time with wow interface files. Even PTR versions https://github.com/tomrus88/Blizzard...ster/Interface
|
Quote:
|
It will show how you can use FocusUnit(), not the code that makes up the FocusUnit function... or how you can write your own.. or how to circumvent etc..
|
On that site I linked, if you paste FocusUnit for example into the text box in the header it will show which files include that string. In this case with FocusUnit, you cannot find the actual function, only when it's called. So it must be a protected, hidden function which will most likely be intertwined with important core code that cannot be accessed.
|
Quote:
Sorry, I just couldn't help myself. :o |
Quote:
|
Yaeh, I know. Like I said, though, I just couldn't help myself. I had to be an ....... @$$whole (yes, I know it's spelled without the "w", but when you are one all over.....). :o
|
All times are GMT -6. The time now is 09:49 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI