Update character datatype
This commit is contained in:
parent
22199a5c0a
commit
649a4ef882
@ -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
|
||||
|
@ -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"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user