魔兽世界的宏函数库(world of warcraft macro library)

魔兽世界的宏函数库(world of warcraft macro library)

ID:11927157

大小:53.00 KB

页数:29页

时间:2018-07-15

魔兽世界的宏函数库(world of warcraft macro library)_第1页
魔兽世界的宏函数库(world of warcraft macro library)_第2页
魔兽世界的宏函数库(world of warcraft macro library)_第3页
魔兽世界的宏函数库(world of warcraft macro library)_第4页
魔兽世界的宏函数库(world of warcraft macro library)_第5页
资源描述:

《魔兽世界的宏函数库(world of warcraft macro library)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、魔兽世界的宏函数库(WorldofWarcraftmacrolibrary)ThefollowingistheWarcraftmacrolibrary,thereareChineseremarks,thereisnoabove,youcanfindontheBLZwebsite.(momsaidreplingisgood)1.sendmessages1.1SendChatMessage("message","system","language","channel")Role:SendachatmessageParameter:"Messa

2、ge":themessagetosend"System":thetypeofchatmessagethatyouwanttosend:"SAY":say"WHISPER":theword,inthe"channel"parameterspecifiedinthecodenameoftheobjectmustbewiththefunctionofUnitName("unit")use"CHANNEL":thechannelmustspecifythenumberofthechannelintheparameter"channel",and"

3、omit"for"synthesis"""GUILD":Union"PARTY":squad!"RAID":grouptour"YELL":yell!"Language":thelanguagethatisusedcanbeomittedifthereisnoparameter"channel".InCWOW,youcanusethelinguafranca,theorclanguage,andsoforth.YoucanalsospecifyotherlanguagesusedinWOW,andtheexactlanguagenamec

4、anbeobtainedusingthefunctionGetDefaultLanguage("unit").Thelanguagespecifiedbytheparameter"language"willonlyworkforthesenderandthereceiverwillreceiveitinitsdefaultlanguage.1.2GetDefaultLanguage(“unit)Action:returnsthedefaultlanguageusedbytheunitspecifiedintheparameter"unit

5、"2.characteroperation2.1strfind("string","pattern")Effects:findcharacter(string)instring"string"pattern"Returnvalue:iffound,returns2values,startpositionandendposition;ifnotfound,returnsnil2.2format("FormatString",value),...,...)Effects:usevalue,...,...Thesuppliedvaluesare

6、establishedintheformatspecifiedin"FormatString"Theformatcommonlyusedin"FormatString":%s:String%d:integer%f:floatingpointnumbers3.friends/shield3.1AddFriend("name")Role:theplayerwiththespecifiednameisaddedtothebuddylistParameter:"Name":theplayer'snamecanbeobtainedusingthef

7、unctionUnitName("unit")3.2AddIgnore("name")Role:theplayerwiththespecifiednameisaddedtotheblockedlist3.3DelIgnore("name")Role:removestheplayerwiththespecifiednamefromthemasklist3.4AddOrDelIgnore("name")Role:togglethescreenstateoftheplayerwiththespecifiedname4.team4.1Invite

8、ToParty("unit")Role:inviteparameter"unit"totheunitsspecified4.2InviteByName("name")Role:inviteth

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。