feat: game lobby service
This commit is contained in:
@@ -29,8 +29,9 @@ type GetMyAccountRequest struct{}
|
||||
// UpdateMyProfileRequest stores the authenticated self-service profile
|
||||
// mutation request.
|
||||
type UpdateMyProfileRequest struct {
|
||||
// RaceName stores the requested exact replacement race name.
|
||||
RaceName string `json:"race_name"`
|
||||
// DisplayName stores the requested replacement display name. An empty
|
||||
// value resets the stored display name.
|
||||
DisplayName string `json:"display_name"`
|
||||
}
|
||||
|
||||
// UpdateMySettingsRequest stores the authenticated self-service settings
|
||||
@@ -134,8 +135,12 @@ type Account struct {
|
||||
// Email stores the exact-after-trim login e-mail address.
|
||||
Email string `json:"email"`
|
||||
|
||||
// RaceName stores the current user-facing race name.
|
||||
RaceName string `json:"race_name"`
|
||||
// UserName stores the immutable `player-<suffix>` handle assigned at
|
||||
// account creation.
|
||||
UserName string `json:"user_name"`
|
||||
|
||||
// DisplayName stores the current optional free-text user label.
|
||||
DisplayName string `json:"display_name,omitempty"`
|
||||
|
||||
// PreferredLanguage stores the current BCP 47 language tag.
|
||||
PreferredLanguage string `json:"preferred_language"`
|
||||
|
||||
Reference in New Issue
Block a user