ServerConfigNight.DefFactor int -> float64
This commit is contained in:
parent
722e4a520a
commit
11ff9ddf1b
|
@ -14,7 +14,7 @@ type PlayerHistory struct {
|
|||
Rank int `json:"rank" pg:",use_zero" gqlgen:"rank" xml:"rank"`
|
||||
TribeID int `json:"-" pg:",use_zero" gqlgen:"tribeID" xml:"tribeID"`
|
||||
Tribe *Tribe `json:"tribe,omitempty" gqlgen:"-" xml:"tribe"`
|
||||
CreateDate time.Time `pg:"default:now(),type:DATE,unique:group_1,use_zero" json:"createDate" gqlgen:"createDate" xml:"createDate"`
|
||||
CreateDate time.Time `pg:"default:CURRENT_DATE,type:DATE,unique:group_1,use_zero" json:"createDate" gqlgen:"createDate" xml:"createDate"`
|
||||
}
|
||||
|
||||
type PlayerHistoryFilter struct {
|
||||
|
|
|
@ -134,11 +134,11 @@ type ServerConfigSleep struct {
|
|||
}
|
||||
|
||||
type ServerConfigNight struct {
|
||||
Text string `xml:",chardata" json:"-" gqlgen:"text"`
|
||||
Active int `xml:"active" json:"active" gqlgen:"active"`
|
||||
StartHour int `xml:"start_hour" json:"start_hour" gqlgen:"startHour"`
|
||||
EndHour int `xml:"end_hour" json:"end_hour" gqlgen:"endHour"`
|
||||
DefFactor int `xml:"def_factor" json:"def_factor" gqlgen:"defFactor"`
|
||||
Text string `xml:",chardata" json:"-" gqlgen:"text"`
|
||||
Active int `xml:"active" json:"active" gqlgen:"active"`
|
||||
StartHour int `xml:"start_hour" json:"start_hour" gqlgen:"startHour"`
|
||||
EndHour int `xml:"end_hour" json:"end_hour" gqlgen:"endHour"`
|
||||
DefFactor float64 `xml:"def_factor" json:"def_factor" gqlgen:"defFactor"`
|
||||
}
|
||||
|
||||
type ServerConfigWin struct {
|
||||
|
|
Reference in New Issue