Game Config Endpoint #1

Closed
opened 2021-10-25 04:08:42 +00:00 by conco · 0 comments
Owner

This endpoint should return the game configuration state.

code: string // "0000" is success, otherwise it's an error code
msg: string // error message, otherwise empty
game_code: string // unknown, seems to only be used for requests?
game_msg: string // presumably used for showing a message on startup
luck_card: string // unknown
luck_crit: number // unknown
new_card_list: string // unknown
open_day_list: string // unknown
is_open_day: int // unknown
server_time: string // used in some messages and potentially syncing

I believe all but code/msg/server_time are optional and the game will use sane defaults otherwise. server_time can be empty and the game will get the current server time

This endpoint should return the game configuration state. ``` code: string // "0000" is success, otherwise it's an error code msg: string // error message, otherwise empty game_code: string // unknown, seems to only be used for requests? game_msg: string // presumably used for showing a message on startup luck_card: string // unknown luck_crit: number // unknown new_card_list: string // unknown open_day_list: string // unknown is_open_day: int // unknown server_time: string // used in some messages and potentially syncing ``` I believe all but code/msg/server_time are optional and the game will use sane defaults otherwise. server_time can be empty and the game will get the current server time
conco added this to the Required Endpoints - Starting the game milestone 2021-10-25 04:11:21 +00:00
conco closed this issue 2021-10-26 15:10:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 2huCardTD/API#1