ZEPETO.Multiplay (Server) Package
The ZEPETO.Multiplay (Server) package provides API for ZEPETO World Multiplay Server scripting.
Package Functionality
note
To use the API, set up the Multiplay Server in your ZEPETO World Unity project. The World SDK Guide provides detailed instructions on this setup process.
Key Components
Classes
Interfaces
- ZEPETO.Multiplay.SandboxPlayer
- ZEPETO.Multiplay.DataStorage.DataStorage
- ZEPETO.Multiplay.Currency.Currency
- ZEPETO.Multiplay.Inventory.Inventory
- ZEPETO.Multiplay.HttpService.HttpService
Primary Use Cases
- Register a callback to handle messages received from clients using
Sandbox.onMessage
. Learn more at the World SDK Guide. - Utilize
DataStorage.mget
to retrieve data storage values by multiple keys. Learn more at the World SDK Guide. - Use
Currency.credit
to top up in-World currency amounts. - Retrieve all in-World products from a player's inventory using
Inventory.list
. - Execute HTTP GET requests to external web services via
HTTPService.getAsync
. Learn more at the World SDK Guide.