question

luisitolucas avatar image
luisitolucas asked

Lobby Delete

Hi, iam working with Lobby. And i want , that master player can delete lobbys. Or then when the lobby game finish, delete it.

how to do?

thanks

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

luisitolucas avatar image luisitolucas commented ·

i try use this

in cloudScript

handlers.DeleteLobby = function(args,context){ server.DeleteLobby({ LobbyId: args.LobbyId }); }

but isnt not working

0 Likes 0 ·
luisitolucas avatar image
luisitolucas answered

well i fixed in client with leave lobby

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Rick Chen avatar image
Rick Chen answered

The Cloud Script is a legacy feature, there will be no more update on the Cloud Script. We’d suggest using Azure Function or Postman to call the DeleteLobby API.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.