party

package
v0.0.0-...-66adcdc Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	PartyService_EmptyParty_FullMethodName      = "/emortal.grpc.party.PartyService/EmptyParty"
	PartyService_GetParty_FullMethodName        = "/emortal.grpc.party.PartyService/GetParty"
	PartyService_SetOpenParty_FullMethodName    = "/emortal.grpc.party.PartyService/SetOpenParty"
	PartyService_GetPartyInvites_FullMethodName = "/emortal.grpc.party.PartyService/GetPartyInvites"
	PartyService_InvitePlayer_FullMethodName    = "/emortal.grpc.party.PartyService/InvitePlayer"
	PartyService_JoinParty_FullMethodName       = "/emortal.grpc.party.PartyService/JoinParty"
	PartyService_LeaveParty_FullMethodName      = "/emortal.grpc.party.PartyService/LeaveParty"
	PartyService_KickPlayer_FullMethodName      = "/emortal.grpc.party.PartyService/KickPlayer"
	PartyService_SetPartyLeader_FullMethodName  = "/emortal.grpc.party.PartyService/SetPartyLeader"
)
View Source
const (
	PartySettingsService_GetPartySettings_FullMethodName    = "/emortal.grpc.party.PartySettingsService/GetPartySettings"
	PartySettingsService_UpdatePartySettings_FullMethodName = "/emortal.grpc.party.PartySettingsService/UpdatePartySettings"
)
View Source
const (
	EventService_CreateEvent_FullMethodName = "/emortal.grpc.party.EventService/CreateEvent"
	EventService_UpdateEvent_FullMethodName = "/emortal.grpc.party.EventService/UpdateEvent"
	EventService_DeleteEvent_FullMethodName = "/emortal.grpc.party.EventService/DeleteEvent"
	EventService_ListEvents_FullMethodName  = "/emortal.grpc.party.EventService/ListEvents"
)

Variables

View Source
var (
	EmptyPartyErrorResponse_ErrorType_name = map[int32]string{
		0: "NOT_LEADER",
	}
	EmptyPartyErrorResponse_ErrorType_value = map[string]int32{
		"NOT_LEADER": 0,
	}
)

Enum value maps for EmptyPartyErrorResponse_ErrorType.

View Source
var (
	SetOpenPartyErrorResponse_ErrorType_name = map[int32]string{
		0: "NOT_LEADER",
	}
	SetOpenPartyErrorResponse_ErrorType_value = map[string]int32{
		"NOT_LEADER": 0,
	}
)

Enum value maps for SetOpenPartyErrorResponse_ErrorType.

View Source
var (
	InvitePlayerErrorResponse_ErrorType_name = map[int32]string{
		0: "TARGET_ALREADY_IN_SELF_PARTY",
		2: "TARGET_ALREADY_INVITED",
		4: "NO_PERMISSION",
	}
	InvitePlayerErrorResponse_ErrorType_value = map[string]int32{
		"TARGET_ALREADY_IN_SELF_PARTY": 0,
		"TARGET_ALREADY_INVITED":       2,
		"NO_PERMISSION":                4,
	}
)

Enum value maps for InvitePlayerErrorResponse_ErrorType.

View Source
var (
	JoinPartyErrorResponse_ErrorType_name = map[int32]string{
		0: "ALREADY_IN_SAME_PARTY",
		1: "NOT_INVITED",
	}
	JoinPartyErrorResponse_ErrorType_value = map[string]int32{
		"ALREADY_IN_SAME_PARTY": 0,
		"NOT_INVITED":           1,
	}
)

Enum value maps for JoinPartyErrorResponse_ErrorType.

View Source
var (
	LeavePartyErrorResponse_ErrorType_name = map[int32]string{
		0: "CANNOT_LEAVE_ONLY_MEMBER",
	}
	LeavePartyErrorResponse_ErrorType_value = map[string]int32{
		"CANNOT_LEAVE_ONLY_MEMBER": 0,
	}
)

Enum value maps for LeavePartyErrorResponse_ErrorType.

View Source
var (
	KickPlayerErrorResponse_ErrorType_name = map[int32]string{
		0: "TARGET_NOT_IN_PARTY",
		1: "SELF_NOT_LEADER",
		2: "TARGET_IS_LEADER",
	}
	KickPlayerErrorResponse_ErrorType_value = map[string]int32{
		"TARGET_NOT_IN_PARTY": 0,
		"SELF_NOT_LEADER":     1,
		"TARGET_IS_LEADER":    2,
	}
)

Enum value maps for KickPlayerErrorResponse_ErrorType.

View Source
var (
	SetPartyLeaderErrorResponse_ErrorType_name = map[int32]string{
		0: "TARGET_NOT_IN_PARTY",
		1: "SELF_NOT_LEADER",
	}
	SetPartyLeaderErrorResponse_ErrorType_value = map[string]int32{
		"TARGET_NOT_IN_PARTY": 0,
		"SELF_NOT_LEADER":     1,
	}
)

Enum value maps for SetPartyLeaderErrorResponse_ErrorType.

View Source
var (
	DeleteEventErrorResponse_ErrorType_name = map[int32]string{
		0: "NOT_FOUND",
		1: "NO_CURRENT_EVENT",
	}
	DeleteEventErrorResponse_ErrorType_value = map[string]int32{
		"NOT_FOUND":        0,
		"NO_CURRENT_EVENT": 1,
	}
)

Enum value maps for DeleteEventErrorResponse_ErrorType.

View Source
var EventService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "emortal.grpc.party.EventService",
	HandlerType: (*EventServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateEvent",
			Handler:    _EventService_CreateEvent_Handler,
		},
		{
			MethodName: "UpdateEvent",
			Handler:    _EventService_UpdateEvent_Handler,
		},
		{
			MethodName: "DeleteEvent",
			Handler:    _EventService_DeleteEvent_Handler,
		},
		{
			MethodName: "ListEvents",
			Handler:    _EventService_ListEvents_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "party/grpc.proto",
}

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

View Source
var File_party_grpc_proto protoreflect.FileDescriptor
View Source
var PartyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "emortal.grpc.party.PartyService",
	HandlerType: (*PartyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EmptyParty",
			Handler:    _PartyService_EmptyParty_Handler,
		},
		{
			MethodName: "GetParty",
			Handler:    _PartyService_GetParty_Handler,
		},
		{
			MethodName: "SetOpenParty",
			Handler:    _PartyService_SetOpenParty_Handler,
		},
		{
			MethodName: "GetPartyInvites",
			Handler:    _PartyService_GetPartyInvites_Handler,
		},
		{
			MethodName: "InvitePlayer",
			Handler:    _PartyService_InvitePlayer_Handler,
		},
		{
			MethodName: "JoinParty",
			Handler:    _PartyService_JoinParty_Handler,
		},
		{
			MethodName: "LeaveParty",
			Handler:    _PartyService_LeaveParty_Handler,
		},
		{
			MethodName: "KickPlayer",
			Handler:    _PartyService_KickPlayer_Handler,
		},
		{
			MethodName: "SetPartyLeader",
			Handler:    _PartyService_SetPartyLeader_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "party/grpc.proto",
}

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

