Compare commits
2 Commits
742262b064
...
26ad821bc0
| Author | SHA1 | Date | |
|---|---|---|---|
|
26ad821bc0
|
|||
|
9f0ebe81e3
|
@@ -304,11 +304,21 @@ func (u *userRouterImpl) QueryProfile(c *gin.Context) {
|
|||||||
func (u *userRouterImpl) PlayerAttributes(c *gin.Context) {
|
func (u *userRouterImpl) PlayerAttributes(c *gin.Context) {
|
||||||
c.JSON(http.StatusOK, gin.H{
|
c.JSON(http.StatusOK, gin.H{
|
||||||
"privileges": gin.H{
|
"privileges": gin.H{
|
||||||
"onlineChat": true,
|
"onlineChat": gin.H{
|
||||||
"multiplayerServer": true,
|
"enabled": true,
|
||||||
"multiplayerRealms": false,
|
},
|
||||||
"telemetry": false,
|
"multiplayerServer": gin.H{
|
||||||
"optionalTelemetry": false,
|
"enabled": true,
|
||||||
|
},
|
||||||
|
"multiplayerRealms": gin.H{
|
||||||
|
"enabled": false,
|
||||||
|
},
|
||||||
|
"telemetry": gin.H{
|
||||||
|
"enabled": false,
|
||||||
|
},
|
||||||
|
"optionalTelemetry": gin.H{
|
||||||
|
"enabled": false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"profanityFilterPreferences": gin.H{
|
"profanityFilterPreferences": gin.H{
|
||||||
"profanityFilterOn": false,
|
"profanityFilterOn": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user