Update character datatype
This commit is contained in:
		@ -2,6 +2,9 @@ package datatypes
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// Character represents something that can be skinned
 | 
					// Character represents something that can be skinned
 | 
				
			||||||
type Character struct {
 | 
					type Character struct {
 | 
				
			||||||
	Name string `json:"name"`
 | 
						UID  string `json:"uid"`
 | 
				
			||||||
	Skin Skin   `json:"skin"`
 | 
						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
 | 
					// User is an object representing a user
 | 
				
			||||||
type User struct {
 | 
					type User struct {
 | 
				
			||||||
	UID        string `json:"uid"`
 | 
						UID        string     `json:"uid"`
 | 
				
			||||||
	OwnedSkins Skins  `json:"skins"`
 | 
						OwnedSkins Skins      `json:"skins"`
 | 
				
			||||||
 | 
						Characters Characters `json:"characters"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user