View Source
var PartySettingsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "emortal.grpc.party.PartySettingsService",
	HandlerType: (*PartySettingsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPartySettings",
			Handler:    _PartySettingsService_GetPartySettings_Handler,
		},
		{
			MethodName: "UpdatePartySettings",
			Handler:    _PartySettingsService_UpdatePartySettings_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "party/grpc.proto",
}

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

Functions

func RegisterEventServiceServer

func RegisterEventServiceServer(s grpc.ServiceRegistrar, srv EventServiceServer)

func RegisterPartyServiceServer

func RegisterPartyServiceServer(s grpc.ServiceRegistrar, srv PartyServiceServer)

func RegisterPartySettingsServiceServer

func RegisterPartySettingsServiceServer(s grpc.ServiceRegistrar, srv PartySettingsServiceServer)

Types

type CreateEventRequest

type CreateEventRequest struct {

	// owner_id, a string ID that's a name e.g. 'sunday_1_tourney'
	EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	// owner_id of type UUID
	OwnerId       string                 `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	OwnerUsername string                 `protobuf:"bytes,3,opt,name=owner_username,json=ownerUsername,proto3" json:"owner_username,omitempty"`
	OwnerSkin     *common.PlayerSkin     `protobuf:"bytes,4,opt,name=owner_skin,json=ownerSkin,proto3" json:"owner_skin,omitempty"`
	DisplayTime   *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=display_time,json=displayTime,proto3,oneof" json:"display_time,omitempty"`
	StartTime     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEventRequest) Descriptor deprecated

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

Deprecated: Use CreateEventRequest.ProtoReflect.Descriptor instead.

func (*CreateEventRequest) GetDisplayTime

func (x *CreateEventRequest) GetDisplayTime() *timestamppb.Timestamp

func (*CreateEventRequest) GetEventId

func (x *CreateEventRequest) GetEventId() string

func (*CreateEventRequest) GetOwnerId

func (x *CreateEventRequest) GetOwnerId() string

func (*CreateEventRequest) GetOwnerSkin

func (x *CreateEventRequest) GetOwnerSkin() *common.PlayerSkin

func (*CreateEventRequest) GetOwnerUsername

func (x *CreateEventRequest) GetOwnerUsername() string

func (*CreateEventRequest) GetStartTime

func (x *CreateEventRequest) GetStartTime() *timestamppb.Timestamp

func (*CreateEventRequest) ProtoMessage

func (*CreateEventRequest) ProtoMessage()

func (*CreateEventRequest) ProtoReflect

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

func (*CreateEventRequest) Reset

func (x *CreateEventRequest) Reset()

func (*CreateEventRequest) String

func (x *CreateEventRequest) String() string

type CreateEventResponse

type CreateEventResponse struct {
	Event *party.EventData `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEventResponse) Descriptor deprecated

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

Deprecated: Use CreateEventResponse.ProtoReflect.Descriptor instead.

func (*CreateEventResponse) GetEvent

func (x *CreateEventResponse) GetEvent() *party.EventData

func (*CreateEventResponse) ProtoMessage

func (*CreateEventResponse) ProtoMessage()

func (*CreateEventResponse) ProtoReflect

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

func (*CreateEventResponse) Reset

func (x *CreateEventResponse) Reset()

func (*CreateEventResponse) String

func (x *CreateEventResponse) String() string

type DeleteEventErrorResponse

type DeleteEventErrorResponse struct {
	ErrorType DeleteEventErrorResponse_ErrorType `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeleteEventErrorResponse) Descriptor deprecated

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

Deprecated: Use DeleteEventErrorResponse.ProtoReflect.Descriptor instead.

func (*DeleteEventErrorResponse) GetErrorType

func (*DeleteEventErrorResponse) ProtoMessage

func (*DeleteEventErrorResponse) ProtoMessage()

func (*DeleteEventErrorResponse) ProtoReflect

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

func (*DeleteEventErrorResponse) Reset

func (x *DeleteEventErrorResponse) Reset()

func (*DeleteEventErrorResponse) String

func (x *DeleteEventErrorResponse) String() string

type DeleteEventErrorResponse_ErrorType

type DeleteEventErrorResponse_ErrorType int32
const (
	DeleteEventErrorResponse_NOT_FOUND DeleteEventErrorResponse_ErrorType = 0
	// NO_CURRENT_EVENT sent if no event_id is provided and there is no current event.
	DeleteEventErrorResponse_NO_CURRENT_EVENT DeleteEventErrorResponse_ErrorType = 1
)

func (DeleteEventErrorResponse_ErrorType) Descriptor

func (DeleteEventErrorResponse_ErrorType) Enum

func (DeleteEventErrorResponse_ErrorType) EnumDescriptor deprecated

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

Deprecated: Use DeleteEventErrorResponse_ErrorType.Descriptor instead.

func (DeleteEventErrorResponse_ErrorType) Number

func (DeleteEventErrorResponse_ErrorType) String

func (DeleteEventErrorResponse_ErrorType) Type

type DeleteEventRequest

type DeleteEventRequest struct {

	// event_id if not present, the current event will be used
	EventId *string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3,oneof" json:"event_id,omitempty"`
	// contains filtered or unexported fields
}

DeleteEventRequest is used to delete an event, or end an ongoing event.

func (*DeleteEventRequest) Descriptor deprecated

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

Deprecated: Use DeleteEventRequest.ProtoReflect.Descriptor instead.

func (*DeleteEventRequest) GetEventId

func (x *DeleteEventRequest) GetEventId() string

func (*DeleteEventRequest) ProtoMessage

func (*DeleteEventRequest) ProtoMessage()

func (*DeleteEventRequest) ProtoReflect

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

func (*DeleteEventRequest) Reset

func (x *DeleteEventRequest) Reset()

func (*DeleteEventRequest) String

func (x *DeleteEventRequest) String() string

type DeleteEventResponse

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

func (*DeleteEventResponse) Descriptor deprecated

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

Deprecated: Use DeleteEventResponse.ProtoReflect.Descriptor instead.

func (*DeleteEventResponse) ProtoMessage

func (*DeleteEventResponse) ProtoMessage()

func (*DeleteEventResponse) ProtoReflect

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

func (*DeleteEventResponse) Reset

func (x *DeleteEventResponse) Reset()

func (*DeleteEventResponse) String

func (x *DeleteEventResponse) String() string

type EmptyPartyErrorResponse

