30 lines
517 B
Go
30 lines
517 B
Go
package client
|
|
|
|
import "git.konjactw.dev/falloutBot/go-mc/chat"
|
|
|
|
//codec:gen
|
|
type ObjectivesData struct {
|
|
Value chat.Message
|
|
HasNumberFormat bool
|
|
//opt:optional:HasNumberFormat
|
|
NumberFormat *ScoreNumberFormat
|
|
}
|
|
|
|
type ObjectivesCreateData struct {
|
|
ObjectivesData
|
|
}
|
|
|
|
type ObjectivesUpdateData struct {
|
|
ObjectivesData
|
|
}
|
|
|
|
//codec:gen
|
|
type UpdateObjectives struct {
|
|
ObjectiveName string
|
|
Mode int8
|
|
//opt:enum:Mode:0
|
|
Create ObjectivesCreateData
|
|
//opt:enum:Mode:2
|
|
Update ObjectivesUpdateData
|
|
}
|