Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameProfile ¶
type GameProfile struct { ID uuid.UUID `json:"id"` Name string `json:"name"` Properties []Property `json:"properties"` }
GameProfile is a Mojang game profile.
func NewOffline ¶
func NewOffline(username string) *GameProfile
NewOffline returns the new GameProfile for an offline profile.
func (*GameProfile) MarshalJSON ¶
func (g *GameProfile) MarshalJSON() ([]byte, error)
func (*GameProfile) String ¶
func (g *GameProfile) String() string
func (*GameProfile) UnmarshalJSON ¶
func (g *GameProfile) UnmarshalJSON(data []byte) (err error)
Click to show internal directories.
Click to hide internal directories.