type EmptyPartyErrorResponse struct {
	ErrorType EmptyPartyErrorResponse_ErrorType `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EmptyPartyErrorResponse) Descriptor deprecated

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

Deprecated: Use EmptyPartyErrorResponse.ProtoReflect.Descriptor instead.

func (*EmptyPartyErrorResponse) GetErrorType

func (*EmptyPartyErrorResponse) ProtoMessage

func (*EmptyPartyErrorResponse) ProtoMessage()

func (*EmptyPartyErrorResponse) ProtoReflect

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

func (*EmptyPartyErrorResponse) Reset

func (x *EmptyPartyErrorResponse) Reset()

func (*EmptyPartyErrorResponse) String

func (x *EmptyPartyErrorResponse) String() string

type EmptyPartyErrorResponse_ErrorType

type EmptyPartyErrorResponse_ErrorType int32
const (
	EmptyPartyErrorResponse_NOT_LEADER EmptyPartyErrorResponse_ErrorType = 0
)

func (EmptyPartyErrorResponse_ErrorType) Descriptor

func (EmptyPartyErrorResponse_ErrorType) Enum

func (EmptyPartyErrorResponse_ErrorType) EnumDescriptor deprecated

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

Deprecated: Use EmptyPartyErrorResponse_ErrorType.Descriptor instead.

func (EmptyPartyErrorResponse_ErrorType) Number

func (EmptyPartyErrorResponse_ErrorType) String

func (EmptyPartyErrorResponse_ErrorType) Type

type EmptyPartyRequest

type EmptyPartyRequest struct {

	// Types that are assignable to Id:
	//
	//	*EmptyPartyRequest_PartyId
	//	*EmptyPartyRequest_PlayerId
	Id isEmptyPartyRequest_Id `protobuf_oneof:"id"`
	// contains filtered or unexported fields
}

func (*EmptyPartyRequest) Descriptor deprecated

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

Deprecated: Use EmptyPartyRequest.ProtoReflect.Descriptor instead.

func (*EmptyPartyRequest) GetId

func (m *EmptyPartyRequest) GetId() isEmptyPartyRequest_Id

func (*EmptyPartyRequest) GetPartyId

func (x *EmptyPartyRequest) GetPartyId() string

func (*EmptyPartyRequest) GetPlayerId

func (x *EmptyPartyRequest) GetPlayerId() string

func (*EmptyPartyRequest) ProtoMessage

func (*EmptyPartyRequest) ProtoMessage()

func (*EmptyPartyRequest) ProtoReflect

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

func (*EmptyPartyRequest) Reset

func (x *EmptyPartyRequest) Reset()

func (*EmptyPartyRequest) String

func (x *EmptyPartyRequest) String() string

type EmptyPartyRequest_PartyId

type EmptyPartyRequest_PartyId struct {
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3,oneof"`
}

type EmptyPartyRequest_PlayerId

type EmptyPartyRequest_PlayerId struct {
	PlayerId string `protobuf:"bytes,2,opt,name=player_id,json=playerId,proto3,oneof"`
}

type EmptyPartyResponse

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

func (*EmptyPartyResponse) Descriptor deprecated

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

Deprecated: Use EmptyPartyResponse.ProtoReflect.Descriptor instead.

func (*EmptyPartyResponse) ProtoMessage

func (*EmptyPartyResponse) ProtoMessage()

func (*EmptyPartyResponse) ProtoReflect

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

func (*EmptyPartyResponse) Reset

func (x *EmptyPartyResponse) Reset()

func (*EmptyPartyResponse) String

func (x *EmptyPartyResponse) String() string

type EventServiceClient

type EventServiceClient interface {
	CreateEvent(ctx context.Context, in *CreateEventRequest, opts ...grpc.CallOption) (*CreateEventResponse, error)
	UpdateEvent(ctx context.Context, in *UpdateEventRequest, opts ...grpc.CallOption) (*UpdateEventResponse, error)
	DeleteEvent(ctx context.Context, in *DeleteEventRequest, opts ...grpc.CallOption) (*DeleteEventResponse, error)
	ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error)
}

EventServiceClient is the client API for EventService 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 EventServiceServer

type EventServiceServer interface {
	CreateEvent(context.Context, *CreateEventRequest) (*CreateEventResponse, error)
	UpdateEvent(context.Context, *UpdateEventRequest) (*UpdateEventResponse, error)
	DeleteEvent(context.Context, *DeleteEventRequest) (*DeleteEventResponse, error)
	ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
	// contains filtered or unexported methods
}

EventServiceServer is the server API for EventService service. All implementations must embed UnimplementedEventServiceServer for forward compatibility.

type GetPartyInvitesRequest

type GetPartyInvitesRequest struct {

	// Types that are assignable to Id:
	//
	//	*GetPartyInvitesRequest_PartyId
	//	*GetPartyInvitesRequest_PlayerId
	Id       isGetPartyInvitesRequest_Id `protobuf_oneof:"id"`
	Pageable *common.Pageable            `protobuf:"bytes,3,opt,name=pageable,proto3" json:"pageable,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPartyInvitesRequest) Descriptor deprecated

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

Deprecated: Use GetPartyInvitesRequest.ProtoReflect.Descriptor instead.

func (*GetPartyInvitesRequest) GetId

func (m *GetPartyInvitesRequest) GetId() isGetPartyInvitesRequest_Id

func (*GetPartyInvitesRequest) GetPageable

func (x *GetPartyInvitesRequest) GetPageable() *common.Pageable

func (*GetPartyInvitesRequest) GetPartyId

func (x *GetPartyInvitesRequest) GetPartyId() string

func (*GetPartyInvitesRequest) GetPlayerId

func (x *GetPartyInvitesRequest) GetPlayerId() string

func (*GetPartyInvitesRequest) ProtoMessage

func (*GetPartyInvitesRequest) ProtoMessage()

func (*GetPartyInvitesRequest) ProtoReflect

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

func (*GetPartyInvitesRequest) Reset

func (x *GetPartyInvitesRequest) Reset()

func (*GetPartyInvitesRequest) String

func (x *GetPartyInvitesRequest) String() string

type GetPartyInvitesRequest_PartyId

type GetPartyInvitesRequest_PartyId struct {
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3,oneof"`
}

type GetPartyInvitesRequest_PlayerId

type GetPartyInvitesRequest_PlayerId struct {
	PlayerId string `protobuf:"bytes,2,opt,name=player_id,json=playerId,proto3,oneof"`
}

type GetPartyInvitesResponse

