Versions in this module Expand all Collapse all v1 v1.5.0 Mar 13, 2022 v1.4.1 Mar 13, 2022 Changes in this version + var File_protos_user_user_proto protoreflect.FileDescriptor + var User_ServiceDesc = grpc.ServiceDesc + func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer) + type AvailableThemesResponse struct + Themes []*UserTheme + func (*AvailableThemesResponse) Descriptor() ([]byte, []int) + func (*AvailableThemesResponse) ProtoMessage() + func (x *AvailableThemesResponse) GetThemes() []*UserTheme + func (x *AvailableThemesResponse) ProtoReflect() protoreflect.Message + func (x *AvailableThemesResponse) Reset() + func (x *AvailableThemesResponse) String() string + type CredentialTypesForAccountResponse struct + Credentials []*CredentialTypesForAccountResponse_CredentialTypeForAccount + func (*CredentialTypesForAccountResponse) Descriptor() ([]byte, []int) + func (*CredentialTypesForAccountResponse) ProtoMessage() + func (x *CredentialTypesForAccountResponse) GetCredentials() []*CredentialTypesForAccountResponse_CredentialTypeForAccount + func (x *CredentialTypesForAccountResponse) ProtoReflect() protoreflect.Message + func (x *CredentialTypesForAccountResponse) Reset() + func (x *CredentialTypesForAccountResponse) String() string + type CredentialTypesForAccountResponse_CredentialTypeForAccount struct + CredentialAsString string + CredentialDisplayName string + CredentialType enums.BungieCredentialType + IsPublic bool + func (*CredentialTypesForAccountResponse_CredentialTypeForAccount) Descriptor() ([]byte, []int) + func (*CredentialTypesForAccountResponse_CredentialTypeForAccount) ProtoMessage() + func (x *CredentialTypesForAccountResponse_CredentialTypeForAccount) GetCredentialAsString() string + func (x *CredentialTypesForAccountResponse_CredentialTypeForAccount) GetCredentialDisplayName() string + func (x *CredentialTypesForAccountResponse_CredentialTypeForAccount) GetCredentialType() enums.BungieCredentialType + func (x *CredentialTypesForAccountResponse_CredentialTypeForAccount) GetIsPublic() bool + func (x *CredentialTypesForAccountResponse_CredentialTypeForAccount) ProtoReflect() protoreflect.Message + func (x *CredentialTypesForAccountResponse_CredentialTypeForAccount) Reset() + func (x *CredentialTypesForAccountResponse_CredentialTypeForAccount) String() string + type CrossSaveUserMembership struct + ApplicableMembershipTypes []enums.BungieMembershipType + BungieGlobalDisplayName string + BungieGlobalDisplayNameCode int32 + CrossSaveOverride int32 + DisplayName string + IsPublic bool + MembershipId int64 + MembershipType enums.BungieMembershipType + func (*CrossSaveUserMembership) Descriptor() ([]byte, []int) + func (*CrossSaveUserMembership) ProtoMessage() + func (x *CrossSaveUserMembership) GetApplicableMembershipTypes() []enums.BungieMembershipType + func (x *CrossSaveUserMembership) GetBungieGlobalDisplayName() string + func (x *CrossSaveUserMembership) GetBungieGlobalDisplayNameCode() int32 + func (x *CrossSaveUserMembership) GetCrossSaveOverride() int32 + func (x *CrossSaveUserMembership) GetDisplayName() string + func (x *CrossSaveUserMembership) GetIsPublic() bool + func (x *CrossSaveUserMembership) GetMembershipId() int64 + func (x *CrossSaveUserMembership) GetMembershipType() enums.BungieMembershipType + func (x *CrossSaveUserMembership) ProtoReflect() protoreflect.Message + func (x *CrossSaveUserMembership) Reset() + func (x *CrossSaveUserMembership) String() string + type GeneralUser struct + About string + BlizzardDisplayName string + CachedBungieGlobalDisplayName string + CachedBungieGlobalDisplayNameCode int32 + Context *UserToUserContext + DisplayName string + FbDisplayName string + FirstAccess *timestamppb.Timestamp + IsDeleted bool + LastBanReportId int64 + LastUpdate *timestamppb.Timestamp + LegacyPortalUid int64 + Locale string + LocaleInheritDefault bool + MembershipId int64 + NormalizedName string + ProfileBanExpire *timestamppb.Timestamp + ProfilePicture int32 + ProfilePicturePath string + ProfilePictureWidePath string + ProfileTheme int32 + ProfileThemeName string + PsnDisplayName string + ShowActivity bool + ShowGroupMessaging bool + StadiaDisplayName string + StatusDate *timestamppb.Timestamp + StatusText string + SteamDisplayName string + SuccessMessageFlags int64 + TwitchDisplayName string + UniqueName string + UserTitle int32 + UserTitleDisplay string + XboxDisplayName string + func (*GeneralUser) Descriptor() ([]byte, []int) + func (*GeneralUser) ProtoMessage() + func (x *GeneralUser) GetAbout() string + func (x *GeneralUser) GetBlizzardDisplayName() string + func (x *GeneralUser) GetCachedBungieGlobalDisplayName() string + func (x *GeneralUser) GetCachedBungieGlobalDisplayNameCode() int32 + func (x *GeneralUser) GetContext() *UserToUserContext + func (x *GeneralUser) GetDisplayName() string + func (x *GeneralUser) GetFbDisplayName() string + func (x *GeneralUser) GetFirstAccess() *timestamppb.Timestamp + func (x *GeneralUser) GetIsDeleted() bool + func (x *GeneralUser) GetLastBanReportId() int64 + func (x *GeneralUser) GetLastUpdate() *timestamppb.Timestamp + func (x *GeneralUser) GetLegacyPortalUid() int64 + func (x *GeneralUser) GetLocale() string + func (x *GeneralUser) GetLocaleInheritDefault() bool + func (x *GeneralUser) GetMembershipId() int64 + func (x *GeneralUser) GetNormalizedName() string + func (x *GeneralUser) GetProfileBanExpire() *timestamppb.Timestamp + func (x *GeneralUser) GetProfilePicture() int32 + func (x *GeneralUser) GetProfilePicturePath() string + func (x *GeneralUser) GetProfilePictureWidePath() string + func (x *GeneralUser) GetProfileTheme() int32 + func (x *GeneralUser) GetProfileThemeName() string + func (x *GeneralUser) GetPsnDisplayName() string + func (x *GeneralUser) GetShowActivity() bool + func (x *GeneralUser) GetShowGroupMessaging() bool + func (x *GeneralUser) GetStadiaDisplayName() string + func (x *GeneralUser) GetStatusDate() *timestamppb.Timestamp + func (x *GeneralUser) GetStatusText() string + func (x *GeneralUser) GetSteamDisplayName() string + func (x *GeneralUser) GetSuccessMessageFlags() int64 + func (x *GeneralUser) GetTwitchDisplayName() string + func (x *GeneralUser) GetUniqueName() string + func (x *GeneralUser) GetUserTitle() int32 + func (x *GeneralUser) GetUserTitleDisplay() string + func (x *GeneralUser) GetXboxDisplayName() string + func (x *GeneralUser) ProtoReflect() protoreflect.Message + func (x *GeneralUser) Reset() + func (x *GeneralUser) String() string + type HardLinkedCredentialRequest struct + CrType enums.BungieCredentialType + Credential string + func (*HardLinkedCredentialRequest) Descriptor() ([]byte, []int) + func (*HardLinkedCredentialRequest) ProtoMessage() + func (x *HardLinkedCredentialRequest) GetCrType() enums.BungieCredentialType + func (x *HardLinkedCredentialRequest) GetCredential() string + func (x *HardLinkedCredentialRequest) ProtoReflect() protoreflect.Message + func (x *HardLinkedCredentialRequest) Reset() + func (x *HardLinkedCredentialRequest) String() string + type HardLinkedUserMembership struct + CrossSaveOverridenMembershipId int64 + CrossSaveOverridenType int32 + MembershipId int64 + MembershipType enums.BungieMembershipType + func (*HardLinkedUserMembership) Descriptor() ([]byte, []int) + func (*HardLinkedUserMembership) ProtoMessage() + func (x *HardLinkedUserMembership) GetCrossSaveOverridenMembershipId() int64 + func (x *HardLinkedUserMembership) GetCrossSaveOverridenType() int32 + func (x *HardLinkedUserMembership) GetMembershipId() int64 + func (x *HardLinkedUserMembership) GetMembershipType() enums.BungieMembershipType + func (x *HardLinkedUserMembership) ProtoReflect() protoreflect.Message + func (x *HardLinkedUserMembership) Reset() + func (x *HardLinkedUserMembership) String() string + type MembershipDataRequest struct + MembershipId int64 + MembershipType enums.BungieMembershipType + func (*MembershipDataRequest) Descriptor() ([]byte, []int) + func (*MembershipDataRequest) ProtoMessage() + func (x *MembershipDataRequest) GetMembershipId() int64 + func (x *MembershipDataRequest) GetMembershipType() enums.BungieMembershipType + func (x *MembershipDataRequest) ProtoReflect() protoreflect.Message + func (x *MembershipDataRequest) Reset() + func (x *MembershipDataRequest) String() string + type MembershipRequest struct + MembershipId int64 + func (*MembershipRequest) Descriptor() ([]byte, []int) + func (*MembershipRequest) ProtoMessage() + func (x *MembershipRequest) GetMembershipId() int64 + func (x *MembershipRequest) ProtoReflect() protoreflect.Message + func (x *MembershipRequest) Reset() + func (x *MembershipRequest) String() string + type UnimplementedUserServer struct + func (UnimplementedUserServer) GetAvailableThemes(context.Context, *emptypb.Empty) (*AvailableThemesResponse, error) + func (UnimplementedUserServer) GetBungieNetUserByID(context.Context, *MembershipRequest) (*GeneralUser, error) + func (UnimplementedUserServer) GetCredentialTypesForTargetAccount(context.Context, *MembershipRequest) (*CredentialTypesForAccountResponse, error) + func (UnimplementedUserServer) GetMembershipDataByID(context.Context, *MembershipDataRequest) (*UserMembershipData, error) + func (UnimplementedUserServer) GetMembershipDataForCurrentUser(context.Context, *emptypb.Empty) (*UserMembershipData, error) + func (UnimplementedUserServer) GetMembershipFromHardLinkedCredential(context.Context, *HardLinkedCredentialRequest) (*HardLinkedUserMembership, error) + func (UnimplementedUserServer) SearchByGlobalName(context.Context, *UserSearchRequest) (*UserSearchResponse, error) + type UnsafeUserServer interface + type UserClient interface + GetAvailableThemes func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AvailableThemesResponse, error) + GetBungieNetUserByID func(ctx context.Context, in *MembershipRequest, opts ...grpc.CallOption) (*GeneralUser, error) + GetCredentialTypesForTargetAccount func(ctx context.Context, in *MembershipRequest, opts ...grpc.CallOption) (*CredentialTypesForAccountResponse, error) + GetMembershipDataByID func(ctx context.Context, in *MembershipDataRequest, opts ...grpc.CallOption) (*UserMembershipData, error) + GetMembershipDataForCurrentUser func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserMembershipData, error) + GetMembershipFromHardLinkedCredential func(ctx context.Context, in *HardLinkedCredentialRequest, opts ...grpc.CallOption) (*HardLinkedUserMembership, error) + SearchByGlobalName func(ctx context.Context, in *UserSearchRequest, opts ...grpc.CallOption) (*UserSearchResponse, error) + func NewUserClient(cc grpc.ClientConnInterface) UserClient + type UserInfoCard struct + ApplicableMembershipTypes []enums.BungieMembershipType + BungieGlobalDisplayName string + BungieGlobalDisplayNameCode int32 + CrossSaveOverride int32 + DisplayName string + IconPath string + IsPublic bool + MembershipId int64 + MembershipType enums.BungieMembershipType + SupplementalDisplayName string + func (*UserInfoCard) Descriptor() ([]byte, []int) + func (*UserInfoCard) ProtoMessage() + func (x *UserInfoCard) GetApplicableMembershipTypes() []enums.BungieMembershipType + func (x *UserInfoCard) GetBungieGlobalDisplayName() string + func (x *UserInfoCard) GetBungieGlobalDisplayNameCode() int32 + func (x *UserInfoCard) GetCrossSaveOverride() int32 + func (x *UserInfoCard) GetDisplayName() string + func (x *UserInfoCard) GetIconPath() string + func (x *UserInfoCard) GetIsPublic() bool + func (x *UserInfoCard) GetMembershipId() int64 + func (x *UserInfoCard) GetMembershipType() enums.BungieMembershipType + func (x *UserInfoCard) GetSupplementalDisplayName() string + func (x *UserInfoCard) ProtoReflect() protoreflect.Message + func (x *UserInfoCard) Reset() + func (x *UserInfoCard) String() string + type UserMembership struct + BungieGlobalDisplayName string + BungieGlobalDisplayNameCode int32 + DisplayName string + MembershipId int64 + MembershipType enums.BungieMembershipType + func (*UserMembership) Descriptor() ([]byte, []int) + func (*UserMembership) ProtoMessage() + func (x *UserMembership) GetBungieGlobalDisplayName() string + func (x *UserMembership) GetBungieGlobalDisplayNameCode() int32 + func (x *UserMembership) GetDisplayName() string + func (x *UserMembership) GetMembershipId() int64 + func (x *UserMembership) GetMembershipType() enums.BungieMembershipType + func (x *UserMembership) ProtoReflect() protoreflect.Message + func (x *UserMembership) Reset() + func (x *UserMembership) String() string + type UserMembershipData struct + BungieNetUser *GeneralUser + DestinyMemberships []*groups.GroupUserInfoCard + PrimaryMembershipId int64 + func (*UserMembershipData) Descriptor() ([]byte, []int) + func (*UserMembershipData) ProtoMessage() + func (x *UserMembershipData) GetBungieNetUser() *GeneralUser + func (x *UserMembershipData) GetDestinyMemberships() []*groups.GroupUserInfoCard + func (x *UserMembershipData) GetPrimaryMembershipId() int64 + func (x *UserMembershipData) ProtoReflect() protoreflect.Message + func (x *UserMembershipData) Reset() + func (x *UserMembershipData) String() string + type UserSearchPrefixRequest struct + DisplayNamePrefix string + func (*UserSearchPrefixRequest) Descriptor() ([]byte, []int) + func (*UserSearchPrefixRequest) ProtoMessage() + func (x *UserSearchPrefixRequest) GetDisplayNamePrefix() string + func (x *UserSearchPrefixRequest) ProtoReflect() protoreflect.Message + func (x *UserSearchPrefixRequest) Reset() + func (x *UserSearchPrefixRequest) String() string + type UserSearchRequest struct + Page int32 + Prefix *UserSearchPrefixRequest + func (*UserSearchRequest) Descriptor() ([]byte, []int) + func (*UserSearchRequest) ProtoMessage() + func (x *UserSearchRequest) GetPage() int32 + func (x *UserSearchRequest) GetPrefix() *UserSearchPrefixRequest + func (x *UserSearchRequest) ProtoReflect() protoreflect.Message + func (x *UserSearchRequest) Reset() + func (x *UserSearchRequest) String() string + type UserSearchResponse struct + HasMore bool + Page int32 + SearchResults []*UserSearchResponse_UserSearchResponseDetail + func (*UserSearchResponse) Descriptor() ([]byte, []int) + func (*UserSearchResponse) ProtoMessage() + func (x *UserSearchResponse) GetHasMore() bool + func (x *UserSearchResponse) GetPage() int32 + func (x *UserSearchResponse) GetSearchResults() []*UserSearchResponse_UserSearchResponseDetail + func (x *UserSearchResponse) ProtoReflect() protoreflect.Message + func (x *UserSearchResponse) Reset() + func (x *UserSearchResponse) String() string + type UserSearchResponse_UserSearchResponseDetail struct + BungieGlobalDisplayName string + BungieGlobalDisplayNameCode int32 + BungieNetMembershipId int64 + DestinyMemberships []*UserInfoCard + func (*UserSearchResponse_UserSearchResponseDetail) Descriptor() ([]byte, []int) + func (*UserSearchResponse_UserSearchResponseDetail) ProtoMessage() + func (x *UserSearchResponse_UserSearchResponseDetail) GetBungieGlobalDisplayName() string + func (x *UserSearchResponse_UserSearchResponseDetail) GetBungieGlobalDisplayNameCode() int32 + func (x *UserSearchResponse_UserSearchResponseDetail) GetBungieNetMembershipId() int64 + func (x *UserSearchResponse_UserSearchResponseDetail) GetDestinyMemberships() []*UserInfoCard + func (x *UserSearchResponse_UserSearchResponseDetail) ProtoReflect() protoreflect.Message + func (x *UserSearchResponse_UserSearchResponseDetail) Reset() + func (x *UserSearchResponse_UserSearchResponseDetail) String() string + type UserServer interface + GetAvailableThemes func(context.Context, *emptypb.Empty) (*AvailableThemesResponse, error) + GetBungieNetUserByID func(context.Context, *MembershipRequest) (*GeneralUser, error) + GetCredentialTypesForTargetAccount func(context.Context, *MembershipRequest) (*CredentialTypesForAccountResponse, error) + GetMembershipDataByID func(context.Context, *MembershipDataRequest) (*UserMembershipData, error) + GetMembershipDataForCurrentUser func(context.Context, *emptypb.Empty) (*UserMembershipData, error) + GetMembershipFromHardLinkedCredential func(context.Context, *HardLinkedCredentialRequest) (*HardLinkedUserMembership, error) + SearchByGlobalName func(context.Context, *UserSearchRequest) (*UserSearchResponse, error) + type UserTheme struct + UserThemeDescription string + UserThemeId int32 + UserThemeName string + func (*UserTheme) Descriptor() ([]byte, []int) + func (*UserTheme) ProtoMessage() + func (x *UserTheme) GetUserThemeDescription() string + func (x *UserTheme) GetUserThemeId() int32 + func (x *UserTheme) GetUserThemeName() string + func (x *UserTheme) ProtoReflect() protoreflect.Message + func (x *UserTheme) Reset() + func (x *UserTheme) String() string + type UserToUserContext struct + GlobalIgnoreEndDate *timestamppb.Timestamp + IgnoreStatus *ignores.IgnoreResponse + IsFollowing bool + func (*UserToUserContext) Descriptor() ([]byte, []int) + func (*UserToUserContext) ProtoMessage() + func (x *UserToUserContext) GetGlobalIgnoreEndDate() *timestamppb.Timestamp + func (x *UserToUserContext) GetIgnoreStatus() *ignores.IgnoreResponse + func (x *UserToUserContext) GetIsFollowing() bool + func (x *UserToUserContext) ProtoReflect() protoreflect.Message + func (x *UserToUserContext) Reset() + func (x *UserToUserContext) String() string