WCL speedrun API
Features
Synchronize with WCL rules, load the corresponding speedrun rules in each raid zone and provide speedrun events
Support continue timing when leave raid zone,log out and raid reset
Support map changed
Support CN and EN
Install
- Depend on WeakAuras-ItemUseStores addon (author HopeAsd) to save data offline, place the addon under the path 'World of Warcraft\_classic_\Interface\Addons
Addon maintenance address https://www.curseforge.com/wow/addons/weakauras-itemusestores
- Restart the game to ensure addon loading
No dependencies are required on 5.0 WeakAuras
API events
SPEEDRUN_STARTIME_UPDATE
Fired if speedrun start
Index
Property
Description
1
ZoneID
Current map instances ID (See https://wowpedia.fandom.com/wiki/InstanceID)
2
StartTime
Speedrun start time
3
DifficultyID
Current diffculty (See https://wowpedia.fandom.com/wiki/DifficultyID)
SPEEDRUN_STOP
Fired if speedrun is finished
Index
Property
Description
1
ZoneID
Current map instances ID (See https://wowpedia.fandom.com/wiki/InstanceID)
2
duration
Speedrun total time (Without trash add time)
3
DifficultyID
Current diffculty (See https://wowpedia.fandom.com/wiki/DifficultyID)
SPEEDRUN_RESET
Fired by user to clear data
Index
Property
Description
1
arg1
Non-empty placeholder
SPEEDRUN_FORCE_START
Fired by user to force start speedrun
Index
Property
Description
1
arg1
Non-empty placeholder
SPEEDRUN_ENCOUNTER_UPDATE
Fired if kill a valid encounter successfully
Index
Property
Description
1
count
The killed number of encounters
2
countMax
The total number of encounters
SPEEDRUN_TRASH_TOTAL_UPDATE
Fired if kill a valid trash
Index
Property
Description
1
name
"Total"
2
count
The killed number of all trashs
3
countMax
The total number of all trashs
4
addTime
The add time of trashs
5
percent
The total percent of all trashs
SPEEDRUN_MAP_CHANGED
Fired if player enter a valid map
Index
Property
Description
1
mapID
Current zone map ID (See https://wowpedia.fandom.com/wiki/UiMapID)
SPEEDRUN_TRASH_MAP_UPDATE
Fired if player enter a valid map
Index
Property
Description
1
name
The name of the trash
2
count
The killed number of the trash
3
countMax
The total number of the trash
4
mapID
Current zone map ID (See https://wowpedia.fandom.com/wiki/UiMapID)
SPEEDRUN_TRASH_UPDATE
Fired if kill a valid trash
Index
Property
Description
1
name
The name of the trash
2
count
The killed number of the trash
3
countMax
The total number of the trash
4
mapID
Current zone map ID (See https://wowpedia.fandom.com/wiki/UiMapID)
SPEEDRUN_TIME_UPDATE
Fired if kill a valid encounter successfully
Index
Property
Description
1
name
The name of the encounter
2
duration
The time interval between encounter killed time and speedrun start time
3
mapID
Current zone map ID (See https://wowpedia.fandom.com/wiki/UiMapID)
SPEEDRUN_ENCOUNTER_MAP_UPDATE
Fired if player enter a valid map
Index
Property
Description
1
name
The name of the encounter
2
duration
The time interval between encounter killed time and speedrun start time
3
mapID
Current zone map ID (See https://wowpedia.fandom.com/wiki/UiMapID)
SPEEDRUN_DEATH_UPDATE
Fired if group member is dead
Index
Property
Description
1
count
Total death number from the speedrun beginning
2
deathTime
Total death time from the speedrun beginning
Control
- Reset the timer and clear history (e.g. reset)
/run WeakAuras.ScanEvents("SPEEDRUN_RESET",true)
- Force start the timer (e.g. GM)
/run WeakAuras.ScanEvents("SPEEDRUN_FORCE_START",true)
UI
- UI with trash and encounter details
https://wago.io/WCLSpeedrunUI
https://wago.io/WclSpeedrunUISimple
https://wago.io/WclSpeedrunTimerBar |
1、在门户里发表的文章仅代表作者本人的观点,与本网站立场无关。
2、门户的所有内容都不保证其准确性,有效性,时间性。阅读本站内容因误导等因素而造成的损失本站不承担连带责任。
3、当政府机关依照法定程序要求披露信息时,论坛均得免责。
4、若因线路及非本站所能控制范围的故障导致暂停服务期间造成的一切不便与损失,论坛不负任何责任。
5、注册会员通过任何手段和方法针对论坛进行破坏,我们有权对其行为作出处理。并保留进步追究其责任的权利。
|