relationship

package
v0.0.0-...-cd9d53d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AddFriendResponse_AddFriendResult_name = map[int32]string{
		0: "REQUEST_SENT",
		1: "FRIEND_ADDED",
		2: "ALREADY_FRIENDS",
		3: "ALREADY_REQUESTED",
		4: "YOU_BLOCKED",
		5: "PRIVACY_BLOCKED",
	}
	AddFriendResponse_AddFriendResult_value = map[string]int32{
		"REQUEST_SENT":      0,
		"FRIEND_ADDED":      1,
		"ALREADY_FRIENDS":   2,
		"ALREADY_REQUESTED": 3,
		"YOU_BLOCKED":       4,
		"PRIVACY_BLOCKED":   5,
	}
)

Enum value maps for AddFriendResponse_AddFriendResult.

View Source
var (
	RemoveFriendResponse_RemoveFriendResult_name = map[int32]string{
		0: "REMOVED",
		1: "NOT_FRIENDS",
	}
	RemoveFriendResponse_RemoveFriendResult_value = map[string]int32{
		"REMOVED":     0,
		"NOT_FRIENDS": 1,
	}
)

Enum value maps for RemoveFriendResponse_RemoveFriendResult.

View Source
var (
	DenyFriendRequestResponse_DenyFriendRequestResult_name = map[int32]string{
		0: "DENIED",
		1: "NO_REQUEST",
	}
	DenyFriendRequestResponse_DenyFriendRequestResult_value = map[string]int32{
		"DENIED":     0,
		"NO_REQUEST": 1,
	}
)

Enum value maps for DenyFriendRequestResponse_DenyFriendRequestResult.

View Source
var (
	CreateBlockResponse_CreateBlockResult_name = map[int32]string{
		0: "SUCCESS",
		1: "ALREADY_BLOCKED",
		2: "FAILED_FRIENDS",
	}
	CreateBlockResponse_CreateBlockResult_value = map[string]int32{
		"SUCCESS":         0,
		"ALREADY_BLOCKED": 1,
		"FAILED_FRIENDS":  2,
	}
)

Enum value maps for CreateBlockResponse_CreateBlockResult.

View Source
var File_relationship_grpc_proto protoreflect.FileDescriptor
View Source
var Relationship_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "emortal.grpc.relationship.Relationship",
	HandlerType: (*RelationshipServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddFriend",
			Handler:    _Relationship_AddFriend_Handler,
		},
		{
			MethodName: "RemoveFriend",
			Handler:    _Relationship_RemoveFriend_Handler,
		},
		{
			MethodName: "DenyFriendRequest",
			Handler:    _Relationship_DenyFriendRequest_Handler,
		},
		{
			MethodName: "MassDenyFriendRequest",
			Handler:    _Relationship_MassDenyFriendRequest_Handler,
		},
		{
			MethodName: "GetFriendList",
			Handler:    _Relationship_GetFriendList_Handler,
		},
		{
			MethodName: "GetPendingFriendRequestList",
			Handler:    _Relationship_GetPendingFriendRequestList_Handler,
		},
		{
			MethodName: "CreateBlock",
			Handler:    _Relationship_CreateBlock_Handler,
		},
		{
			MethodName: "DeleteBlock",
			Handler:    _Relationship_DeleteBlock_Handler,
		},
		{
			MethodName: "IsBlocked",
			Handler:    _Relationship_IsBlocked_Handler,
		},
		{
			MethodName: "GetBlockedList",
			Handler:    _Relationship_GetBlockedList_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "relationship/grpc.proto",
}

Relationship_ServiceDesc is the grpc.ServiceDesc for Relationship service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterRelationshipServer

func RegisterRelationshipServer(s grpc.ServiceRegistrar, srv RelationshipServer)

Types

type AddFriendRequest

type AddFriendRequest struct {
	Request *relationship.FriendRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*AddFriendRequest) Descriptor deprecated

