Skip to content

PlayerRoomApi

All URIs are relative to http://localhost:8080/api

Method HTTP request Description
getAllPlayerRoom GET /player/room/get_all Get All Player Room (WIP)
setPlayerRoom POST /player/room/set Set Player Room (WIP)

getAllPlayerRoom

GetAllPlayerRoomResponse getAllPlayerRoom(playerId, floorId)

Get All Player Room (WIP)

Get specific player's customized room infos that specified in a request

Parameters

Name Type Description Notes
playerId Integer Internal player id [optional] [default to null]
floorId Integer 1:main room / 2:sub room [optional] [default to null]

Return type

GetAllPlayerRoomResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

setPlayerRoom

SetPlayerRoomResponse setPlayerRoom(SetPlayerRoomRequest)

Set Player Room (WIP)

Set the current player's room customize info

Parameters

Name Type Description Notes
SetPlayerRoomRequest SetPlayerRoomRequest [optional]

Return type

SetPlayerRoomResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json