Adding list of deprecated methods in the documentation.
This commit is contained in:
parent
ce0a52c227
commit
c17f006992
20
docs/maps/api-deprecated.md
Normal file
20
docs/maps/api-deprecated.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{.section-title.accent.text-primary}
|
||||||
|
# API Reference - Deprecated functions
|
||||||
|
|
||||||
|
The list of functions below is **deprecated**. You should not use those but. use the replacement functions.
|
||||||
|
|
||||||
|
- Method `WA.sendChatMessage` is deprecated. It has been renamed to `WA.chat.sendChatMessage`.
|
||||||
|
- Method `WA.disablePlayerControls` is deprecated. It has been renamed to `WA.controls.disablePlayerControls`.
|
||||||
|
- Method `WA.restorePlayerControls` is deprecated. It has been renamed to `WA.controls.restorePlayerControls`.
|
||||||
|
- Method `WA.displayBubble` is deprecated. It has been renamed to `WA.ui.displayBubble`.
|
||||||
|
- Method `WA.removeBubble` is deprecated. It has been renamed to `WA.ui.removeBubble`.
|
||||||
|
- Method `WA.openTab` is deprecated. It has been renamed to `WA.nav.openTab`.
|
||||||
|
- Method `WA.loadSound` is deprecated. It has been renamed to `WA.sound.loadSound`.
|
||||||
|
- Method `WA.goToPage` is deprecated. It has been renamed to `WA.nav.goToPage`.
|
||||||
|
- Method `WA.goToRoom` is deprecated. It has been renamed to `WA.nav.goToRoom`.
|
||||||
|
- Method `WA.openCoWebSite` is deprecated. It has been renamed to `WA.nav.openCoWebSite`.
|
||||||
|
- Method `WA.closeCoWebSite` is deprecated. It has been renamed to `WA.nav.closeCoWebSite`.
|
||||||
|
- Method `WA.openPopup` is deprecated. It has been renamed to `WA.ui.openPopup`.
|
||||||
|
- Method `WA.onChatMessage` is deprecated. It has been renamed to `WA.chat.onChatMessage`.
|
||||||
|
- Method `WA.onEnterZone` is deprecated. It has been renamed to `WA.room.onEnterZone`.
|
||||||
|
- Method `WA.onLeaveZone` is deprecated. It has been renamed to `WA.room.onLeaveZone`.
|
@ -7,3 +7,5 @@
|
|||||||
- [UI functions](api-ui.md)
|
- [UI functions](api-ui.md)
|
||||||
- [Sound functions](api-sound.md)
|
- [Sound functions](api-sound.md)
|
||||||
- [Controls functions](api-controls.md)
|
- [Controls functions](api-controls.md)
|
||||||
|
|
||||||
|
- [List of deprecated functions](api-deprecated.md)
|
||||||
|
Loading…
Reference in New Issue
Block a user