diff --git a/datatypes/character.go b/datatypes/character.go index d8d6481..e6ab11d 100644 --- a/datatypes/character.go +++ b/datatypes/character.go @@ -2,6 +2,9 @@ package datatypes // Character represents something that can be skinned type Character struct { - Name string `json:"name"` + UID string `json:"uid"` Skin Skin `json:"skin"` } + +// Characters are an array of Character +type Characters []Character diff --git a/datatypes/user.go b/datatypes/user.go index 51eb889..fc0bcea 100644 --- a/datatypes/user.go +++ b/datatypes/user.go @@ -2,6 +2,7 @@ package datatypes // User is an object representing a user type User struct { - UID string `json:"uid"` - OwnedSkins Skins `json:"skins"` + UID string `json:"uid"` + OwnedSkins Skins `json:"skins"` + Characters Characters `json:"characters"` }