type GetPartyInvitesResponse struct {
	Invites []*party.PartyInvite `protobuf:"bytes,1,rep,name=invites,proto3" json:"invites,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPartyInvitesResponse) Descriptor deprecated

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

Deprecated: Use GetPartyInvitesResponse.ProtoReflect.Descriptor instead.

func (*GetPartyInvitesResponse) GetInvites

func (x *GetPartyInvitesResponse) GetInvites() []*party.PartyInvite

func (*GetPartyInvitesResponse) ProtoMessage

func (*GetPartyInvitesResponse) ProtoMessage()

func (*GetPartyInvitesResponse) ProtoReflect

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

func (*GetPartyInvitesResponse) Reset

func (x *GetPartyInvitesResponse) Reset()

func (*GetPartyInvitesResponse) String

func (x *GetPartyInvitesResponse) String() string

type GetPartyRequest

type GetPartyRequest struct {

	// Types that are assignable to Id:
	//
	//	*GetPartyRequest_PartyId
	//	*GetPartyRequest_PlayerId
	Id isGetPartyRequest_Id `protobuf_oneof:"id"`
	// contains filtered or unexported fields
}

func (*GetPartyRequest) Descriptor deprecated

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

Deprecated: Use GetPartyRequest.ProtoReflect.Descriptor instead.

func (*GetPartyRequest) GetId

func (m *GetPartyRequest) GetId() isGetPartyRequest_Id

func (*GetPartyRequest) GetPartyId

func (x *GetPartyRequest) GetPartyId() string

func (*GetPartyRequest) GetPlayerId

func (x *GetPartyRequest) GetPlayerId() string

func (*GetPartyRequest) ProtoMessage

func (*GetPartyRequest) ProtoMessage()

func (*GetPartyRequest) ProtoReflect

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

func (*GetPartyRequest) Reset

func (x *GetPartyRequest) Reset()

func (*GetPartyRequest) String

func (x *GetPartyRequest) String() string

type GetPartyRequest_PartyId

type GetPartyRequest_PartyId struct {
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3,oneof"`
}

type GetPartyRequest_PlayerId

type GetPartyRequest_PlayerId struct {
	PlayerId string `protobuf:"bytes,2,opt,name=player_id,json=playerId,proto3,oneof"`
}

type GetPartyResponse

type GetPartyResponse struct {
	Party *party.Party `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPartyResponse) Descriptor deprecated

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

Deprecated: Use GetPartyResponse.ProtoReflect.Descriptor instead.

func (*GetPartyResponse) GetParty

func (x *GetPartyResponse) GetParty() *party.Party

func (*GetPartyResponse) ProtoMessage

func (*GetPartyResponse) ProtoMessage()

func (*GetPartyResponse) ProtoReflect

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

func (*GetPartyResponse) Reset

func (x *GetPartyResponse) Reset()

func (*GetPartyResponse) String

func (x *GetPartyResponse) String() string

type GetPartySettingsRequest

type GetPartySettingsRequest struct {

	// Types that are assignable to Id:
	//
	//	*GetPartySettingsRequest_PartyId
	//	*GetPartySettingsRequest_PlayerId
	Id isGetPartySettingsRequest_Id `protobuf_oneof:"id"`
	// contains filtered or unexported fields
}

func (*GetPartySettingsRequest) Descriptor deprecated

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

Deprecated: Use GetPartySettingsRequest.ProtoReflect.Descriptor instead.

func (*GetPartySettingsRequest) GetId

func (m *GetPartySettingsRequest) GetId() isGetPartySettingsRequest_Id

func (*GetPartySettingsRequest) GetPartyId

func (x *GetPartySettingsRequest) GetPartyId() string

func (*GetPartySettingsRequest) GetPlayerId

func (x *GetPartySettingsRequest) GetPlayerId() string

func (*GetPartySettingsRequest) ProtoMessage

func (*GetPartySettingsRequest) ProtoMessage()

func (*GetPartySettingsRequest) ProtoReflect

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

func (*GetPartySettingsRequest) Reset

func (x *GetPartySettingsRequest) Reset()

func (*GetPartySettingsRequest) String

func (x *GetPartySettingsRequest) String() string

type GetPartySettingsRequest_PartyId

type GetPartySettingsRequest_PartyId struct {
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3,oneof"`
}

type GetPartySettingsRequest_PlayerId

type GetPartySettingsRequest_PlayerId struct {
	PlayerId string `protobuf:"bytes,2,opt,name=player_id,json=playerId,proto3,oneof"`
}

type GetPartySettingsResponse

type GetPartySettingsResponse struct {
	Settings *party.PartySettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPartySettingsResponse) Descriptor deprecated

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

Deprecated: Use GetPartySettingsResponse.ProtoReflect.Descriptor instead.

func (*GetPartySettingsResponse) GetSettings

func (x *GetPartySettingsResponse) GetSettings() *party.PartySettings

func (*GetPartySettingsResponse) ProtoMessage

func (*GetPartySettingsResponse) ProtoMessage()

func (*GetPartySettingsResponse) ProtoReflect

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

func (*GetPartySettingsResponse) Reset

func (x *GetPartySettingsResponse) Reset()

func (*GetPartySettingsResponse) String

func (x *GetPartySettingsResponse) String() string

type InvitePlayerErrorResponse

type InvitePlayerErrorResponse struct {
	ErrorType InvitePlayerErrorResponse_ErrorType `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*InvitePlayerErrorResponse) Descriptor deprecated

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

Deprecated: Use InvitePlayerErrorResponse.ProtoReflect.Descriptor instead.

func (*InvitePlayerErrorResponse) GetErrorType

func (*InvitePlayerErrorResponse) ProtoMessage

func (*InvitePlayerErrorResponse) ProtoMessage()

func (*InvitePlayerErrorResponse) ProtoReflect

func (*InvitePlayerErrorResponse) Reset

func (x *InvitePlayerErrorResponse) Reset()

func (*InvitePlayerErrorResponse) String

func (x *InvitePlayerErrorResponse) String() string

type InvitePlayerErrorResponse_ErrorType

type InvitePlayerErrorResponse_ErrorType int32
const (
	InvitePlayerErrorResponse_TARGET_ALREADY_IN_SELF_PARTY InvitePlayerErrorResponse_ErrorType = 0
	InvitePlayerErrorResponse_TARGET_ALREADY_INVITED       InvitePlayerErrorResponse_ErrorType = 2
	// NO_PERMISSION the issuer is not the leader and AllowMemberInvite is false (more settings may be added later)
	InvitePlayerErrorResponse_NO_PERMISSION InvitePlayerErrorResponse_ErrorType = 4
)

func (InvitePlayerErrorResponse_ErrorType) Descriptor

func (InvitePlayerErrorResponse_ErrorType) Enum

func (InvitePlayerErrorResponse_ErrorType) EnumDescriptor deprecated

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

Deprecated: Use InvitePlayerErrorResponse_ErrorType.Descriptor instead.

func (InvitePlayerErrorResponse_ErrorType) Number

func (InvitePlayerErrorResponse_ErrorType) String

func (InvitePlayerErrorResponse_ErrorType) Type

type InvitePlayerRequest

type InvitePlayerRequest struct {

	// issuer_id of type UUID
	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"`
	// target_id of type UUID
	TargetId       string `protobuf:"bytes,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	TargetUsername string `protobuf:"bytes,4,opt,name=target_username,json=targetUsername,proto3" json:"target_username,omitempty"`
	// contains filtered or unexported fields
}

func (*InvitePlayerRequest) Descriptor deprecated

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

Deprecated: Use InvitePlayerRequest.ProtoReflect.Descriptor instead.

func (*InvitePlayerRequest) GetIssuerId

func (x *InvitePlayerRequest) GetIssuerId() string

func (*InvitePlayerRequest) GetIssuerUsername

func (x *InvitePlayerRequest) GetIssuerUsername() string

func (*InvitePlayerRequest) GetTargetId

func (x *InvitePlayerRequest) GetTargetId() string

func (*InvitePlayerRequest) GetTargetUsername

func (x *InvitePlayerRequest) GetTargetUsername() string

func (*InvitePlayerRequest) ProtoMessage

func (*InvitePlayerRequest) ProtoMessage()

func (*InvitePlayerRequest) ProtoReflect

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

func (*InvitePlayerRequest) Reset

func (x *InvitePlayerRequest) Reset()

func (*InvitePlayerRequest) String

func (x *InvitePlayerRequest) String() string

type InvitePlayerResponse

type InvitePlayerResponse struct {
	Invite *party.PartyInvite `protobuf:"bytes,1,opt,name=invite,proto3" json:"invite,omitempty"`
	// contains filtered or unexported fields
}

func (*InvitePlayerResponse) Descriptor deprecated

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

Deprecated: Use InvitePlayerResponse.ProtoReflect.Descriptor instead.

func (*InvitePlayerResponse) GetInvite

func (x *InvitePlayerResponse) GetInvite() *party.PartyInvite

func (*InvitePlayerResponse) ProtoMessage

func (*InvitePlayerResponse) ProtoMessage()

func (*InvitePlayerResponse) ProtoReflect

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

func (*InvitePlayerResponse) Reset

func (x *InvitePlayerResponse) Reset()

func (*InvitePlayerResponse) String

func (x *InvitePlayerResponse) String() string

type JoinPartyErrorResponse

type JoinPartyErrorResponse struct {
	ErrorType JoinPartyErrorResponse_ErrorType `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*JoinPartyErrorResponse) Descriptor deprecated

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