func (*AddFriendRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddFriendRequest.ProtoReflect.Descriptor instead.

func (*AddFriendRequest) GetRequest

func (x *AddFriendRequest) GetRequest() *relationship.FriendRequest

func (*AddFriendRequest) ProtoMessage

func (*AddFriendRequest) ProtoMessage()

func (*AddFriendRequest) ProtoReflect

func (x *AddFriendRequest) ProtoReflect() protoreflect.Message

func (*AddFriendRequest) Reset

func (x *AddFriendRequest) Reset()

func (*AddFriendRequest) String

func (x *AddFriendRequest) String() string

type AddFriendResponse

type AddFriendResponse struct {
	Result       AddFriendResponse_AddFriendResult `` /* 131-byte string literal not displayed */
	FriendsSince *timestamppb.Timestamp            `protobuf:"bytes,2,opt,name=friends_since,json=friendsSince,proto3,oneof" json:"friends_since,omitempty"`
	// contains filtered or unexported fields
}

func (*AddFriendResponse) Descriptor deprecated

func (*AddFriendResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddFriendResponse.ProtoReflect.Descriptor instead.

func (*AddFriendResponse) GetFriendsSince

func (x *AddFriendResponse) GetFriendsSince() *timestamppb.Timestamp

func (*AddFriendResponse) GetResult

func (*AddFriendResponse) ProtoMessage

func (*AddFriendResponse) ProtoMessage()

func (*AddFriendResponse) ProtoReflect

func (x *AddFriendResponse) ProtoReflect() protoreflect.Message

func (*AddFriendResponse) Reset

func (x *AddFriendResponse) Reset()

func (*AddFriendResponse) String

func (x *AddFriendResponse) String() string

type AddFriendResponse_AddFriendResult

type AddFriendResponse_AddFriendResult int32
const (
	AddFriendResponse_REQUEST_SENT      AddFriendResponse_AddFriendResult = 0
	AddFriendResponse_FRIEND_ADDED      AddFriendResponse_AddFriendResult = 1
	AddFriendResponse_ALREADY_FRIENDS   AddFriendResponse_AddFriendResult = 2
	AddFriendResponse_ALREADY_REQUESTED AddFriendResponse_AddFriendResult = 3
	AddFriendResponse_YOU_BLOCKED       AddFriendResponse_AddFriendResult = 4
	AddFriendResponse_PRIVACY_BLOCKED   AddFriendResponse_AddFriendResult = 5
)

func (AddFriendResponse_AddFriendResult) Descriptor

func (AddFriendResponse_AddFriendResult) Enum

func (AddFriendResponse_AddFriendResult) EnumDescriptor deprecated

func (AddFriendResponse_AddFriendResult) EnumDescriptor() ([]byte, []int)

Deprecated: Use AddFriendResponse_AddFriendResult.Descriptor instead.

func (AddFriendResponse_AddFriendResult) Number

func (AddFriendResponse_AddFriendResult) String

func (AddFriendResponse_AddFriendResult) Type

type BlockedListResponse

type BlockedListResponse struct {
	BlockedPlayerIds []string `protobuf:"bytes,1,rep,name=blocked_player_ids,json=blockedPlayerIds,proto3" json:"blocked_player_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockedListResponse) Descriptor deprecated

func (*BlockedListResponse) Descriptor() ([]byte, []int)

Deprecated: Use BlockedListResponse.ProtoReflect.Descriptor instead.

func (*BlockedListResponse) GetBlockedPlayerIds

func (x *BlockedListResponse) GetBlockedPlayerIds() []string

func (*BlockedListResponse) ProtoMessage

func (*BlockedListResponse) ProtoMessage()

func (*BlockedListResponse) ProtoReflect

func (x *BlockedListResponse) ProtoReflect() protoreflect.Message

func (*BlockedListResponse) Reset

func (x *BlockedListResponse) Reset()

func (*BlockedListResponse) String

func (x *BlockedListResponse) String() string

type CreateBlockRequest

type CreateBlockRequest struct {
	Block *relationship.PlayerBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBlockRequest) Descriptor deprecated

func (*CreateBlockRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateBlockRequest.ProtoReflect.Descriptor instead.

func (*CreateBlockRequest) GetBlock

func (*CreateBlockRequest) ProtoMessage

func (*CreateBlockRequest) ProtoMessage()

func (*CreateBlockRequest) ProtoReflect

func (x *CreateBlockRequest) ProtoReflect() protoreflect.Message

func (*CreateBlockRequest) Reset

func (x *CreateBlockRequest) Reset()

func (*CreateBlockRequest) String

func (x *CreateBlockRequest) String() string

type CreateBlockResponse

type CreateBlockResponse struct {
	Result CreateBlockResponse_CreateBlockResult `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateBlockResponse) Descriptor deprecated

func (*CreateBlockResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateBlockResponse.ProtoReflect.Descriptor instead.

func (*CreateBlockResponse) GetResult

func (*CreateBlockResponse) ProtoMessage

func (*CreateBlockResponse) ProtoMessage()

func (*CreateBlockResponse) ProtoReflect

func (x *CreateBlockResponse) ProtoReflect() protoreflect.Message

func (*CreateBlockResponse) Reset

func (x *CreateBlockResponse) Reset()

func (*CreateBlockResponse) String

func (x *CreateBlockResponse) String() string

type CreateBlockResponse_CreateBlockResult

type CreateBlockResponse_CreateBlockResult int32
const (
	CreateBlockResponse_SUCCESS         CreateBlockResponse_CreateBlockResult = 0
	CreateBlockResponse_ALREADY_BLOCKED CreateBlockResponse_CreateBlockResult = 1
	// You can't block someone you're friends with
	CreateBlockResponse_FAILED_FRIENDS CreateBlockResponse_CreateBlockResult = 2
)

func (CreateBlockResponse_CreateBlockResult) Descriptor

func (CreateBlockResponse_CreateBlockResult) Enum

func (CreateBlockResponse_CreateBlockResult) EnumDescriptor deprecated

func (CreateBlockResponse_CreateBlockResult) EnumDescriptor() ([]byte, []int)

Deprecated: Use CreateBlockResponse_CreateBlockResult.Descriptor instead.

func (CreateBlockResponse_CreateBlockResult) Number

func (CreateBlockResponse_CreateBlockResult) String

func (CreateBlockResponse_CreateBlockResult) Type

type DeleteBlockRequest

type DeleteBlockRequest struct {
	IssuerId string `protobuf:"bytes,1,opt,name=issuer_id,json=issuerId,proto3" json:"issuer_id,omitempty"`
	TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBlockRequest) Descriptor deprecated

func (*DeleteBlockRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBlockRequest.ProtoReflect.Descriptor instead.

func (*DeleteBlockRequest) GetIssuerId

func (x *DeleteBlockRequest) GetIssuerId() string

func (*DeleteBlockRequest) GetTargetId

func (x *DeleteBlockRequest) GetTargetId() string

func (*DeleteBlockRequest) ProtoMessage

func (*DeleteBlockRequest) ProtoMessage()

func (*DeleteBlockRequest) ProtoReflect

func (x *DeleteBlockRequest) ProtoReflect() protoreflect.Message

func (*DeleteBlockRequest) Reset

func (x *DeleteBlockRequest) Reset()

func (*DeleteBlockRequest) String

func (x *DeleteBlockRequest) String() string

type DeleteBlockResponse

type DeleteBlockResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteBlockResponse) Descriptor deprecated

func (*DeleteBlockResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBlockResponse.ProtoReflect.Descriptor instead.

func (*DeleteBlockResponse) ProtoMessage

func (*DeleteBlockResponse) ProtoMessage()

func (*DeleteBlockResponse) ProtoReflect

func (x *DeleteBlockResponse) ProtoReflect() protoreflect.Message

func (*DeleteBlockResponse) Reset

func (x *DeleteBlockResponse) Reset()

func (*DeleteBlockResponse) String

func (x *DeleteBlockResponse) String() string

type DenyFriendRequestRequest

type DenyFriendRequestRequest struct {
	IssuerId string `protobuf:"bytes,1,opt,name=issuer_id,json=issuerId,proto3" json:"issuer_id,omitempty"`
	TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DenyFriendRequestRequest) Descriptor deprecated

func (*DenyFriendRequestRequest) Descriptor() ([]byte, []int)

Deprecated: Use DenyFriendRequestRequest.ProtoReflect.Descriptor instead.

func (*DenyFriendRequestRequest) GetIssuerId

func (x *DenyFriendRequestRequest) GetIssuerId() string

func (*DenyFriendRequestRequest) GetTargetId

func (x *DenyFriendRequestRequest) GetTargetId() string

func (*DenyFriendRequestRequest) ProtoMessage

func (*DenyFriendRequestRequest) ProtoMessage()

func (*DenyFriendRequestRequest) ProtoReflect

func (x *DenyFriendRequestRequest) ProtoReflect() protoreflect.Message

func (*DenyFriendRequestRequest) Reset

func (x *DenyFriendRequestRequest) Reset()

func (*DenyFriendRequestRequest) String

func (x *DenyFriendRequestRequest) String() string

type DenyFriendRequestResponse

type DenyFriendRequestResponse struct {
	Result DenyFriendRequestResponse_DenyFriendRequestResult `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DenyFriendRequestResponse) Descriptor deprecated

func (*DenyFriendRequestResponse) Descriptor() ([]byte, []int)

Deprecated: Use DenyFriendRequestResponse.ProtoReflect.Descriptor instead.

func (*DenyFriendRequestResponse) GetResult

func (*DenyFriendRequestResponse) ProtoMessage

func (*DenyFriendRequestResponse) ProtoMessage()

func (*DenyFriendRequestResponse) ProtoReflect

func (*DenyFriendRequestResponse) Reset

func (x *DenyFriendRequestResponse) Reset()

func (*DenyFriendRequestResponse) String

func (x *DenyFriendRequestResponse) String() string

type DenyFriendRequestResponse_DenyFriendRequestResult

type DenyFriendRequestResponse_DenyFriendRequestResult int32
const (
	DenyFriendRequestResponse_DENIED     DenyFriendRequestResponse_DenyFriendRequestResult = 0
	DenyFriendRequestResponse_NO_REQUEST DenyFriendRequestResponse_DenyFriendRequestResult = 1
)

func (DenyFriendRequestResponse_DenyFriendRequestResult) Descriptor

func (DenyFriendRequestResponse_DenyFriendRequestResult) Enum

func (DenyFriendRequestResponse_DenyFriendRequestResult) EnumDescriptor deprecated

Deprecated: Use DenyFriendRequestResponse_DenyFriendRequestResult.Descriptor instead.

func (DenyFriendRequestResponse_DenyFriendRequestResult) Number

func (DenyFriendRequestResponse_DenyFriendRequestResult) String

func (DenyFriendRequestResponse_DenyFriendRequestResult) Type

type FriendListResponse

type FriendListResponse struct {
	Friends []*FriendListResponse_FriendListPlayer `protobuf:"bytes,1,rep,name=friends,proto3" json:"friends,omitempty"`
	// contains filtered or unexported fields
}

func (*FriendListResponse) Descriptor deprecated

func (*FriendListResponse) Descriptor() ([]byte, []int)

Deprecated: Use FriendListResponse.ProtoReflect.Descriptor instead.

func (*FriendListResponse) GetFriends

func (*FriendListResponse) ProtoMessage

func (*FriendListResponse) ProtoMessage()

func (*FriendListResponse) ProtoReflect

func (x *FriendListResponse) ProtoReflect() protoreflect.Message

func (*FriendListResponse) Reset

func (x *FriendListResponse) Reset()

func (*FriendListResponse) String

func (x *FriendListResponse) String() string

type FriendListResponse_FriendListPlayer

type FriendListResponse_FriendListPlayer struct {
	Id           string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	FriendsSince *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=friends_since,json=friendsSince,proto3" json:"friends_since,omitempty"`
	// contains filtered or unexported fields
}

func (*FriendListResponse_FriendListPlayer) Descriptor deprecated

func (*FriendListResponse_FriendListPlayer) Descriptor() ([]byte, []int)

Deprecated: Use FriendListResponse_FriendListPlayer.ProtoReflect.Descriptor instead.

func (*FriendListResponse_FriendListPlayer) GetFriendsSince

func (*FriendListResponse_FriendListPlayer) GetId

func (*FriendListResponse_FriendListPlayer) ProtoMessage

func (*FriendListResponse_FriendListPlayer) ProtoMessage()

func (*FriendListResponse_FriendListPlayer) ProtoReflect

func (*FriendListResponse_FriendListPlayer) Reset

func (*FriendListResponse_FriendListPlayer) String

type GetBlockedListRequest

type GetBlockedListRequest struct {
	PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockedListRequest) Descriptor deprecated

func (*GetBlockedListRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBlockedListRequest.ProtoReflect.Descriptor instead.

func (*GetBlockedListRequest) GetPlayerId

func (x *GetBlockedListRequest) GetPlayerId() string

func (*GetBlockedListRequest) ProtoMessage

func (*GetBlockedListRequest) ProtoMessage()

func (*GetBlockedListRequest) ProtoReflect

func (x *GetBlockedListRequest) ProtoReflect() protoreflect.Message

func (*GetBlockedListRequest) Reset

func (x *GetBlockedListRequest) Reset()

func (*GetBlockedListRequest) String

func (x *GetBlockedListRequest) String() string

type GetFriendListRequest

type GetFriendListRequest struct {
	PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFriendListRequest) Descriptor deprecated

func (*GetFriendListRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetFriendListRequest.ProtoReflect.Descriptor instead.

func (*GetFriendListRequest) GetPlayerId

func (x *GetFriendListRequest) GetPlayerId() string

func (*GetFriendListRequest) ProtoMessage

func (*GetFriendListRequest) ProtoMessage()

func (*GetFriendListRequest) ProtoReflect

func (x *GetFriendListRequest) ProtoReflect() protoreflect.Message

func (*GetFriendListRequest) Reset

func (x *GetFriendListRequest) Reset()

func (*GetFriendListRequest) String

func (x *GetFriendListRequest) String() string

type GetPendingFriendRequestListRequest

type GetPendingFriendRequestListRequest struct {
	IssuerId string `protobuf:"bytes,1,opt,name=issuer_id,json=issuerId,proto3" json:"issuer_id,omitempty"`
	Incoming bool   `protobuf:"varint,2,opt,name=incoming,proto3" json:"incoming,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPendingFriendRequestListRequest) Descriptor deprecated

func (*GetPendingFriendRequestListRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPendingFriendRequestListRequest.ProtoReflect.Descriptor instead.

func (*GetPendingFriendRequestListRequest) GetIncoming

func (x *GetPendingFriendRequestListRequest) GetIncoming() bool

func (*GetPendingFriendRequestListRequest) GetIssuerId

func (x *GetPendingFriendRequestListRequest) GetIssuerId() string

func (*GetPendingFriendRequestListRequest) ProtoMessage

func (*GetPendingFriendRequestListRequest) ProtoMessage()

func (*GetPendingFriendRequestListRequest) ProtoReflect

func (*GetPendingFriendRequestListRequest) Reset

func (*GetPendingFriendRequestListRequest) String

type IsBlockedRequest

type IsBlockedRequest struct {
	IssuerId string `protobuf:"bytes,1,opt,name=issuer_id,json=issuerId,proto3" json:"issuer_id,omitempty"`
	TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// contains filtered or unexported fields
}

func (*IsBlockedRequest) Descriptor deprecated

func (*IsBlockedRequest) Descriptor() ([]byte, []int)

Deprecated: Use IsBlockedRequest.ProtoReflect.Descriptor instead.

func (*IsBlockedRequest) GetIssuerId

func (x *IsBlockedRequest) GetIssuerId() string

func (*IsBlockedRequest) GetTargetId

func (x *IsBlockedRequest) GetTargetId() string

func (*IsBlockedRequest) ProtoMessage

func (*IsBlockedRequest) ProtoMessage()

func (*IsBlockedRequest) ProtoReflect

func (x *IsBlockedRequest) ProtoReflect() protoreflect.Message

func (*IsBlockedRequest) Reset

func (x *IsBlockedRequest) Reset()

func (*IsBlockedRequest) String

func (x *IsBlockedRequest) String() string

type IsBlockedResponse

type IsBlockedResponse struct {

	// block is not present if not blocked, otherwise it is present
	// If both players have blocked each other, the issuer's block is prioritised.
	Block *relationship.PlayerBlock `protobuf:"bytes,1,opt,name=block,proto3,oneof" json:"block,omitempty"`
	// contains filtered or unexported fields
}

func (*IsBlockedResponse) Descriptor deprecated

func (*IsBlockedResponse) Descriptor() ([]byte, []int)

Deprecated: Use IsBlockedResponse.ProtoReflect.Descriptor instead.

func (*IsBlockedResponse) GetBlock

func (*IsBlockedResponse) ProtoMessage

func (*IsBlockedResponse) ProtoMessage()

func (*IsBlockedResponse) ProtoReflect

func (x *IsBlockedResponse) ProtoReflect() protoreflect.Message

func (*IsBlockedResponse) Reset

func (x *IsBlockedResponse) Reset()

func (*IsBlockedResponse) String

func (x *IsBlockedResponse) String() string

type MassDenyFriendRequestRequest

type MassDenyFriendRequestRequest struct {
	IssuerId string `protobuf:"bytes,1,opt,name=issuer_id,json=issuerId,proto3" json:"issuer_id,omitempty"`
	// incoming, will deny all incoming requests
	// otherwise, will deny all outgoing requests
	Incoming bool `protobuf:"varint,2,opt,name=incoming,proto3" json:"incoming,omitempty"`
	// contains filtered or unexported fields
}

func (*MassDenyFriendRequestRequest) Descriptor deprecated

func (*MassDenyFriendRequestRequest) Descriptor() ([]byte, []int)

Deprecated: Use MassDenyFriendRequestRequest.ProtoReflect.Descriptor instead.

func (*MassDenyFriendRequestRequest) GetIncoming

func (x *MassDenyFriendRequestRequest) GetIncoming() bool

func (*MassDenyFriendRequestRequest) GetIssuerId

func (x *MassDenyFriendRequestRequest) GetIssuerId() string

func (*MassDenyFriendRequestRequest) ProtoMessage

func (*MassDenyFriendRequestRequest) ProtoMessage()

func (*MassDenyFriendRequestRequest) ProtoReflect

func (*MassDenyFriendRequestRequest) Reset

func (x *MassDenyFriendRequestRequest) Reset()

func (*MassDenyFriendRequestRequest) String

type MassDenyFriendRequestResponse

type MassDenyFriendRequestResponse struct {
	RequestsDenied uint32 `protobuf:"varint,1,opt,name=requests_denied,json=requestsDenied,proto3" json:"requests_denied,omitempty"`
	// contains filtered or unexported fields
}

func (*MassDenyFriendRequestResponse) Descriptor deprecated

func (*MassDenyFriendRequestResponse) Descriptor() ([]byte, []int)

Deprecated: Use MassDenyFriendRequestResponse.ProtoReflect.Descriptor instead.

func (*MassDenyFriendRequestResponse) GetRequestsDenied

func (x *MassDenyFriendRequestResponse) GetRequestsDenied() uint32

func (*MassDenyFriendRequestResponse) ProtoMessage

func (*MassDenyFriendRequestResponse) ProtoMessage()

func (*MassDenyFriendRequestResponse) ProtoReflect

func (*MassDenyFriendRequestResponse) Reset

func (x *MassDenyFriendRequestResponse) Reset()

func (*MassDenyFriendRequestResponse) String

type PendingFriendListResponse

type PendingFriendListResponse struct {
	Requests []*PendingFriendListResponse_RequestedFriendPlayer `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*PendingFriendListResponse) Descriptor deprecated

func (*PendingFriendListResponse) Descriptor() ([]byte, []int)

Deprecated: Use PendingFriendListResponse.ProtoReflect.Descriptor instead.

func (*PendingFriendListResponse) GetRequests

func (*PendingFriendListResponse) ProtoMessage

func (*PendingFriendListResponse) ProtoMessage()

func (*PendingFriendListResponse) ProtoReflect

func (*PendingFriendListResponse) Reset

func (x *PendingFriendListResponse) Reset()

func (*PendingFriendListResponse) String

func (x *PendingFriendListResponse) String() string

type PendingFriendListResponse_RequestedFriendPlayer

type PendingFriendListResponse_RequestedFriendPlayer struct {
	RequesterId string                 `protobuf:"bytes,1,opt,name=requester_id,json=requesterId,proto3" json:"requester_id,omitempty"`
	TargetId    string                 `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	RequestTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"`
	// contains filtered or unexported fields
}

func (*PendingFriendListResponse_RequestedFriendPlayer) Descriptor deprecated

Deprecated: Use PendingFriendListResponse_RequestedFriendPlayer.ProtoReflect.Descriptor instead.

func (*PendingFriendListResponse_RequestedFriendPlayer) GetRequestTime

func (*PendingFriendListResponse_RequestedFriendPlayer) GetRequesterId

func (*PendingFriendListResponse_RequestedFriendPlayer) GetTargetId

func (*PendingFriendListResponse_RequestedFriendPlayer) ProtoMessage

func (*PendingFriendListResponse_RequestedFriendPlayer) ProtoReflect

func (*PendingFriendListResponse_RequestedFriendPlayer) Reset

func (*PendingFriendListResponse_RequestedFriendPlayer) String

type RelationshipClient

RelationshipClient is the client API for Relationship service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type RelationshipServer

RelationshipServer is the server API for Relationship service. All implementations must embed UnimplementedRelationshipServer for forward compatibility

type RemoveFriendRequest

type RemoveFriendRequest struct {
	SenderId       string `protobuf:"bytes,1,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
	SenderUsername string `protobuf:"bytes,2,opt,name=sender_username,json=senderUsername,proto3" json:"sender_username,omitempty"`
	TargetId       string `protobuf:"bytes,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveFriendRequest) Descriptor deprecated

func (*RemoveFriendRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveFriendRequest.ProtoReflect.Descriptor instead.

func (*RemoveFriendRequest) GetSenderId

func (x *RemoveFriendRequest) GetSenderId() string

func (*RemoveFriendRequest) GetSenderUsername

func (x *RemoveFriendRequest) GetSenderUsername() string

func (*RemoveFriendRequest) GetTargetId

func (x *RemoveFriendRequest) GetTargetId() string

func (*RemoveFriendRequest) ProtoMessage

func (*RemoveFriendRequest) ProtoMessage()

func (*RemoveFriendRequest) ProtoReflect

func (x *RemoveFriendRequest) ProtoReflect() protoreflect.Message

func (*RemoveFriendRequest) Reset

func (x *RemoveFriendRequest) Reset()

func (*RemoveFriendRequest) String

func (x *RemoveFriendRequest) String() string

type RemoveFriendResponse

type RemoveFriendResponse struct {
	Result RemoveFriendResponse_RemoveFriendResult `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RemoveFriendResponse) Descriptor deprecated

func (*RemoveFriendResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveFriendResponse.ProtoReflect.Descriptor instead.

func (*RemoveFriendResponse) GetResult

func (*RemoveFriendResponse) ProtoMessage

func (*RemoveFriendResponse) ProtoMessage()

func (*RemoveFriendResponse) ProtoReflect

func (x *RemoveFriendResponse) ProtoReflect() protoreflect.Message

func (*RemoveFriendResponse) Reset

func (x *RemoveFriendResponse) Reset()

func (*RemoveFriendResponse) String

func (x *RemoveFriendResponse) String() string

type RemoveFriendResponse_RemoveFriendResult

type RemoveFriendResponse_RemoveFriendResult int32
const (
	RemoveFriendResponse_REMOVED     RemoveFriendResponse_RemoveFriendResult = 0
	RemoveFriendResponse_NOT_FRIENDS RemoveFriendResponse_RemoveFriendResult = 1
)

func (RemoveFriendResponse_RemoveFriendResult) Descriptor

func (RemoveFriendResponse_RemoveFriendResult) Enum

func (RemoveFriendResponse_RemoveFriendResult) EnumDescriptor deprecated

func (RemoveFriendResponse_RemoveFriendResult) EnumDescriptor() ([]byte, []int)

Deprecated: Use RemoveFriendResponse_RemoveFriendResult.Descriptor instead.

func (RemoveFriendResponse_RemoveFriendResult) Number

func (RemoveFriendResponse_RemoveFriendResult) String

func (RemoveFriendResponse_RemoveFriendResult) Type

type UnimplementedRelationshipServer

type UnimplementedRelationshipServer struct {
}

UnimplementedRelationshipServer must be embedded to have forward compatible implementations.

func (UnimplementedRelationshipServer) AddFriend

func (UnimplementedRelationshipServer) CreateBlock

func (UnimplementedRelationshipServer) DeleteBlock

func (UnimplementedRelationshipServer) DenyFriendRequest

func (UnimplementedRelationshipServer) GetBlockedList

func (UnimplementedRelationshipServer) GetFriendList

func (UnimplementedRelationshipServer) IsBlocked

func (UnimplementedRelationshipServer) RemoveFriend

type UnsafeRelationshipServer

type UnsafeRelationshipServer interface {
	// contains filtered or unexported methods
}

UnsafeRelationshipServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RelationshipServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL