friend

package
v0.0.0-...-97e2573 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: MIT Imports: 5 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: "PRIVACY_BLOCKED",
	}
	AddFriendResponse_AddFriendResult_value = map[string]int32{
		"REQUEST_SENT":      0,
		"FRIEND_ADDED":      1,
		"ALREADY_FRIENDS":   2,
		"ALREADY_REQUESTED": 3,
		"PRIVACY_BLOCKED":   4,
	}
)

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 File_friend_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AddFriendRequest

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

func (*AddFriendRequest) Descriptor deprecated

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

Deprecated: Use AddFriendRequest.ProtoReflect.Descriptor instead.

func (*AddFriendRequest) GetIssuerId

func (x *AddFriendRequest) GetIssuerId() string

func (*AddFriendRequest) GetIssuerUsername

func (x *AddFriendRequest) GetIssuerUsername() string

func (*AddFriendRequest) GetTargetId

func (x *AddFriendRequest) GetTargetId() string

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 `` /* 136-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_PRIVACY_BLOCKED   AddFriendResponse_AddFriendResult = 4
)

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 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 `` /* 152-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 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 MassDenyFriendRequestRequest

type MassDenyFriendRequestRequest 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 (*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 PlayerRequest

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

func (*PlayerRequest) Descriptor deprecated

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

Deprecated: Use PlayerRequest.ProtoReflect.Descriptor instead.

func (*PlayerRequest) GetPlayerId

func (x *PlayerRequest) GetPlayerId() string

func (*PlayerRequest) ProtoMessage

func (*PlayerRequest) ProtoMessage()

func (*PlayerRequest) ProtoReflect

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

func (*PlayerRequest) Reset

func (x *PlayerRequest) Reset()

func (*PlayerRequest) String

func (x *PlayerRequest) String() string

type RemoveFriendRequest

type RemoveFriendRequest struct {
	IssuerId       string `protobuf:"bytes,1,opt,name=issuer_id,json=issuerId,proto3" json:"issuer_id,omitempty"`
	IssuerUsername string `protobuf:"bytes,2,opt,name=issuer_username,json=issuerUsername,proto3" json:"issuer_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) GetIssuerId

func (x *RemoveFriendRequest) GetIssuerId() string

func (*RemoveFriendRequest) GetIssuerUsername

func (x *RemoveFriendRequest) GetIssuerUsername() 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 `` /* 142-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

Jump to

Keyboard shortcuts

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