Deprecated: Use JoinPartyErrorResponse.ProtoReflect.Descriptor instead.

func (*JoinPartyErrorResponse) GetErrorType

func (*JoinPartyErrorResponse) ProtoMessage

func (*JoinPartyErrorResponse) ProtoMessage()

func (*JoinPartyErrorResponse) ProtoReflect

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

func (*JoinPartyErrorResponse) Reset

func (x *JoinPartyErrorResponse) Reset()

func (*JoinPartyErrorResponse) String

func (x *JoinPartyErrorResponse) String() string

type JoinPartyErrorResponse_ErrorType

type JoinPartyErrorResponse_ErrorType int32
const (
	JoinPartyErrorResponse_ALREADY_IN_SAME_PARTY JoinPartyErrorResponse_ErrorType = 0
	JoinPartyErrorResponse_NOT_INVITED           JoinPartyErrorResponse_ErrorType = 1
)

func (JoinPartyErrorResponse_ErrorType) Descriptor

func (JoinPartyErrorResponse_ErrorType) Enum

func (JoinPartyErrorResponse_ErrorType) EnumDescriptor deprecated

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

Deprecated: Use JoinPartyErrorResponse_ErrorType.Descriptor instead.

func (JoinPartyErrorResponse_ErrorType) Number

func (JoinPartyErrorResponse_ErrorType) String

func (JoinPartyErrorResponse_ErrorType) Type

type JoinPartyRequest

type JoinPartyRequest struct {

	// player_id of type UUID
	PlayerId       string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	PlayerUsername string `protobuf:"bytes,2,opt,name=player_username,json=playerUsername,proto3" json:"player_username,omitempty"`
	TargetPlayerId string `protobuf:"bytes,3,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	// contains filtered or unexported fields
}

func (*JoinPartyRequest) Descriptor deprecated

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

Deprecated: Use JoinPartyRequest.ProtoReflect.Descriptor instead.

func (*JoinPartyRequest) GetPlayerId

func (x *JoinPartyRequest) GetPlayerId() string

func (*JoinPartyRequest) GetPlayerUsername

func (x *JoinPartyRequest) GetPlayerUsername() string

func (*JoinPartyRequest) GetTargetPlayerId

func (x *JoinPartyRequest) GetTargetPlayerId() string

func (*JoinPartyRequest) ProtoMessage

func (*JoinPartyRequest) ProtoMessage()

func (*JoinPartyRequest) ProtoReflect

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

func (*JoinPartyRequest) Reset

func (x *JoinPartyRequest) Reset()

func (*JoinPartyRequest) String

func (x *JoinPartyRequest) String() string

type JoinPartyResponse

type JoinPartyResponse struct {
	Party *party.Party `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"`
	// contains filtered or unexported fields
}

func (*JoinPartyResponse) Descriptor deprecated

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

Deprecated: Use JoinPartyResponse.ProtoReflect.Descriptor instead.

func (*JoinPartyResponse) GetParty

func (x *JoinPartyResponse) GetParty() *party.Party

func (*JoinPartyResponse) ProtoMessage

func (*JoinPartyResponse) ProtoMessage()

func (*JoinPartyResponse) ProtoReflect

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

func (*JoinPartyResponse) Reset

func (x *JoinPartyResponse) Reset()

func (*JoinPartyResponse) String

func (x *JoinPartyResponse) String() string

type KickPlayerErrorResponse

type KickPlayerErrorResponse struct {
	ErrorType KickPlayerErrorResponse_ErrorType `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*KickPlayerErrorResponse) Descriptor deprecated

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

Deprecated: Use KickPlayerErrorResponse.ProtoReflect.Descriptor instead.

func (*KickPlayerErrorResponse) GetErrorType

func (*KickPlayerErrorResponse) ProtoMessage

func (*KickPlayerErrorResponse) ProtoMessage()

func (*KickPlayerErrorResponse) ProtoReflect

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

func (*KickPlayerErrorResponse) Reset

func (x *KickPlayerErrorResponse) Reset()

func (*KickPlayerErrorResponse) String

func (x *KickPlayerErrorResponse) String() string

type KickPlayerErrorResponse_ErrorType

type KickPlayerErrorResponse_ErrorType int32
const (
	KickPlayerErrorResponse_TARGET_NOT_IN_PARTY KickPlayerErrorResponse_ErrorType = 0
	KickPlayerErrorResponse_SELF_NOT_LEADER     KickPlayerErrorResponse_ErrorType = 1
	KickPlayerErrorResponse_TARGET_IS_LEADER    KickPlayerErrorResponse_ErrorType = 2
)

func (KickPlayerErrorResponse_ErrorType) Descriptor

func (KickPlayerErrorResponse_ErrorType) Enum

func (KickPlayerErrorResponse_ErrorType) EnumDescriptor deprecated

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

Deprecated: Use KickPlayerErrorResponse_ErrorType.Descriptor instead.

func (KickPlayerErrorResponse_ErrorType) Number

func (KickPlayerErrorResponse_ErrorType) String

func (KickPlayerErrorResponse_ErrorType) Type

type KickPlayerRequest

type KickPlayerRequest struct {

	// issuer_id of type UUID
	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"`
	// target_id of type UUID
	TargetId string `protobuf:"bytes,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// contains filtered or unexported fields
}

func (*KickPlayerRequest) Descriptor deprecated

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

Deprecated: Use KickPlayerRequest.ProtoReflect.Descriptor instead.

func (*KickPlayerRequest) GetIssuerId

func (x *KickPlayerRequest) GetIssuerId() string

func (*KickPlayerRequest) GetIssuerUsername

func (x *KickPlayerRequest) GetIssuerUsername() string

func (*KickPlayerRequest) GetTargetId

func (x *KickPlayerRequest) GetTargetId() string

func (*KickPlayerRequest) ProtoMessage

func (*KickPlayerRequest) ProtoMessage()

func (*KickPlayerRequest) ProtoReflect

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

func (*KickPlayerRequest) Reset

func (x *KickPlayerRequest) Reset()

func (*KickPlayerRequest) String

func (x *KickPlayerRequest) String() string

type KickPlayerResponse

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

func (*KickPlayerResponse) Descriptor deprecated

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

Deprecated: Use KickPlayerResponse.ProtoReflect.Descriptor instead.

func (*KickPlayerResponse) ProtoMessage

func (*KickPlayerResponse) ProtoMessage()

func (*KickPlayerResponse) ProtoReflect

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

func (*KickPlayerResponse) Reset

func (x *KickPlayerResponse) Reset()

func (*KickPlayerResponse) String

func (x *KickPlayerResponse) String() string

type LeavePartyErrorResponse

type LeavePartyErrorResponse struct {
	ErrorType LeavePartyErrorResponse_ErrorType `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LeavePartyErrorResponse) Descriptor deprecated

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

Deprecated: Use LeavePartyErrorResponse.ProtoReflect.Descriptor instead.

func (*LeavePartyErrorResponse) GetErrorType

func (*LeavePartyErrorResponse) ProtoMessage

func (*LeavePartyErrorResponse) ProtoMessage()

func (*LeavePartyErrorResponse) ProtoReflect

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

func (*LeavePartyErrorResponse) Reset

func (x *LeavePartyErrorResponse) Reset()

func (*LeavePartyErrorResponse) String

func (x *LeavePartyErrorResponse) String() string

type LeavePartyErrorResponse_ErrorType

type LeavePartyErrorResponse_ErrorType int32
const (
	LeavePartyErrorResponse_CANNOT_LEAVE_ONLY_MEMBER LeavePartyErrorResponse_ErrorType = 0
)

func (LeavePartyErrorResponse_ErrorType) Descriptor

func (LeavePartyErrorResponse_ErrorType) Enum

func (LeavePartyErrorResponse_ErrorType) EnumDescriptor deprecated

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

Deprecated: Use LeavePartyErrorResponse_ErrorType.Descriptor instead.

func (LeavePartyErrorResponse_ErrorType) Number

func (LeavePartyErrorResponse_ErrorType) String

func (LeavePartyErrorResponse_ErrorType) Type

type LeavePartyRequest

