ݺߣ

ݺߣShare a Scribd company logo
Jak na addons pro
Martin Hassman
16.11. 2019 Devel.cz
Martin Hassman: Jak se tvoří addony pro World of Warcraft
Dokumentace? Ehm.
Martin Hassman: Jak se tvoří addony pro World of Warcraft
Dokumentace 👍 Nástroje 👎
Malé skripty?
DeadlyBossMods
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Lua 251 6852 9138 56211
XML 4 20 18 1182
Markdown 1 10 0 58
YAML 1 8 0 17
-------------------------------------------------------------------------------
SUM: 257 6890 9156 57468
-------------------------------------------------------------------------------
Martin Hassman: Jak se tvoří addony pro World of Warcraft
Stavební kameny: FrameXML + Lua 5.1
./AddOns/MyAddon/
- MyAddon.toc
- core.lua
MANIFEST:
## Interface: 11302
## Title: ...
## Author: ...
## Version: ...
core.lua
print(“Hello World of Warcraft!”);
core.lua :
/reload ui
Deployment cycle ;)
CTRL+R
/console scriptErrors 1
Lua errors:
/dump EXPRESSION
/etrace
/fstack
DEBUGING:
local frame = CreateFrame("FRAME");
frame:RegisterEvent("PLAYER_LOGIN");
frame:RegisterEvent("PLAYER_DEAD");
...
frame:SetScript("OnEvent", frame.OnEvent);
local frame = CreateFrame("FRAME");
frame:RegisterEvent("PLAYER_LOGIN");
frame:RegisterEvent("PLAYER_DEAD");
...
frame:SetScript("OnEvent", frame.OnEvent);
Omezení Blizzardu
● zdarma
● bez reklam
Srovnání s addons
webových dzížčů?
Martin Hassman: Jak se tvoří addony pro World of Warcraft
Martin Hassman: Jak se tvoří addony pro World of Warcraft

More Related Content

Martin Hassman: Jak se tvoří addony pro World of Warcraft