Updates room documentation for embeddedWebsite properties
This commit is contained in:
parent
a69f232a06
commit
99f9d56c5c
4 changed files with 78 additions and 86 deletions
|
@ -110,20 +110,6 @@ export class WorkadventurePlayerCommands extends IframeApiContribution<Workadven
|
|||
data: undefined,
|
||||
});
|
||||
}
|
||||
|
||||
getPlayerProperty(name: string): Promise<PlayerPropertyEvent> {
|
||||
return queryWorkadventure({
|
||||
type: "getPlayerProperty",
|
||||
data: name,
|
||||
});
|
||||
}
|
||||
|
||||
setPlayerProperty(property: PlayerPropertyEvent) {
|
||||
queryWorkadventure({
|
||||
type: "setPlayerProperty",
|
||||
data: property,
|
||||
}).catch((e) => console.error(e));
|
||||
}
|
||||
}
|
||||
|
||||
export type Position = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue