Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNilAccount = errors.New("account is nil")
Functions ¶
func WriteProperties ¶
func WriteProperties(account *accounts.Account, properties Properties) error
Types ¶
type Properties ¶
type Properties struct { ID string `mapstructure:"minecraft:id"` // Minecraft account ID. Username string `mapstructure:"minecraft:username"` // Minecraft account username. }
Properties represents Minecraft account properties.
func ReadProperties ¶
func ReadProperties(account *accounts.Account) (properties Properties, err error)
Click to show internal directories.
Click to hide internal directories.