@workadventure/iframe-api-typings 1.25.6 → 1.25.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/iframe_api.d.ts +1 -111
- package/libs/shared-utils/src/Events/ChatEvent.d.ts +168 -0
- package/package.json +2 -2
- package/{Api → play/src/front/Api}/Events/ActionsMenuActionClickedEvent.d.ts +2 -2
- package/{Api → play/src/front/Api}/Events/AddActionsMenuKeyToRemotePlayerEvent.d.ts +2 -2
- package/{Api → play/src/front/Api}/Events/AddPlayerEvent.d.ts +17 -11
- package/{Api → play/src/front/Api}/Events/AskPositionEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/ButtonClickedEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/CameraFollowPlayerEvent.d.ts +4 -1
- package/{Api → play/src/front/Api}/Events/CameraSetEvent.d.ts +8 -5
- package/{Api → play/src/front/Api}/Events/ChangeAreaEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/ChangeLayerEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/ChatVisibilityEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/ClosePopupEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/ColorEvent.d.ts +1 -1
- package/{Api/Events/CreateAreaEvent.d.ts → play/src/front/Api/Events/CreateDynamicAreaEvent.d.ts} +14 -14
- package/{Api → play/src/front/Api}/Events/EmbeddedWebsiteEvent.d.ts +32 -32
- package/{Api → play/src/front/Api}/Events/EnablePlayersTrackingEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/EnterLeaveEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/GameStateEvent.d.ts +17 -8
- package/{Api → play/src/front/Api}/Events/GoToPageEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/HasPlayerMovedEvent.d.ts +5 -5
- package/{Api → play/src/front/Api}/Events/IframeEvent.d.ts +1849 -486
- package/{Api → play/src/front/Api}/Events/JoinMucEvent.d.ts +3 -3
- package/{Api → play/src/front/Api}/Events/LayerEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/LeaveMucEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/LoadPageEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/LoadSoundEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/LoadTilesetEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/MapDataEvent.d.ts +1 -1
- package/play/src/front/Api/Events/ModalEvent.d.ts +27 -0
- package/{Api → play/src/front/Api}/Events/MovePlayerToEvent.d.ts +3 -3
- package/{Api → play/src/front/Api}/Events/MovePlayerToEventAnswer.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/OpenCoWebsiteEvent.d.ts +3 -3
- package/{Api → play/src/front/Api}/Events/OpenPopupEvent.d.ts +7 -7
- package/{Api → play/src/front/Api}/Events/OpenTabEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/PlaySoundEvent.d.ts +3 -3
- package/{Api → play/src/front/Api}/Events/PlayerPosition.d.ts +1 -1
- package/play/src/front/Api/Events/ProximityMeeting/AppendPCMDataEvent.d.ts +14 -0
- package/{Api → play/src/front/Api}/Events/ProximityMeeting/JoinProximityMeetingEvent.d.ts +14 -9
- package/{Api → play/src/front/Api}/Events/ProximityMeeting/ParticipantProximityMeetingEvent.d.ts +14 -9
- package/play/src/front/Api/Events/ProximityMeeting/PlaySoundInBubbleEvent.d.ts +12 -0
- package/play/src/front/Api/Events/ProximityMeeting/StartStreamInBubbleEvent.d.ts +13 -0
- package/play/src/front/Api/Events/ReceiveEventEvent.d.ts +48 -0
- package/{Api → play/src/front/Api}/Events/RemoveActionsMenuKeyFromRemotePlayerEvent.d.ts +2 -2
- package/play/src/front/Api/Events/SendEventEvent.d.ts +48 -0
- package/{Api → play/src/front/Api}/Events/SetAreaPropertyEvent.d.ts +3 -3
- package/{Api → play/src/front/Api}/Events/SetPlayerVariableEvent.d.ts +6 -6
- package/{Api → play/src/front/Api}/Events/SetPropertyEvent.d.ts +3 -3
- package/{Api → play/src/front/Api}/Events/SetSharedPlayerVariableEvent.d.ts +4 -4
- package/{Api → play/src/front/Api}/Events/SetTilesEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/SetVariableEvent.d.ts +7 -7
- package/play/src/front/Api/Events/SettingsEvent.d.ts +24 -0
- package/{Api → play/src/front/Api}/Events/ShowBusinessCardEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/StopSoundEvent.d.ts +1 -1
- package/play/src/front/Api/Events/TeleportPlayerToEvent.d.ts +12 -0
- package/play/src/front/Api/Events/Ui/BannerEvent.d.ts +42 -0
- package/play/src/front/Api/Events/Ui/ButtonActionBarEvent.d.ts +38 -0
- package/{Api/Events/Ui/MenuRegisterEvent.d.ts → play/src/front/Api/Events/Ui/MenuEvents.d.ts} +29 -7
- package/{Api → play/src/front/Api}/Events/Ui/MenuItemClickedEvent.d.ts +1 -1
- package/play/src/front/Api/Events/Ui/PlayVideoEvent.d.ts +67 -0
- package/{Api → play/src/front/Api}/Events/Ui/TriggerActionMessageEvent.d.ts +3 -3
- package/play/src/front/Api/Events/Ui/TriggerPlayerMessageEvent.d.ts +27 -0
- package/{Api/Events/Ui/UIWebsite.d.ts → play/src/front/Api/Events/Ui/UIWebsiteEvent.d.ts} +95 -95
- package/{Api → play/src/front/Api}/Events/UserInputChatEvent.d.ts +4 -1
- package/play/src/front/Api/Events/WamMapDataEvent.d.ts +12 -0
- package/{Api → play/src/front/Api}/Events/WasCameraUpdatedEvent.d.ts +6 -6
- package/play/src/front/Api/Iframe/AbstractEvent.d.ts +18 -0
- package/play/src/front/Api/Iframe/AbstractState.d.ts +19 -0
- package/{Api → play/src/front/Api}/Iframe/Area/Area.d.ts +5 -4
- package/{Api → play/src/front/Api}/Iframe/IframeApiContribution.d.ts +2 -2
- package/play/src/front/Api/Iframe/MapEditor/MapEditorArea.d.ts +12 -0
- package/play/src/front/Api/Iframe/Player/AudioStream.d.ts +5 -0
- package/play/src/front/Api/Iframe/Player/ProximityMeeting.d.ts +164 -0
- package/{Api → play/src/front/Api}/Iframe/Players/RemotePlayer.d.ts +14 -12
- package/play/src/front/Api/Iframe/PrivatePlayerState.d.ts +7 -0
- package/play/src/front/Api/Iframe/PublicPlayerState.d.ts +11 -0
- package/{Api → play/src/front/Api}/Iframe/Room/EmbeddedWebsite.d.ts +0 -3
- package/play/src/front/Api/Iframe/RoomState.d.ts +7 -0
- package/{Api → play/src/front/Api}/Iframe/Sound/Sound.d.ts +1 -1
- package/play/src/front/Api/Iframe/Ui/Banner.d.ts +21 -0
- package/play/src/front/Api/Iframe/Ui/ButtonActionBar.d.ts +25 -0
- package/{Api → play/src/front/Api}/Iframe/Ui/ButtonDescriptor.d.ts +1 -1
- package/play/src/front/Api/Iframe/Ui/Menu.d.ts +12 -0
- package/play/src/front/Api/Iframe/Ui/Modal.d.ts +28 -0
- package/play/src/front/Api/Iframe/Ui/PlayerMessage.d.ts +12 -0
- package/{Api → play/src/front/Api}/Iframe/Ui/UIWebsite.d.ts +11 -4
- package/play/src/front/Api/Iframe/Ui/Video.d.ts +5 -0
- package/{Api → play/src/front/Api}/Iframe/area.d.ts +9 -9
- package/{Api → play/src/front/Api}/Iframe/camera.d.ts +9 -9
- package/play/src/front/Api/Iframe/chat.d.ts +69 -0
- package/play/src/front/Api/Iframe/controls.d.ts +116 -0
- package/play/src/front/Api/Iframe/event.d.ts +15 -0
- package/play/src/front/Api/Iframe/mapEditor.d.ts +52 -0
- package/{Api → play/src/front/Api}/Iframe/nav.d.ts +9 -5
- package/{Api → play/src/front/Api}/Iframe/player.d.ts +41 -21
- package/{Api → play/src/front/Api}/Iframe/playerState.d.ts +8 -6
- package/{Api → play/src/front/Api}/Iframe/players.d.ts +30 -18
- package/{Api → play/src/front/Api}/Iframe/registeredCallbacks.d.ts +1 -1
- package/{Api → play/src/front/Api}/Iframe/room.d.ts +23 -16
- package/{Api → play/src/front/Api}/Iframe/sound.d.ts +1 -1
- package/{Api → play/src/front/Api}/Iframe/state.d.ts +5 -6
- package/{Api → play/src/front/Api}/Iframe/ui.d.ts +50 -8
- package/{Api → play/src/front/Api}/Iframe/website.d.ts +4 -4
- package/play/src/front/Api/types.d.ts +3 -0
- package/play/src/iframe_api.d.ts +130 -0
- package/Api/Events/ChatEvent.d.ts +0 -44
- package/Api/Events/NotificationEvent.d.ts +0 -18
- package/Api/Events/SettingsEvent.d.ts +0 -12
- package/Api/Iframe/AbstractState.d.ts +0 -14
- package/Api/Iframe/Player/ProximityMeeting.d.ts +0 -85
- package/Api/Iframe/Ui/Menu.d.ts +0 -8
- package/Api/Iframe/chat.d.ts +0 -36
- package/Api/Iframe/controls.d.ts +0 -56
- package/Api/types.d.ts +0 -3
- /package/{Api → play/src/front/Api}/Iframe/Ui/ActionMessage.d.ts +0 -0
- /package/{Api → play/src/front/Api}/Iframe/Ui/Popup.d.ts +0 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { IframeApiContribution } from "./IframeApiContribution";
|
|
2
|
+
export declare class WorkadventureControlsCommands extends IframeApiContribution<WorkadventureControlsCommands> {
|
|
3
|
+
callbacks: never[];
|
|
4
|
+
/**
|
|
5
|
+
* Disable player controls.
|
|
6
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-controls | Website documentation}
|
|
7
|
+
*/
|
|
8
|
+
disablePlayerControls(): void;
|
|
9
|
+
/**
|
|
10
|
+
* Restore player controls.
|
|
11
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-controls | Website documentation}
|
|
12
|
+
*/
|
|
13
|
+
restorePlayerControls(): void;
|
|
14
|
+
/**
|
|
15
|
+
* Turn off player microphone.
|
|
16
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#turn-off-webcam-or-microphone | Website documentation}
|
|
17
|
+
*/
|
|
18
|
+
turnOffMicrophone(): void;
|
|
19
|
+
/**
|
|
20
|
+
* Turn off player webcam.
|
|
21
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#turn-off-webcam-or-microphone | Website documentation}
|
|
22
|
+
*/
|
|
23
|
+
turnOffWebcam(): void;
|
|
24
|
+
/**
|
|
25
|
+
* Disable player microphone.
|
|
26
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-webcam-or-microphone | Website documentation}
|
|
27
|
+
*/
|
|
28
|
+
disableMicrophone(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Restore player microphone.
|
|
31
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-webcam-or-microphone | Website documentation}
|
|
32
|
+
*/
|
|
33
|
+
restoreMicrophone(): void;
|
|
34
|
+
/**
|
|
35
|
+
* Disable player webcam.
|
|
36
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-webcam-or-microphone | Website documentation}
|
|
37
|
+
*/
|
|
38
|
+
disableWebcam(): void;
|
|
39
|
+
/**
|
|
40
|
+
* Disable player webcam.
|
|
41
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-webcam-or-microphone | Website documentation}
|
|
42
|
+
*/
|
|
43
|
+
restoreWebcam(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Disable proximity meetings.
|
|
46
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-proximity-meeting | Website documentation}
|
|
47
|
+
*/
|
|
48
|
+
disablePlayerProximityMeeting(): void;
|
|
49
|
+
/**
|
|
50
|
+
* Restore proximity meettings.
|
|
51
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-proximity-meeting | Website documentation}
|
|
52
|
+
*/
|
|
53
|
+
restorePlayerProximityMeeting(): void;
|
|
54
|
+
/**
|
|
55
|
+
* Disable map editor mode.
|
|
56
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-map-editor | Website documentation}
|
|
57
|
+
*/
|
|
58
|
+
disableMapEditor(): void;
|
|
59
|
+
/**
|
|
60
|
+
* Restore map editor mode.
|
|
61
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-map-editor | Website documentation}
|
|
62
|
+
*/
|
|
63
|
+
restoreMapEditor(): void;
|
|
64
|
+
/**
|
|
65
|
+
* Disable screen sharing.
|
|
66
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-screen-sharing | Website documentation}
|
|
67
|
+
*/
|
|
68
|
+
disableScreenSharing(): void;
|
|
69
|
+
/**
|
|
70
|
+
* Restore screen sharing.
|
|
71
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-screen-sharing | Website documentation}
|
|
72
|
+
*/
|
|
73
|
+
restoreScreenSharing(): void;
|
|
74
|
+
/**
|
|
75
|
+
* Disable wheel zoom.
|
|
76
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-wheel-zoom | Website documentation}
|
|
77
|
+
*/
|
|
78
|
+
disableWheelZoom(): void;
|
|
79
|
+
/**
|
|
80
|
+
* Restore wheel zoom.
|
|
81
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-wheel-zoom | Website documentation}
|
|
82
|
+
*/
|
|
83
|
+
restoreWheelZoom(): void;
|
|
84
|
+
/**
|
|
85
|
+
* Disable Right Click.
|
|
86
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-right-click | Website documentation}
|
|
87
|
+
*/
|
|
88
|
+
disableRightClick(): void;
|
|
89
|
+
/**
|
|
90
|
+
* Restore Right Click.
|
|
91
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-right-click | Website documentation}
|
|
92
|
+
*/
|
|
93
|
+
restoreRightClick(): void;
|
|
94
|
+
/**
|
|
95
|
+
* Disable invite button.
|
|
96
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-invite-button | Website documentation}
|
|
97
|
+
*/
|
|
98
|
+
disableInviteButton(): void;
|
|
99
|
+
/**
|
|
100
|
+
* Restore invite button.
|
|
101
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-invite-user-button | Website documentation}
|
|
102
|
+
*/
|
|
103
|
+
restoreInviteButton(): void;
|
|
104
|
+
/**
|
|
105
|
+
* Disable room list.
|
|
106
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-room-list | Website documentation}
|
|
107
|
+
*/
|
|
108
|
+
disableRoomList(): void;
|
|
109
|
+
/**
|
|
110
|
+
* Restore room list.
|
|
111
|
+
* {@link https://docs.workadventu.re/map-building/api-controls.md#disabling--restoring-room-list | Website documentation}
|
|
112
|
+
*/
|
|
113
|
+
restoreRoomList(): void;
|
|
114
|
+
}
|
|
115
|
+
declare const _default: WorkadventureControlsCommands;
|
|
116
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AbstractWorkadventureEventCommands } from "./AbstractEvent";
|
|
2
|
+
export declare class WorkadventureEventCommands extends AbstractWorkadventureEventCommands {
|
|
3
|
+
constructor();
|
|
4
|
+
callbacks: {
|
|
5
|
+
type: "receiveEvent";
|
|
6
|
+
callback: (event: {
|
|
7
|
+
name: string;
|
|
8
|
+
data?: unknown;
|
|
9
|
+
senderId?: number | undefined;
|
|
10
|
+
}) => void;
|
|
11
|
+
}[];
|
|
12
|
+
broadcast(name: string, data: unknown): Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: WorkadventureEventCommands;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { Observable } from "rxjs";
|
|
2
|
+
import { IframeApiContribution } from "./IframeApiContribution";
|
|
3
|
+
import { MapEditorArea } from "./MapEditor/MapEditorArea";
|
|
4
|
+
declare class WorkadventureMapEditorAreaCommands extends IframeApiContribution<WorkadventureMapEditorAreaCommands> {
|
|
5
|
+
callbacks: ({
|
|
6
|
+
type: "enterMapEditorAreaEvent";
|
|
7
|
+
callback: (event: {
|
|
8
|
+
name: string;
|
|
9
|
+
}) => void;
|
|
10
|
+
} | {
|
|
11
|
+
type: "leaveMapEditorAreaEvent";
|
|
12
|
+
callback: (event: {
|
|
13
|
+
name: string;
|
|
14
|
+
}) => void;
|
|
15
|
+
})[];
|
|
16
|
+
/**
|
|
17
|
+
* Listens to the position of the current user. The event is triggered when the user enters a given area.
|
|
18
|
+
* {@link https://docs.workadventu.re/map-building/api-mapeditor.md#detecting-when-the-user-entersleaves-an-area | Website documentation}
|
|
19
|
+
*
|
|
20
|
+
* @param {string} areaName Area name
|
|
21
|
+
* @returns {Subject<void>} An observable fired when someone enters the area
|
|
22
|
+
*/
|
|
23
|
+
onEnter(areaName: string): Observable<void>;
|
|
24
|
+
/**
|
|
25
|
+
* Listens to the position of the current user. The event is triggered when the user leaves a given area.
|
|
26
|
+
* {@link https://docs.workadventu.re/map-building/api-mapeditor.md#detecting-when-the-user-entersleaves-an-area | Website documentation}
|
|
27
|
+
*
|
|
28
|
+
* @param {string} areaName Area name
|
|
29
|
+
* @returns {Subject<void>} An observable fired when someone leaves the area
|
|
30
|
+
*/
|
|
31
|
+
onLeave(areaName: string): Observable<void>;
|
|
32
|
+
private wamMapCache;
|
|
33
|
+
/**
|
|
34
|
+
* Returns a promise that resolves to the WAM map file.
|
|
35
|
+
* The WAM is cached in memory.
|
|
36
|
+
*
|
|
37
|
+
* @returns {Promise<WAMFileFormat>} Map in Tiled JSON format
|
|
38
|
+
*/
|
|
39
|
+
private getWamMap;
|
|
40
|
+
/**
|
|
41
|
+
* Returns a list of areas defined in the map editor.
|
|
42
|
+
*
|
|
43
|
+
* @returns {Promise<MapEditorArea[]>} List of areas
|
|
44
|
+
*/
|
|
45
|
+
list(): Promise<MapEditorArea[]>;
|
|
46
|
+
}
|
|
47
|
+
export declare class WorkadventureMapEditorCommands extends IframeApiContribution<WorkadventureMapEditorCommands> {
|
|
48
|
+
callbacks: never[];
|
|
49
|
+
get area(): WorkadventureMapEditorAreaCommands;
|
|
50
|
+
}
|
|
51
|
+
declare const _default: WorkadventureMapEditorCommands;
|
|
52
|
+
export default _default;
|
|
@@ -8,14 +8,14 @@ export declare class WorkadventureNavigationCommands extends IframeApiContributi
|
|
|
8
8
|
callbacks: never[];
|
|
9
9
|
/**
|
|
10
10
|
* Opens the webpage at "url" in your browser, in a new tab.
|
|
11
|
-
* {@link https://workadventu.re/map-building/api-nav.md#opening-a-web-page-in-a-new-tab | Website documentation}
|
|
11
|
+
* {@link https://docs.workadventu.re/map-building/api-nav.md#opening-a-web-page-in-a-new-tab | Website documentation}
|
|
12
12
|
*
|
|
13
13
|
* @param {string} url Url of the web page
|
|
14
14
|
*/
|
|
15
15
|
openTab(url: string): void;
|
|
16
16
|
/**
|
|
17
17
|
* Opens the webpage at "url" in your browser in place of WorkAdventure. WorkAdventure will be completely unloaded.
|
|
18
|
-
* {@link https://workadventu.re/map-building/api-nav.md#opening-a-web-page-in-the-current-tab | Website documentation}
|
|
18
|
+
* {@link https://docs.workadventu.re/map-building/api-nav.md#opening-a-web-page-in-the-current-tab | Website documentation}
|
|
19
19
|
*
|
|
20
20
|
* @param {string} url Url of the web page
|
|
21
21
|
*/
|
|
@@ -23,14 +23,14 @@ export declare class WorkadventureNavigationCommands extends IframeApiContributi
|
|
|
23
23
|
/**
|
|
24
24
|
* Load the map at url without unloading workadventure.
|
|
25
25
|
* relative urls: "../subFolder/map.json[#start-layer-name]" global urls: "/_/global/domain/path/map.json[#start-layer-name]"
|
|
26
|
-
* {@link https://workadventu.re/map-building/api-nav.md#going-to-a-different-map-from-the-script | Website documentation}
|
|
26
|
+
* {@link https://docs.workadventu.re/map-building/api-nav.md#going-to-a-different-map-from-the-script | Website documentation}
|
|
27
27
|
*
|
|
28
28
|
* @param {string} url Url of the web page
|
|
29
29
|
*/
|
|
30
30
|
goToRoom(url: string): void;
|
|
31
31
|
/**
|
|
32
32
|
* Opens the webpage at "url" in an iFrame (on the right side of the screen) or close that iFrame.
|
|
33
|
-
* {@link https://workadventu.re/map-building/api-nav.md#openingclosing-web-page-in-co-websites | Website documentation}
|
|
33
|
+
* {@link https://docs.workadventu.re/map-building/api-nav.md#openingclosing-web-page-in-co-websites | Website documentation}
|
|
34
34
|
*
|
|
35
35
|
* @param {string} url Url of the web page
|
|
36
36
|
* @param {boolean|undefined} allowApi Allows the webpage to use the "IFrame API" and execute script (it is equivalent to putting the openWebsiteAllowApi property in the map)
|
|
@@ -44,7 +44,7 @@ export declare class WorkadventureNavigationCommands extends IframeApiContributi
|
|
|
44
44
|
openCoWebSite(url: string, allowApi?: boolean, allowPolicy?: string, widthPercent?: number, position?: number, closable?: boolean, lazy?: boolean): Promise<CoWebsite>;
|
|
45
45
|
/**
|
|
46
46
|
* Get all opened co-websites with their ids and positions.
|
|
47
|
-
* {@link https://workadventu.re/map-building/api-nav.md#get-all-co-websites | Website documentation}
|
|
47
|
+
* {@link https://docs.workadventu.re/map-building/api-nav.md#get-all-co-websites | Website documentation}
|
|
48
48
|
*
|
|
49
49
|
* @returns {CoWebsite[]} All Cowebsites
|
|
50
50
|
*/
|
|
@@ -53,6 +53,10 @@ export declare class WorkadventureNavigationCommands extends IframeApiContributi
|
|
|
53
53
|
* @deprecated Use closeCoWebsites instead to close all co-websites
|
|
54
54
|
*/
|
|
55
55
|
closeCoWebSite(): Promise<void>;
|
|
56
|
+
/**
|
|
57
|
+
* Redirect the user to the OIDC login page
|
|
58
|
+
*/
|
|
59
|
+
goToLogin(): Promise<void>;
|
|
56
60
|
}
|
|
57
61
|
declare const _default: WorkadventureNavigationCommands;
|
|
58
62
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Subscription } from "rxjs";
|
|
2
2
|
import type { HasPlayerMovedEventCallback } from "../Events/HasPlayerMovedEvent";
|
|
3
|
+
import { IframeApiContribution } from "./IframeApiContribution";
|
|
3
4
|
import { WorkadventureProximityMeetingCommands } from "./Player/ProximityMeeting";
|
|
4
5
|
export declare const setPlayerName: (name: string) => void;
|
|
5
6
|
export declare const setPlayerLanguage: (language: string | undefined) => void;
|
|
@@ -7,25 +8,25 @@ export declare const setTags: (_tags: string[]) => void;
|
|
|
7
8
|
export declare const setUserRoomToken: (token: string | undefined) => void;
|
|
8
9
|
export declare const setPlayerId: (_id: number | undefined) => void;
|
|
9
10
|
export declare const setUuid: (_uuid: string | undefined) => void;
|
|
11
|
+
export declare const setIsLogged: (_isLogged: boolean | undefined) => void;
|
|
10
12
|
export declare class WorkadventurePlayerCommands extends IframeApiContribution<WorkadventurePlayerCommands> {
|
|
11
|
-
readonly state: import("./playerState").WorkadventurePlayerStateCommands &
|
|
12
|
-
|
|
13
|
-
};
|
|
13
|
+
readonly state: import("./playerState").WorkadventurePlayerStateCommands & import("./PublicPlayerState").PublicPlayerState & import("./PrivatePlayerState").PrivatePlayerState;
|
|
14
|
+
private _proximityMeeting;
|
|
14
15
|
callbacks: {
|
|
15
16
|
type: "hasPlayerMoved";
|
|
16
17
|
callback: (event: {
|
|
17
|
-
oldX?: number | undefined;
|
|
18
|
-
oldY?: number | undefined;
|
|
19
18
|
x: number;
|
|
20
19
|
y: number;
|
|
21
20
|
direction: "left" | "right" | "up" | "down";
|
|
22
21
|
moving: boolean;
|
|
22
|
+
oldX?: number | undefined;
|
|
23
|
+
oldY?: number | undefined;
|
|
23
24
|
}) => void;
|
|
24
25
|
}[];
|
|
25
26
|
/**
|
|
26
27
|
* Get the player name.
|
|
27
28
|
* Important: You need to wait for the end of the initialization before accessing.
|
|
28
|
-
* {@link https://workadventu.re/map-building/api-player.md#get-the-player-name | Website documentation}
|
|
29
|
+
* {@link https://docs.workadventu.re/map-building/api-player.md#get-the-player-name | Website documentation}
|
|
29
30
|
*
|
|
30
31
|
* @returns {string} Player name
|
|
31
32
|
*/
|
|
@@ -33,7 +34,7 @@ export declare class WorkadventurePlayerCommands extends IframeApiContribution<W
|
|
|
33
34
|
/**
|
|
34
35
|
* Get the player UUID.
|
|
35
36
|
* Important: You need to wait for the end of the initialization before accessing.
|
|
36
|
-
* {@link https://workadventu.re/map-building/api-player.md#get-the-player-uuid | Website documentation}
|
|
37
|
+
* {@link https://docs.workadventu.re/map-building/api-player.md#get-the-player-uuid | Website documentation}
|
|
37
38
|
* @deprecated Use WA.player.uuid instead
|
|
38
39
|
*
|
|
39
40
|
* @returns {string|undefined} Player UUID
|
|
@@ -42,7 +43,7 @@ export declare class WorkadventurePlayerCommands extends IframeApiContribution<W
|
|
|
42
43
|
/**
|
|
43
44
|
* Get the player id.
|
|
44
45
|
* Important: You need to wait for the end of the initialization before accessing.
|
|
45
|
-
* {@link https://workadventu.re/map-building/api-player.md#get-the-player-id | Website documentation}
|
|
46
|
+
* {@link https://docs.workadventu.re/map-building/api-player.md#get-the-player-id | Website documentation}
|
|
46
47
|
*
|
|
47
48
|
* @returns {number} Player id
|
|
48
49
|
*/
|
|
@@ -50,7 +51,7 @@ export declare class WorkadventurePlayerCommands extends IframeApiContribution<W
|
|
|
50
51
|
/**
|
|
51
52
|
* Get the player UUID.
|
|
52
53
|
* Important: You need to wait for the end of the initialization before accessing.
|
|
53
|
-
* {@link https://workadventu.re/map-building/api-player.md#get-the-player-uuid | Website documentation}
|
|
54
|
+
* {@link https://docs.workadventu.re/map-building/api-player.md#get-the-player-uuid | Website documentation}
|
|
54
55
|
*
|
|
55
56
|
* @returns {string|undefined} Player UUID
|
|
56
57
|
*/
|
|
@@ -58,7 +59,7 @@ export declare class WorkadventurePlayerCommands extends IframeApiContribution<W
|
|
|
58
59
|
/**
|
|
59
60
|
* Get the player language.
|
|
60
61
|
* Important: You need to wait for the end of the initialization before accessing.
|
|
61
|
-
* {@link https://workadventu.re/map-building/api-player.md#get-the-player-language | Website documentation}
|
|
62
|
+
* {@link https://docs.workadventu.re/map-building/api-player.md#get-the-player-language | Website documentation}
|
|
62
63
|
*
|
|
63
64
|
* @returns {string} Player language
|
|
64
65
|
*/
|
|
@@ -66,7 +67,7 @@ export declare class WorkadventurePlayerCommands extends IframeApiContribution<W
|
|
|
66
67
|
/**
|
|
67
68
|
* Get the player tags.
|
|
68
69
|
* Important: You need to wait for the end of the initialization before accessing.
|
|
69
|
-
* {@link https://workadventu.re/map-building/api-player.md#get-the-tags-of-the-player | Website documentation}
|
|
70
|
+
* {@link https://docs.workadventu.re/map-building/api-player.md#get-the-tags-of-the-player | Website documentation}
|
|
70
71
|
*
|
|
71
72
|
* @returns {string[]} Player tags
|
|
72
73
|
*/
|
|
@@ -74,7 +75,7 @@ export declare class WorkadventurePlayerCommands extends IframeApiContribution<W
|
|
|
74
75
|
/**
|
|
75
76
|
* Get the player position.
|
|
76
77
|
* Important: You need to wait for the end of the initialization before accessing.
|
|
77
|
-
* {@link https://workadventu.re/map-building/api-player.md#get-the-position-of-the-player | Website documentation}
|
|
78
|
+
* {@link https://docs.workadventu.re/map-building/api-player.md#get-the-position-of-the-player | Website documentation}
|
|
78
79
|
*
|
|
79
80
|
* @returns {Position} Player position
|
|
80
81
|
*/
|
|
@@ -82,14 +83,15 @@ export declare class WorkadventurePlayerCommands extends IframeApiContribution<W
|
|
|
82
83
|
/**
|
|
83
84
|
* Listens to the movement of the current user and calls the callback.
|
|
84
85
|
* Sends an event when the user stops moving, changes direction and every 200ms when moving in the same direction.
|
|
85
|
-
* {@link https://workadventu.re/map-building/api-player.md#listen-to-player-movement | Website documentation}
|
|
86
|
+
* {@link https://docs.workadventu.re/map-building/api-player.md#listen-to-player-movement | Website documentation}
|
|
86
87
|
*
|
|
87
88
|
* @param {HasPlayerMovedEventCallback} callback Function that will be called when the current player is moving. It contains the event
|
|
89
|
+
* @return {Subscription} Subscription to the stream. Use ".unsubscribe()" to stop listening.
|
|
88
90
|
*/
|
|
89
|
-
onPlayerMove(callback: HasPlayerMovedEventCallback):
|
|
91
|
+
onPlayerMove(callback: HasPlayerMovedEventCallback): Subscription;
|
|
90
92
|
/**
|
|
91
|
-
* Player will try to find shortest path to the destination point and proceed to move there.
|
|
92
|
-
* {@link https://workadventu.re/map-building/api-player.md#move-player-to-position | Website documentation}
|
|
93
|
+
* Player will try to find the shortest path to the destination point and proceed to move there.
|
|
94
|
+
* {@link https://docs.workadventu.re/map-building/api-player.md#move-player-to-position | Website documentation}
|
|
93
95
|
*
|
|
94
96
|
* @param {number} x Horizontal position
|
|
95
97
|
* @param {number} y Vertical position
|
|
@@ -101,6 +103,7 @@ export declare class WorkadventurePlayerCommands extends IframeApiContribution<W
|
|
|
101
103
|
y: number;
|
|
102
104
|
cancelled: boolean;
|
|
103
105
|
}>;
|
|
106
|
+
teleport(x: number, y: number): Promise<void>;
|
|
104
107
|
/**
|
|
105
108
|
* This token can be used by third party services to authenticate a player and prove that the player is in a given room.
|
|
106
109
|
* The token is generated by the administration panel linked to WorkAdventure.
|
|
@@ -109,14 +112,14 @@ export declare class WorkadventurePlayerCommands extends IframeApiContribution<W
|
|
|
109
112
|
*
|
|
110
113
|
* If you are using the self-hosted version of WorkAdventure and you developed your own administration panel, the token can be anything.
|
|
111
114
|
* By default, self-hosted versions of WorkAdventure don't come with an administration panel, so the token string will be empty.
|
|
112
|
-
* {@link https://workadventu.re/map-building/api-player.md#get-the-user-room-token-of-the-player | Website documentation}
|
|
115
|
+
* {@link https://docs.workadventu.re/map-building/api-player.md#get-the-user-room-token-of-the-player | Website documentation}
|
|
113
116
|
*
|
|
114
117
|
* @returns {string|undefined} User room token
|
|
115
118
|
*/
|
|
116
119
|
get userRoomToken(): string | undefined;
|
|
117
120
|
/**
|
|
118
121
|
* Display a thin line around your player's name (the "outline").
|
|
119
|
-
* {@link https://workadventu.re/map-building/api-player.md#set-the-outline-color-of-the-player | Website documentation}
|
|
122
|
+
* {@link https://docs.workadventu.re/map-building/api-player.md#set-the-outline-color-of-the-player | Website documentation}
|
|
120
123
|
*
|
|
121
124
|
* @param {number} red
|
|
122
125
|
* @param {number} green
|
|
@@ -126,14 +129,31 @@ export declare class WorkadventurePlayerCommands extends IframeApiContribution<W
|
|
|
126
129
|
setOutlineColor(red: number, green: number, blue: number): Promise<void>;
|
|
127
130
|
/**
|
|
128
131
|
* Remove the thin line around your player's name (the "outline").
|
|
129
|
-
* {@link https://workadventu.re/map-building/api-player.md#set-the-outline-color-of-the-player | Website documentation}
|
|
132
|
+
* {@link https://docs.workadventu.re/map-building/api-player.md#set-the-outline-color-of-the-player | Website documentation}
|
|
130
133
|
*
|
|
131
134
|
* @returns {Promise<void>} Promise to await to known when the outline has been removed
|
|
132
135
|
*/
|
|
133
136
|
removeOutlineColor(): Promise<void>;
|
|
134
137
|
get proximityMeeting(): WorkadventureProximityMeetingCommands;
|
|
138
|
+
/**
|
|
139
|
+
* Get a value to provide connected status for the current player.
|
|
140
|
+
* Important: You need to wait for the end of the initialization before accessing.
|
|
141
|
+
* {@link https://docs.workadventu.re/map-building/api-player.md#get-the-tags-of-the-player | Website documentation}
|
|
142
|
+
*
|
|
143
|
+
* @returns {boolean} Player tags
|
|
144
|
+
*/
|
|
145
|
+
get isLogged(): boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Get a base64 string of the Woka image of the current player.
|
|
148
|
+
* The Woka is in "still" position facing south.
|
|
149
|
+
* @returns {Promise<string>}
|
|
150
|
+
* {@link https://docs.workadventu.re/map-building/api-player.md#get-the-woka-of-the-player | Website documentation}
|
|
151
|
+
*
|
|
152
|
+
* @returns {Promise<string>} Current player woka in base64
|
|
153
|
+
*/
|
|
154
|
+
getWokaPicture(): Promise<string>;
|
|
135
155
|
}
|
|
136
|
-
export
|
|
156
|
+
export type Position = {
|
|
137
157
|
x: number;
|
|
138
158
|
y: number;
|
|
139
159
|
};
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import { AbstractWorkadventureStateCommands } from "./AbstractState";
|
|
2
|
-
|
|
2
|
+
import { PrivatePlayerState } from "./PrivatePlayerState";
|
|
3
|
+
import { PublicPlayerState } from "./PublicPlayerState";
|
|
4
|
+
type PlayerState = PublicPlayerState & PrivatePlayerState;
|
|
5
|
+
export declare class WorkadventurePlayerStateCommands extends AbstractWorkadventureStateCommands<PlayerState> {
|
|
3
6
|
constructor();
|
|
4
7
|
callbacks: {
|
|
5
8
|
type: "setPlayerVariable";
|
|
6
9
|
callback: (event: {
|
|
7
|
-
value?: unknown;
|
|
8
10
|
key: string;
|
|
11
|
+
value?: unknown;
|
|
9
12
|
}) => void;
|
|
10
13
|
}[];
|
|
11
|
-
saveVariable(key:
|
|
14
|
+
saveVariable<K extends keyof PlayerState & string>(key: K, value: PlayerState[K], options?: {
|
|
12
15
|
public?: boolean;
|
|
13
16
|
persist?: boolean;
|
|
14
17
|
ttl?: number;
|
|
15
18
|
scope?: "world" | "room";
|
|
16
19
|
}): Promise<void>;
|
|
17
20
|
}
|
|
18
|
-
export declare const playerState: WorkadventurePlayerStateCommands &
|
|
19
|
-
|
|
20
|
-
};
|
|
21
|
+
export declare const playerState: WorkadventurePlayerStateCommands & PlayerState;
|
|
22
|
+
export {};
|
|
@@ -1,33 +1,44 @@
|
|
|
1
|
+
import type { Observable } from "rxjs";
|
|
1
2
|
import { IframeApiContribution } from "./IframeApiContribution";
|
|
2
|
-
import {
|
|
3
|
-
import { RemotePlayer
|
|
4
|
-
|
|
3
|
+
import type { RemotePlayerInterface, RemotePlayerMoved } from "./Players/RemotePlayer";
|
|
4
|
+
import { RemotePlayer } from "./Players/RemotePlayer";
|
|
5
|
+
import { PublicPlayerState } from "./PublicPlayerState";
|
|
6
|
+
export interface PlayerVariableChanged<V> {
|
|
5
7
|
player: RemotePlayer;
|
|
6
|
-
value:
|
|
8
|
+
value: V;
|
|
7
9
|
}
|
|
8
10
|
export declare class WorkadventurePlayersCommands extends IframeApiContribution<WorkadventurePlayersCommands> {
|
|
9
11
|
private trackingPlayers;
|
|
10
12
|
private trackingMovement;
|
|
13
|
+
private sharedPlayersVariableStream;
|
|
14
|
+
private remotePlayers;
|
|
15
|
+
private _newRemotePlayersStream;
|
|
16
|
+
private newRemotePlayersStream;
|
|
17
|
+
private _removeRemotePlayersStream;
|
|
18
|
+
private removeRemotePlayersStream;
|
|
19
|
+
private _playersMovedStream;
|
|
20
|
+
private playersMovedStream;
|
|
11
21
|
callbacks: ({
|
|
12
22
|
type: "setSharedPlayerVariable";
|
|
13
23
|
callback: (event: {
|
|
14
|
-
value?: unknown;
|
|
15
24
|
playerId: number;
|
|
16
25
|
key: string;
|
|
26
|
+
value?: unknown;
|
|
17
27
|
}) => void;
|
|
18
28
|
} | {
|
|
19
29
|
type: "addRemotePlayer";
|
|
20
30
|
callback: (event: {
|
|
21
|
-
|
|
31
|
+
name: string;
|
|
22
32
|
position: {
|
|
23
33
|
x: number;
|
|
24
34
|
y: number;
|
|
25
35
|
};
|
|
26
|
-
name: string;
|
|
27
36
|
playerId: number;
|
|
28
37
|
variables: Map<string, unknown>;
|
|
29
38
|
userUuid: string;
|
|
30
39
|
availabilityStatus: string;
|
|
40
|
+
outlineColor?: number | undefined;
|
|
41
|
+
chatID?: string | null | undefined;
|
|
31
42
|
}) => void;
|
|
32
43
|
} | {
|
|
33
44
|
type: "removeRemotePlayer";
|
|
@@ -35,21 +46,22 @@ export declare class WorkadventurePlayersCommands extends IframeApiContribution<
|
|
|
35
46
|
} | {
|
|
36
47
|
type: "remotePlayerChanged";
|
|
37
48
|
callback: (event: {
|
|
49
|
+
playerId: number;
|
|
50
|
+
name?: string | undefined;
|
|
38
51
|
position?: {
|
|
39
52
|
x: number;
|
|
40
53
|
y: number;
|
|
41
54
|
} | undefined;
|
|
42
|
-
name?: string | undefined;
|
|
43
55
|
variables?: Map<string, unknown> | undefined;
|
|
44
56
|
availabilityStatus?: string | undefined;
|
|
45
57
|
outlineColor?: number | undefined;
|
|
46
|
-
|
|
58
|
+
chatID?: string | null | undefined;
|
|
47
59
|
}) => void;
|
|
48
60
|
})[];
|
|
49
61
|
private registerRemotePlayer;
|
|
50
62
|
/**
|
|
51
63
|
* Start the tracking players. You need to call this method before being able to listen to players positions.
|
|
52
|
-
* {@link https://workadventu.re/map-building/api-players.md#enabling-players-tracking | Website documentation}
|
|
64
|
+
* {@link https://docs.workadventu.re/map-building/api-players.md#enabling-players-tracking | Website documentation}
|
|
53
65
|
*
|
|
54
66
|
* ```ts
|
|
55
67
|
* await WA.players.configureTracking({
|
|
@@ -66,23 +78,23 @@ export declare class WorkadventurePlayersCommands extends IframeApiContribution<
|
|
|
66
78
|
}): Promise<void>;
|
|
67
79
|
/**
|
|
68
80
|
* Listens to a given variable change on all available players.
|
|
69
|
-
* {@link https://workadventu.re/map-building/api-players.md#listen-to-a-remote-player-variable-changes | Website documentation}
|
|
81
|
+
* {@link https://docs.workadventu.re/map-building/api-players.md#listen-to-a-remote-player-variable-changes | Website documentation}
|
|
70
82
|
*
|
|
71
83
|
* ```ts
|
|
72
84
|
* WA.players.onVariableChange("score").subscribe({ player, value } => {
|
|
73
|
-
* console.
|
|
85
|
+
* console.info("Score for player", player.name, "has been updated to", value);
|
|
74
86
|
* });
|
|
75
87
|
* ```
|
|
76
88
|
*
|
|
77
89
|
* If you are looking to listen for variable changes of only one player, look at `RemotePlayer.onVariableChange` instead.
|
|
78
90
|
*/
|
|
79
|
-
onVariableChange(variableName:
|
|
91
|
+
onVariableChange<K extends keyof PublicPlayerState>(variableName: K): Observable<PlayerVariableChanged<PublicPlayerState[K]>>;
|
|
80
92
|
/**
|
|
81
93
|
* Listens to new remote players.
|
|
82
94
|
* These will be triggered when a remote player is entering our "zone" (zone ~= viewport)
|
|
83
95
|
* This means this will NOT be triggered when a remote player enters the map, but when the remote player is
|
|
84
96
|
* getting visible.
|
|
85
|
-
* {@link https://workadventu.re/map-building/api-players.md#tracking-players-in-real-time | Website documentation}
|
|
97
|
+
* {@link https://docs.workadventu.re/map-building/api-players.md#tracking-players-in-real-time | Website documentation}
|
|
86
98
|
*
|
|
87
99
|
* Usage:
|
|
88
100
|
*
|
|
@@ -96,7 +108,7 @@ export declare class WorkadventurePlayersCommands extends IframeApiContribution<
|
|
|
96
108
|
* These will be triggered when a remote player is leaving our "zone" (zone ~= viewport)
|
|
97
109
|
* This means this will be triggered when a remote player leaves the map, but ALSO when the remote player is
|
|
98
110
|
* walking away and is no longer visible.
|
|
99
|
-
* {@link https://workadventu.re/map-building/api-players.md#tracking-players-in-real-time | Website documentation}
|
|
111
|
+
* {@link https://docs.workadventu.re/map-building/api-players.md#tracking-players-in-real-time | Website documentation}
|
|
100
112
|
*
|
|
101
113
|
* Usage:
|
|
102
114
|
*
|
|
@@ -108,7 +120,7 @@ export declare class WorkadventurePlayersCommands extends IframeApiContribution<
|
|
|
108
120
|
/**
|
|
109
121
|
* Listens to movement from all players who are in our zone (zone ~= viewport)
|
|
110
122
|
* This means this may NOT be triggered when a remote player moves but is far away from us.
|
|
111
|
-
* {@link https://workadventu.re/map-building/api-players.md#tracking-players-movement | Website documentation}
|
|
123
|
+
* {@link https://docs.workadventu.re/map-building/api-players.md#tracking-players-movement | Website documentation}
|
|
112
124
|
*
|
|
113
125
|
* Usage:
|
|
114
126
|
*
|
|
@@ -119,7 +131,7 @@ export declare class WorkadventurePlayersCommands extends IframeApiContribution<
|
|
|
119
131
|
get onPlayerMoves(): Observable<RemotePlayerMoved>;
|
|
120
132
|
/**
|
|
121
133
|
* Returns a RemotePlayer by its id.
|
|
122
|
-
* {@link https://workadventu.re/map-building/api-players.md#getting-a-remote-player-by-id | Website documentation}
|
|
134
|
+
* {@link https://docs.workadventu.re/map-building/api-players.md#getting-a-remote-player-by-id | Website documentation}
|
|
123
135
|
*
|
|
124
136
|
* Note: if the same user is connected twice, it will be considered as 2 different players with 2 different IDs.
|
|
125
137
|
*/
|
|
@@ -127,7 +139,7 @@ export declare class WorkadventurePlayersCommands extends IframeApiContribution<
|
|
|
127
139
|
/**
|
|
128
140
|
* Returns the list of all nearby remote players.
|
|
129
141
|
* The list only contains the players in the same zone as the current player (where zone ~= viewport).
|
|
130
|
-
* {@link https://workadventu.re/map-building/api-players.md#getting-a-list-of-players-around-me | Website documentation}
|
|
142
|
+
* {@link https://docs.workadventu.re/map-building/api-players.md#getting-a-list-of-players-around-me | Website documentation}
|
|
131
143
|
*/
|
|
132
144
|
list(): IterableIterator<RemotePlayerInterface>;
|
|
133
145
|
}
|