[이민우] 캐릭터 생성 제한 구현 (대신 커밋)
This commit is contained in:
@ -476,9 +476,9 @@ func (mg *Maingate) RegisterHandlers(ctx context.Context, serveMux *http.ServeMu
|
||||
DivisionForUser: DivisionForUser{
|
||||
Priority: 0,
|
||||
State: DivisionState_FullOpen,
|
||||
LockCreateChar: false,
|
||||
},
|
||||
|
||||
LockCreateChar: false,
|
||||
Url: fmt.Sprintf("http://%s/warehouse", ipaddr),
|
||||
},
|
||||
}
|
||||
|
||||
@ -90,13 +90,13 @@ type Maintenance struct {
|
||||
type DivisionForUser struct {
|
||||
Priority int `bson:"priority" json:"priority"`
|
||||
State DivisionStateName `bson:"state" json:"state"`
|
||||
LockCreateChar bool `bson:"lockcreatechar" json:"lockcreatechar"`
|
||||
Maintenance *Maintenance `bson:"maintenance,omitempty" json:"maintenance,omitempty"`
|
||||
}
|
||||
|
||||
type Division struct {
|
||||
DivisionForUser `bson:",inline" json:",inline"`
|
||||
Url string `bson:"url" json:"url"`
|
||||
LockCreateChar bool `bson:"lockcreatechar" json:"lockcreatechar"`
|
||||
}
|
||||
|
||||
type ServiceDescriptionSummary struct {
|
||||
|
||||
Reference in New Issue
Block a user