0% found this document useful (0 votes)
3 views1 page

Metadata - WorkAdventure Documentation

The document provides an overview of the WorkAdventure APIs, including the Map Scripting API, Metadata, and various functionalities such as player navigation and event handling. It outlines the structure of metadata related to user NFTs and provides an example of using TypeScript for scripting. Additionally, it includes links to documentation, support, and social media for further assistance.

Uploaded by

raziq.brown
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Metadata - WorkAdventure Documentation

The document provides an overview of the WorkAdventure APIs, including the Map Scripting API, Metadata, and various functionalities such as player navigation and event handling. It outlines the structure of metadata related to user NFTs and provides an example of using TypeScript for scripting. Additionally, it includes links to documentation, support, and social media for further assistance.

Uploaded by

raziq.brown
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Map Building Admin User Developer Tutorials Login Get Started Search ctrl K

WorkAdventure APIs Map Scripting API Api Reference Metadata


Getting metadata
Inbound API

Map Scripting API Metadata


Variables

Events Getting metadata


Api Reference
WA.metadata: unknown | undefined
Camera

Chat
The metadata is an object generated from the administration. The play service and the front must be agnostic of the data on this
Controls object.

Event
In the SAAS case we send the list of NFTS own by the user:
Map Editor API

Metadata {
"player" {
Navigation "nfts" [
Player {
"contractAddress": string,
Players "nfts": [
{
Room
"tokenId": string,
Sound "spriteUrl": string|undefined
},
Start ...
]
State
},
UI ...
]
Deprecated Functions }
Extended utility functions }

Scripting Internals
Example:
Using Typescript

Map Storage API WA.onInit().then(() => {


console.log('Current metadata: ', WA.metadata);
Room API
});

Edit this page

Previous Next
« Map Editor API Navigation »

Docs Need help ? Follow us

Map Building Book a demo Linkedin


Admin Discord Twitter
Developer GitHub Facebook

Copyright © 2024 workadventu.re - All Rights Reserved

You might also like