type LeavePartyRequest struct {

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

func (*LeavePartyRequest) Descriptor deprecated

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

Deprecated: Use LeavePartyRequest.ProtoReflect.Descriptor instead.

func (*LeavePartyRequest) GetPlayerId

func (x *LeavePartyRequest) GetPlayerId() string

func (*LeavePartyRequest) ProtoMessage

func (*LeavePartyRequest) ProtoMessage()

func (*LeavePartyRequest) ProtoReflect

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

func (*LeavePartyRequest) Reset

func (x *LeavePartyRequest) Reset()

func (*LeavePartyRequest) String

func (x *LeavePartyRequest) String() string

type LeavePartyResponse

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

func (*LeavePartyResponse) Descriptor deprecated

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

Deprecated: Use LeavePartyResponse.ProtoReflect.Descriptor instead.

func (*LeavePartyResponse) ProtoMessage

func (*LeavePartyResponse) ProtoMessage()

func (*LeavePartyResponse) ProtoReflect

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

func (*LeavePartyResponse) Reset

func (x *LeavePartyResponse) Reset()

func (*LeavePartyResponse) String

func (x *LeavePartyResponse) String() string

type ListEventsRequest

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

func (*ListEventsRequest) Descriptor deprecated

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

Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.

func (*ListEventsRequest) ProtoMessage

func (*ListEventsRequest) ProtoMessage()

func (*ListEventsRequest) ProtoReflect

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

func (*ListEventsRequest) Reset

func (x *ListEventsRequest) Reset()

func (*ListEventsRequest) String

func (x *ListEventsRequest) String() string

type ListEventsResponse

type ListEventsResponse struct {
	Events []*party.EventData `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEventsResponse) Descriptor deprecated

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

Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.

func (*ListEventsResponse) GetEvents

func (x *ListEventsResponse) GetEvents() []*party.EventData

func (*ListEventsResponse) ProtoMessage

func (*ListEventsResponse) ProtoMessage()

func (*ListEventsResponse) ProtoReflect

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

func (*ListEventsResponse) Reset

func (x *ListEventsResponse) Reset()

func (*ListEventsResponse) String

func (x *ListEventsResponse) String() string

type PartyServiceClient

type PartyServiceClient interface {
	// EmptyParty empties a party, removing all members and invites.
	EmptyParty(ctx context.Context, in *EmptyPartyRequest, opts ...grpc.CallOption) (*EmptyPartyResponse, error)
	GetParty(ctx context.Context, in *GetPartyRequest, opts ...grpc.CallOption) (*GetPartyResponse, error)
	SetOpenParty(ctx context.Context, in *SetOpenPartyRequest, opts ...grpc.CallOption) (*SetOpenPartyResponse, error)
	GetPartyInvites(ctx context.Context, in *GetPartyInvitesRequest, opts ...grpc.CallOption) (*GetPartyInvitesResponse, error)
	InvitePlayer(ctx context.Context, in *InvitePlayerRequest, opts ...grpc.CallOption) (*InvitePlayerResponse, error)
	JoinParty(ctx context.Context, in *JoinPartyRequest, opts ...grpc.CallOption) (*JoinPartyResponse, error)
	LeaveParty(ctx context.Context, in *LeavePartyRequest, opts ...grpc.CallOption) (*LeavePartyResponse, error)
	KickPlayer(ctx context.Context, in *KickPlayerRequest, opts ...grpc.CallOption) (*KickPlayerResponse, error)
	SetPartyLeader(ctx context.Context, in *SetPartyLeaderRequest, opts ...grpc.CallOption) (*SetPartyLeaderResponse, error)
}

PartyServiceClient is the client API for PartyService 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 PartyServiceServer

type PartyServiceServer interface {
	// EmptyParty empties a party, removing all members and invites.
	EmptyParty(context.Context, *EmptyPartyRequest) (*EmptyPartyResponse, error)
	GetParty(context.Context, *GetPartyRequest) (*GetPartyResponse, error)
	SetOpenParty(context.Context, *SetOpenPartyRequest) (*SetOpenPartyResponse, error)
	GetPartyInvites(context.Context, *GetPartyInvitesRequest) (*GetPartyInvitesResponse, error)
	InvitePlayer(context.Context, *InvitePlayerRequest) (*InvitePlayerResponse, error)
	JoinParty(context.Context, *JoinPartyRequest) (*JoinPartyResponse, error)
	LeaveParty(context.Context, *LeavePartyRequest) (*LeavePartyResponse, error)
	KickPlayer(context.Context, *KickPlayerRequest) (*KickPlayerResponse, error)
	SetPartyLeader(context.Context, *SetPartyLeaderRequest) (*SetPartyLeaderResponse, error)
	// contains filtered or unexported methods
}

PartyServiceServer is the server API for PartyService service. All implementations must embed UnimplementedPartyServiceServer for forward compatibility.

type PartySettingsServiceClient

type PartySettingsServiceClient interface {
	GetPartySettings(ctx context.Context, in *GetPartySettingsRequest, opts ...grpc.CallOption) (*GetPartySettingsResponse, error)
	UpdatePartySettings(ctx context.Context, in *UpdatePartySettingsRequest, opts ...grpc.CallOption) (*UpdatePartySettingsResponse, error)
}

PartySettingsServiceClient is the client API for PartySettingsService 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 PartySettingsServiceServer

type PartySettingsServiceServer interface {
	GetPartySettings(context.Context, *GetPartySettingsRequest) (*GetPartySettingsResponse, error)
	UpdatePartySettings(context.Context, *UpdatePartySettingsRequest) (*UpdatePartySettingsResponse, error)
	// contains filtered or unexported methods
}

PartySettingsServiceServer is the server API for PartySettingsService service. All implementations must embed UnimplementedPartySettingsServiceServer for forward compatibility.

type SetOpenPartyErrorResponse

type SetOpenPartyErrorResponse struct {
	ErrorType SetOpenPartyErrorResponse_ErrorType `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SetOpenPartyErrorResponse) Descriptor deprecated

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

Deprecated: Use SetOpenPartyErrorResponse.ProtoReflect.Descriptor instead.

func (*SetOpenPartyErrorResponse) GetErrorType

func (*SetOpenPartyErrorResponse) ProtoMessage

func (*SetOpenPartyErrorResponse) ProtoMessage()

func (*SetOpenPartyErrorResponse) ProtoReflect

func (*SetOpenPartyErrorResponse) Reset

func (x *SetOpenPartyErrorResponse) Reset()

func (*SetOpenPartyErrorResponse) String

func (x *SetOpenPartyErrorResponse) String() string

type SetOpenPartyErrorResponse_ErrorType

type SetOpenPartyErrorResponse_ErrorType int32
const (
	SetOpenPartyErrorResponse_NOT_LEADER SetOpenPartyErrorResponse_ErrorType = 0
)

func (SetOpenPartyErrorResponse_ErrorType) Descriptor

func (SetOpenPartyErrorResponse_ErrorType) Enum

func (SetOpenPartyErrorResponse_ErrorType) EnumDescriptor deprecated

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

Deprecated: Use SetOpenPartyErrorResponse_ErrorType.Descriptor instead.

func (SetOpenPartyErrorResponse_ErrorType) Number

func (SetOpenPartyErrorResponse_ErrorType) String

func (SetOpenPartyErrorResponse_ErrorType) Type

type SetOpenPartyRequest

type SetOpenPartyRequest struct {

	// player_id of type UUID
	PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	Open     bool   `protobuf:"varint,2,opt,name=open,proto3" json:"open,omitempty"`
	// contains filtered or unexported fields
}

func (*SetOpenPartyRequest) Descriptor deprecated

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

Deprecated: Use SetOpenPartyRequest.ProtoReflect.Descriptor instead.

func (*SetOpenPartyRequest) GetOpen

func (x *SetOpenPartyRequest) GetOpen() bool

func (*SetOpenPartyRequest) GetPlayerId

func (x *SetOpenPartyRequest) GetPlayerId() string

func (*SetOpenPartyRequest) ProtoMessage

func (*SetOpenPartyRequest) ProtoMessage()

func (*SetOpenPartyRequest) ProtoReflect

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

func (*SetOpenPartyRequest) Reset

func (x *SetOpenPartyRequest) Reset()

func (*SetOpenPartyRequest) String

func (x *SetOpenPartyRequest) String() string

type SetOpenPartyResponse

type SetOpenPartyResponse struct {
	Party *party.Party `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"`
	// contains filtered or unexported fields
}

func (*SetOpenPartyResponse) Descriptor deprecated

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

Deprecated: Use SetOpenPartyResponse.ProtoReflect.Descriptor instead.

func (*SetOpenPartyResponse) GetParty

func (x *SetOpenPartyResponse) GetParty() *party.Party

func (*SetOpenPartyResponse) ProtoMessage

func (*SetOpenPartyResponse) ProtoMessage()

func (*SetOpenPartyResponse) ProtoReflect

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

func (*SetOpenPartyResponse) Reset

func (x *SetOpenPartyResponse) Reset()

func (*SetOpenPartyResponse) String

func (x *SetOpenPartyResponse) String() string

type SetPartyLeaderErrorResponse

type SetPartyLeaderErrorResponse struct {
	ErrorType SetPartyLeaderErrorResponse_ErrorType `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SetPartyLeaderErrorResponse) Descriptor deprecated

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

Deprecated: Use SetPartyLeaderErrorResponse.ProtoReflect.Descriptor instead.

func (*SetPartyLeaderErrorResponse) GetErrorType

func (*SetPartyLeaderErrorResponse) ProtoMessage

func (*SetPartyLeaderErrorResponse) ProtoMessage()

func (*SetPartyLeaderErrorResponse) ProtoReflect

func (*SetPartyLeaderErrorResponse) Reset

func (x *SetPartyLeaderErrorResponse) Reset()

func (*SetPartyLeaderErrorResponse) String

func (x *SetPartyLeaderErrorResponse) String() string

type SetPartyLeaderErrorResponse_ErrorType

type SetPartyLeaderErrorResponse_ErrorType int32
const (
	SetPartyLeaderErrorResponse_TARGET_NOT_IN_PARTY SetPartyLeaderErrorResponse_ErrorType = 0
	SetPartyLeaderErrorResponse_SELF_NOT_LEADER     SetPartyLeaderErrorResponse_ErrorType = 1
)

func (SetPartyLeaderErrorResponse_ErrorType) Descriptor

func (SetPartyLeaderErrorResponse_ErrorType) Enum

func (SetPartyLeaderErrorResponse_ErrorType) EnumDescriptor deprecated

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

Deprecated: Use SetPartyLeaderErrorResponse_ErrorType.Descriptor instead.

func (SetPartyLeaderErrorResponse_ErrorType) Number

func (SetPartyLeaderErrorResponse_ErrorType) String

func (SetPartyLeaderErrorResponse_ErrorType) Type

type SetPartyLeaderRequest

type SetPartyLeaderRequest struct {

	// issuer_id of type UUID
	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"`
	// target_id of type UUID
	TargetId string `protobuf:"bytes,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPartyLeaderRequest) Descriptor deprecated

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

Deprecated: Use SetPartyLeaderRequest.ProtoReflect.Descriptor instead.

func (*SetPartyLeaderRequest) GetIssuerId

func (x *SetPartyLeaderRequest) GetIssuerId() string

func (*SetPartyLeaderRequest) GetIssuerUsername

func (x *SetPartyLeaderRequest) GetIssuerUsername() string

func (*SetPartyLeaderRequest) GetTargetId

func (x *SetPartyLeaderRequest) GetTargetId() string

func (*SetPartyLeaderRequest) ProtoMessage

func (*SetPartyLeaderRequest) ProtoMessage()

func (*SetPartyLeaderRequest) ProtoReflect

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

func (*SetPartyLeaderRequest) Reset

func (x *SetPartyLeaderRequest) Reset()

func (*SetPartyLeaderRequest) String

func (x *SetPartyLeaderRequest) String() string

type SetPartyLeaderResponse

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

func (*SetPartyLeaderResponse) Descriptor deprecated

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

Deprecated: Use SetPartyLeaderResponse.ProtoReflect.Descriptor instead.

func (*SetPartyLeaderResponse) ProtoMessage

func (*SetPartyLeaderResponse) ProtoMessage()

func (*SetPartyLeaderResponse) ProtoReflect

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

func (*SetPartyLeaderResponse) Reset

func (x *SetPartyLeaderResponse) Reset()

func (*SetPartyLeaderResponse) String

func (x *SetPartyLeaderResponse) String() string

type UnimplementedEventServiceServer

type UnimplementedEventServiceServer struct{}

UnimplementedEventServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedEventServiceServer) CreateEvent

func (UnimplementedEventServiceServer) DeleteEvent

func (UnimplementedEventServiceServer) ListEvents

func (UnimplementedEventServiceServer) UpdateEvent

type UnimplementedPartyServiceServer

type UnimplementedPartyServiceServer struct{}

UnimplementedPartyServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPartyServiceServer) EmptyParty

func (UnimplementedPartyServiceServer) GetParty

func (UnimplementedPartyServiceServer) GetPartyInvites

func (UnimplementedPartyServiceServer) InvitePlayer

func (UnimplementedPartyServiceServer) JoinParty

func (UnimplementedPartyServiceServer) KickPlayer

func (UnimplementedPartyServiceServer) LeaveParty

func (UnimplementedPartyServiceServer) SetOpenParty

func (UnimplementedPartyServiceServer) SetPartyLeader

type UnimplementedPartySettingsServiceServer

type UnimplementedPartySettingsServiceServer struct{}

UnimplementedPartySettingsServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPartySettingsServiceServer) GetPartySettings

func (UnimplementedPartySettingsServiceServer) UpdatePartySettings

type UnsafeEventServiceServer

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

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

type UnsafePartyServiceServer

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

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

type UnsafePartySettingsServiceServer

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

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

type UpdateEventRequest

type UpdateEventRequest struct {
	EventId     string                 `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	DisplayTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=display_time,json=displayTime,proto3,oneof" json:"display_time,omitempty"`
	StartTime   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEventRequest) Descriptor deprecated

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

Deprecated: Use UpdateEventRequest.ProtoReflect.Descriptor instead.

func (*UpdateEventRequest) GetDisplayTime

func (x *UpdateEventRequest) GetDisplayTime() *timestamppb.Timestamp

func (*UpdateEventRequest) GetEventId

func (x *UpdateEventRequest) GetEventId() string

func (*UpdateEventRequest) GetStartTime

func (x *UpdateEventRequest) GetStartTime() *timestamppb.Timestamp

func (*UpdateEventRequest) ProtoMessage

func (*UpdateEventRequest) ProtoMessage()

func (*UpdateEventRequest) ProtoReflect

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

func (*UpdateEventRequest) Reset

func (x *UpdateEventRequest) Reset()

func (*UpdateEventRequest) String

func (x *UpdateEventRequest) String() string

type UpdateEventResponse

type UpdateEventResponse struct {
	Event *party.EventData `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEventResponse) Descriptor deprecated

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

Deprecated: Use UpdateEventResponse.ProtoReflect.Descriptor instead.

func (*UpdateEventResponse) GetEvent

func (x *UpdateEventResponse) GetEvent() *party.EventData

func (*UpdateEventResponse) ProtoMessage

func (*UpdateEventResponse) ProtoMessage()

func (*UpdateEventResponse) ProtoReflect

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

func (*UpdateEventResponse) Reset

func (x *UpdateEventResponse) Reset()

func (*UpdateEventResponse) String

func (x *UpdateEventResponse) String() string

type UpdatePartySettingsRequest

type UpdatePartySettingsRequest struct {

	// issuer_id of type UUID
	IssuerId            string `protobuf:"bytes,1,opt,name=issuer_id,json=issuerId,proto3" json:"issuer_id,omitempty"`
	DequeueOnDisconnect *bool  `` /* 127-byte string literal not displayed */
	AllowMemberDequeue  *bool  `protobuf:"varint,3,opt,name=allow_member_dequeue,json=allowMemberDequeue,proto3,oneof" json:"allow_member_dequeue,omitempty"`
	AllowMemberInvite   *bool  `protobuf:"varint,4,opt,name=allow_member_invite,json=allowMemberInvite,proto3,oneof" json:"allow_member_invite,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePartySettingsRequest) Descriptor deprecated

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

Deprecated: Use UpdatePartySettingsRequest.ProtoReflect.Descriptor instead.

func (*UpdatePartySettingsRequest) GetAllowMemberDequeue

func (x *UpdatePartySettingsRequest) GetAllowMemberDequeue() bool

func (*UpdatePartySettingsRequest) GetAllowMemberInvite

func (x *UpdatePartySettingsRequest) GetAllowMemberInvite() bool

func (*UpdatePartySettingsRequest) GetDequeueOnDisconnect

func (x *UpdatePartySettingsRequest) GetDequeueOnDisconnect() bool

func (*UpdatePartySettingsRequest) GetIssuerId

func (x *UpdatePartySettingsRequest) GetIssuerId() string

func (*UpdatePartySettingsRequest) ProtoMessage

func (*UpdatePartySettingsRequest) ProtoMessage()

func (*UpdatePartySettingsRequest) ProtoReflect

func (*UpdatePartySettingsRequest) Reset

func (x *UpdatePartySettingsRequest) Reset()

func (*UpdatePartySettingsRequest) String

func (x *UpdatePartySettingsRequest) String() string

type UpdatePartySettingsResponse

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

func (*UpdatePartySettingsResponse) Descriptor deprecated

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

Deprecated: Use UpdatePartySettingsResponse.ProtoReflect.Descriptor instead.

func (*UpdatePartySettingsResponse) ProtoMessage

func (*UpdatePartySettingsResponse) ProtoMessage()

func (*UpdatePartySettingsResponse) ProtoReflect

func (*UpdatePartySettingsResponse) Reset

func (x *UpdatePartySettingsResponse) Reset()

func (*UpdatePartySettingsResponse) String

func (x *UpdatePartySettingsResponse) String() string

Jump to

Keyboard shortcuts

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