rtapi

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	NakamaPeerApi_Call_FullMethodName   = "/nakama.peer.NakamaPeerApi/Call"
	NakamaPeerApi_Stream_FullMethodName = "/nakama.peer.NakamaPeerApi/Stream"
)

Variables

View Source
var (
	ChannelJoin_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "ROOM",
		2: "DIRECT_MESSAGE",
		3: "GROUP",
	}
	ChannelJoin_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"ROOM":             1,
		"DIRECT_MESSAGE":   2,
		"GROUP":            3,
	}
)

Enum value maps for ChannelJoin_Type.

View Source
var (
	Error_Code_name = map[int32]string{
		0: "RUNTIME_EXCEPTION",
		1: "UNRECOGNIZED_PAYLOAD",
		2: "MISSING_PAYLOAD",
		3: "BAD_INPUT",
		4: "MATCH_NOT_FOUND",
		5: "MATCH_JOIN_REJECTED",
		6: "RUNTIME_FUNCTION_NOT_FOUND",
		7: "RUNTIME_FUNCTION_EXCEPTION",
	}
	Error_Code_value = map[string]int32{
		"RUNTIME_EXCEPTION":          0,
		"UNRECOGNIZED_PAYLOAD":       1,
		"MISSING_PAYLOAD":            2,
		"BAD_INPUT":                  3,
		"MATCH_NOT_FOUND":            4,
		"MATCH_JOIN_REJECTED":        5,
		"RUNTIME_FUNCTION_NOT_FOUND": 6,
		"RUNTIME_FUNCTION_EXCEPTION": 7,
	}
)

Enum value maps for Error_Code.

View Source
var File_realtime_proto protoreflect.FileDescriptor
View Source
var NakamaPeerApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "nakama.peer.NakamaPeerApi",
	HandlerType: (*NakamaPeerApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Call",
			Handler:    _NakamaPeerApi_Call_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Stream",
			Handler:       _NakamaPeerApi_Stream_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "peer.proto",
}

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

Functions

func RegisterNakamaPeerApiServer

func RegisterNakamaPeerApiServer(s grpc.ServiceRegistrar, srv NakamaPeerApiServer)

Types

type Channel

type Channel struct {

	// The ID of the channel.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The users currently in the channel.
	Presences []*UserPresence `protobuf:"bytes,2,rep,name=presences,proto3" json:"presences,omitempty"`
	// A reference to the current user's presence in the channel.
	Self *UserPresence `protobuf:"bytes,3,opt,name=self,proto3" json:"self,omitempty"`
	// The name of the chat room, or an empty string if this message was not sent through a chat room.
	RoomName string `protobuf:"bytes,4,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
	// The ID of the group, or an empty string if this message was not sent through a group channel.
	GroupId string `protobuf:"bytes,5,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
	UserIdOne string `protobuf:"bytes,6,opt,name=user_id_one,json=userIdOne,proto3" json:"user_id_one,omitempty"`
	// The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
	UserIdTwo string `protobuf:"bytes,7,opt,name=user_id_two,json=userIdTwo,proto3" json:"user_id_two,omitempty"`
	// contains filtered or unexported fields
}

A realtime chat channel.

func (*Channel) Descriptor deprecated

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

Deprecated: Use Channel.ProtoReflect.Descriptor instead.

func (*Channel) GetGroupId

func (x *Channel) GetGroupId() string

func (*Channel) GetId

func (x *Channel) GetId() string

func (*Channel) GetPresences

func (x *Channel) GetPresences() []*UserPresence

func (*Channel) GetRoomName

func (x *Channel) GetRoomName() string

func (*Channel) GetSelf

func (x *Channel) GetSelf() *UserPresence

func (*Channel) GetUserIdOne

func (x *Channel) GetUserIdOne() string

func (*Channel) GetUserIdTwo

func (x *Channel) GetUserIdTwo() string

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) ProtoReflect

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

func (*Channel) Reset

func (x *Channel) Reset()

func (*Channel) String

func (x *Channel) String() string

type ChannelJoin

type ChannelJoin struct {

	// The user ID to DM with, group ID to chat with, or room channel name to join.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// The type of the chat channel.
	Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` // one of "ChannelId.Type".
	// Whether messages sent on this channel should be persistent.
	Persistence *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=persistence,proto3" json:"persistence,omitempty"`
	// Whether the user should appear in the channel's presence list and events.
	Hidden *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=hidden,proto3" json:"hidden,omitempty"`
	// contains filtered or unexported fields
}

Join operation for a realtime chat channel.

func (*ChannelJoin) Descriptor deprecated

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

Deprecated: Use ChannelJoin.ProtoReflect.Descriptor instead.

func (*ChannelJoin) GetHidden

func (x *ChannelJoin) GetHidden() *wrapperspb.BoolValue

func (*ChannelJoin) GetPersistence

func (x *ChannelJoin) GetPersistence() *wrapperspb.BoolValue

func (*ChannelJoin) GetTarget

func (x *ChannelJoin) GetTarget() string

func (*ChannelJoin) GetType

func (x *ChannelJoin) GetType() int32

func (*ChannelJoin) ProtoMessage

func (*ChannelJoin) ProtoMessage()

func (*ChannelJoin) ProtoReflect

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

func (*ChannelJoin) Reset

func (x *ChannelJoin) Reset()

func (*ChannelJoin) String

func (x *ChannelJoin) String() string

type ChannelJoin_Type

type ChannelJoin_Type int32

The type of chat channel.

const (
	// Default case. Assumed as ROOM type.
	ChannelJoin_TYPE_UNSPECIFIED ChannelJoin_Type = 0
	// A room which anyone can join to chat.
	ChannelJoin_ROOM ChannelJoin_Type = 1
	// A private channel for 1-on-1 chat.
	ChannelJoin_DIRECT_MESSAGE ChannelJoin_Type = 2
	// A channel for group chat.
	ChannelJoin_GROUP ChannelJoin_Type = 3
)

func (ChannelJoin_Type) Descriptor

func (ChannelJoin_Type) Enum

func (ChannelJoin_Type) EnumDescriptor deprecated

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

Deprecated: Use ChannelJoin_Type.Descriptor instead.

func (ChannelJoin_Type) Number

func (ChannelJoin_Type) String

func (x ChannelJoin_Type) String() string

func (ChannelJoin_Type) Type

type ChannelLeave

type ChannelLeave struct {

	// The ID of the channel to leave.
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

Leave a realtime channel.

func (*ChannelLeave) Descriptor deprecated

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

Deprecated: Use ChannelLeave.ProtoReflect.Descriptor instead.

func (*ChannelLeave) GetChannelId

func (x *ChannelLeave) GetChannelId() string

func (*ChannelLeave) ProtoMessage

func (*ChannelLeave) ProtoMessage()

func (*ChannelLeave) ProtoReflect

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

func (*ChannelLeave) Reset

func (x *ChannelLeave) Reset()

func (*ChannelLeave) String

func (x *ChannelLeave) String() string

type ChannelMessageAck

type ChannelMessageAck struct {

	// The channel the message was sent to.
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// The unique ID assigned to the message.
	MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// The code representing a message type or category.
	Code *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	// Username of the message sender.
	Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	// The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// True if the message was persisted to the channel's history, false otherwise.
	Persistent *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=persistent,proto3" json:"persistent,omitempty"`
	// The name of the chat room, or an empty string if this message was not sent through a chat room.
	RoomName string `protobuf:"bytes,8,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
	// The ID of the group, or an empty string if this message was not sent through a group channel.
	GroupId string `protobuf:"bytes,9,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
	UserIdOne string `protobuf:"bytes,10,opt,name=user_id_one,json=userIdOne,proto3" json:"user_id_one,omitempty"`
	// The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
	UserIdTwo string `protobuf:"bytes,11,opt,name=user_id_two,json=userIdTwo,proto3" json:"user_id_two,omitempty"`
	// contains filtered or unexported fields
}

A receipt reply from a channel message send operation.

func (*ChannelMessageAck) Descriptor deprecated

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

Deprecated: Use ChannelMessageAck.ProtoReflect.Descriptor instead.

func (*ChannelMessageAck) GetChannelId

func (x *ChannelMessageAck) GetChannelId() string

func (*ChannelMessageAck) GetCode

func (x *ChannelMessageAck) GetCode() *wrapperspb.Int32Value

func (*ChannelMessageAck) GetCreateTime

func (x *ChannelMessageAck) GetCreateTime() *timestamppb.Timestamp

func (*ChannelMessageAck) GetGroupId

func (x *ChannelMessageAck) GetGroupId() string

func (*ChannelMessageAck) GetMessageId

func (x *ChannelMessageAck) GetMessageId() string

func (*ChannelMessageAck) GetPersistent

func (x *ChannelMessageAck) GetPersistent() *wrapperspb.BoolValue

func (*ChannelMessageAck) GetRoomName

func (x *ChannelMessageAck) GetRoomName() string

func (*ChannelMessageAck) GetUpdateTime

func (x *ChannelMessageAck) GetUpdateTime() *timestamppb.Timestamp

func (*ChannelMessageAck) GetUserIdOne

func (x *ChannelMessageAck) GetUserIdOne() string

func (*ChannelMessageAck) GetUserIdTwo

func (x *ChannelMessageAck) GetUserIdTwo() string

func (*ChannelMessageAck) GetUsername

func (x *ChannelMessageAck) GetUsername() string

func (*ChannelMessageAck) ProtoMessage

func (*ChannelMessageAck) ProtoMessage()

func (*ChannelMessageAck) ProtoReflect

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

func (*ChannelMessageAck) Reset

func (x *ChannelMessageAck) Reset()

func (*ChannelMessageAck) String

func (x *ChannelMessageAck) String() string

type ChannelMessageRemove

type ChannelMessageRemove struct {

	// The channel the message was sent to.
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// The ID assigned to the message to update.
	MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

Remove a message previously sent to a realtime channel.

func (*ChannelMessageRemove) Descriptor deprecated

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

Deprecated: Use ChannelMessageRemove.ProtoReflect.Descriptor instead.

func (*ChannelMessageRemove) GetChannelId

func (x *ChannelMessageRemove) GetChannelId() string

func (*ChannelMessageRemove) GetMessageId

func (x *ChannelMessageRemove) GetMessageId() string

func (*ChannelMessageRemove) ProtoMessage

func (*ChannelMessageRemove) ProtoMessage()

func (*ChannelMessageRemove) ProtoReflect

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

func (*ChannelMessageRemove) Reset

func (x *ChannelMessageRemove) Reset()

func (*ChannelMessageRemove) String

func (x *ChannelMessageRemove) String() string

type ChannelMessageSend

type ChannelMessageSend struct {

	// The channel to sent to.
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message content.
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

Send a message to a realtime channel.

func (*ChannelMessageSend) Descriptor deprecated

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

Deprecated: Use ChannelMessageSend.ProtoReflect.Descriptor instead.

func (*ChannelMessageSend) GetChannelId

func (x *ChannelMessageSend) GetChannelId() string

func (*ChannelMessageSend) GetContent

func (x *ChannelMessageSend) GetContent() string

func (*ChannelMessageSend) ProtoMessage

func (*ChannelMessageSend) ProtoMessage()

func (*ChannelMessageSend) ProtoReflect

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

func (*ChannelMessageSend) Reset

func (x *ChannelMessageSend) Reset()

func (*ChannelMessageSend) String

func (x *ChannelMessageSend) String() string

type ChannelMessageUpdate

type ChannelMessageUpdate struct {

	// The channel the message was sent to.
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// The ID assigned to the message to update.
	MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// New message content.
	Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

Update a message previously sent to a realtime channel.

func (*ChannelMessageUpdate) Descriptor deprecated

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

Deprecated: Use ChannelMessageUpdate.ProtoReflect.Descriptor instead.

func (*ChannelMessageUpdate) GetChannelId

func (x *ChannelMessageUpdate) GetChannelId() string

func (*ChannelMessageUpdate) GetContent

func (x *ChannelMessageUpdate) GetContent() string

func (*ChannelMessageUpdate) GetMessageId

func (x *ChannelMessageUpdate) GetMessageId() string

func (*ChannelMessageUpdate) ProtoMessage

func (*ChannelMessageUpdate) ProtoMessage()

func (*ChannelMessageUpdate) ProtoReflect

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

func (*ChannelMessageUpdate) Reset

func (x *ChannelMessageUpdate) Reset()

func (*ChannelMessageUpdate) String

func (x *ChannelMessageUpdate) String() string

type ChannelPresenceEvent

type ChannelPresenceEvent struct {

	// The channel identifier this event is for.
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Presences joining the channel as part of this event, if any.
	Joins []*UserPresence `protobuf:"bytes,2,rep,name=joins,proto3" json:"joins,omitempty"`
	// Presences leaving the channel as part of this event, if any.
	Leaves []*UserPresence `protobuf:"bytes,3,rep,name=leaves,proto3" json:"leaves,omitempty"`
	// The name of the chat room, or an empty string if this message was not sent through a chat room.
	RoomName string `protobuf:"bytes,4,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
	// The ID of the group, or an empty string if this message was not sent through a group channel.
	GroupId string `protobuf:"bytes,5,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
	UserIdOne string `protobuf:"bytes,6,opt,name=user_id_one,json=userIdOne,proto3" json:"user_id_one,omitempty"`
	// The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
	UserIdTwo string `protobuf:"bytes,7,opt,name=user_id_two,json=userIdTwo,proto3" json:"user_id_two,omitempty"`
	// contains filtered or unexported fields
}

A set of joins and leaves on a particular channel.

func (*ChannelPresenceEvent) Descriptor deprecated

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

Deprecated: Use ChannelPresenceEvent.ProtoReflect.Descriptor instead.

func (*ChannelPresenceEvent) GetChannelId

func (x *ChannelPresenceEvent) GetChannelId() string

func (*ChannelPresenceEvent) GetGroupId

func (x *ChannelPresenceEvent) GetGroupId() string

func (*ChannelPresenceEvent) GetJoins

func (x *ChannelPresenceEvent) GetJoins() []*UserPresence

func (*ChannelPresenceEvent) GetLeaves

func (x *ChannelPresenceEvent) GetLeaves() []*UserPresence

func (*ChannelPresenceEvent) GetRoomName

func (x *ChannelPresenceEvent) GetRoomName() string

func (*ChannelPresenceEvent) GetUserIdOne

func (x *ChannelPresenceEvent) GetUserIdOne() string

func (*ChannelPresenceEvent) GetUserIdTwo

func (x *ChannelPresenceEvent) GetUserIdTwo() string

func (*ChannelPresenceEvent) ProtoMessage

func (*ChannelPresenceEvent) ProtoMessage()

func (*ChannelPresenceEvent) ProtoReflect

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

func (*ChannelPresenceEvent) Reset

func (x *ChannelPresenceEvent) Reset()

func (*ChannelPresenceEvent) String

func (x *ChannelPresenceEvent) String() string

type Envelope

type Envelope struct {
	Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
	// Types that are assignable to Message:
	//
	//	*Envelope_Channel
	//	*Envelope_ChannelJoin
	//	*Envelope_ChannelLeave
	//	*Envelope_ChannelMessage
	//	*Envelope_ChannelMessageAck
	//	*Envelope_ChannelMessageSend
	//	*Envelope_ChannelMessageUpdate
	//	*Envelope_ChannelMessageRemove
	//	*Envelope_ChannelPresenceEvent
	//	*Envelope_Error
	//	*Envelope_Match
	//	*Envelope_MatchCreate
	//	*Envelope_MatchData
	//	*Envelope_MatchDataSend
	//	*Envelope_MatchJoin
	//	*Envelope_MatchLeave
	//	*Envelope_MatchPresenceEvent
	//	*Envelope_MatchmakerAdd
	//	*Envelope_MatchmakerMatched
	//	*Envelope_MatchmakerRemove
	//	*Envelope_MatchmakerTicket
	//	*Envelope_Notifications
	//	*Envelope_Rpc
	//	*Envelope_Status
	//	*Envelope_StatusFollow
	//	*Envelope_StatusPresenceEvent
	//	*Envelope_StatusUnfollow
	//	*Envelope_StatusUpdate
	//	*Envelope_StreamData
	//	*Envelope_StreamPresenceEvent
	//	*Envelope_Ping
	//	*Envelope_Pong
	//	*Envelope_Party
	//	*Envelope_PartyCreate
	//	*Envelope_PartyJoin
	//	*Envelope_PartyLeave
	//	*Envelope_PartyPromote
	//	*Envelope_PartyLeader
	//	*Envelope_PartyAccept
	//	*Envelope_PartyRemove
	//	*Envelope_PartyClose
	//	*Envelope_PartyJoinRequestList
	//	*Envelope_PartyJoinRequest
	//	*Envelope_PartyMatchmakerAdd
	//	*Envelope_PartyMatchmakerRemove
	//	*Envelope_PartyMatchmakerTicket
	//	*Envelope_PartyData
	//	*Envelope_PartyDataSend
	//	*Envelope_PartyPresenceEvent
	Message isEnvelope_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

An envelope for a realtime message.

func (*Envelope) Descriptor deprecated

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

Deprecated: Use Envelope.ProtoReflect.Descriptor instead.

func (*Envelope) GetChannel

func (x *Envelope) GetChannel() *Channel

func (*Envelope) GetChannelJoin

func (x *Envelope) GetChannelJoin() *ChannelJoin

func (*Envelope) GetChannelLeave

func (x *Envelope) GetChannelLeave() *ChannelLeave

func (*Envelope) GetChannelMessage

func (x *Envelope) GetChannelMessage() *api.ChannelMessage

func (*Envelope) GetChannelMessageAck

func (x *Envelope) GetChannelMessageAck() *ChannelMessageAck

func (*Envelope) GetChannelMessageRemove

func (x *Envelope) GetChannelMessageRemove() *ChannelMessageRemove

func (*Envelope) GetChannelMessageSend

func (x *Envelope) GetChannelMessageSend() *ChannelMessageSend

func (*Envelope) GetChannelMessageUpdate

func (x *Envelope) GetChannelMessageUpdate() *ChannelMessageUpdate

func (*Envelope) GetChannelPresenceEvent

func (x *Envelope) GetChannelPresenceEvent() *ChannelPresenceEvent

func (*Envelope) GetCid

func (x *Envelope) GetCid() string

func (*Envelope) GetError

func (x *Envelope) GetError() *Error

func (*Envelope) GetMatch

func (x *Envelope) GetMatch() *Match

func (*Envelope) GetMatchCreate

func (x *Envelope) GetMatchCreate() *MatchCreate

func (*Envelope) GetMatchData

func (x *Envelope) GetMatchData() *MatchData

func (*Envelope) GetMatchDataSend

func (x *Envelope) GetMatchDataSend() *MatchDataSend

func (*Envelope) GetMatchJoin

func (x *Envelope) GetMatchJoin() *MatchJoin

func (*Envelope) GetMatchLeave

func (x *Envelope) GetMatchLeave() *MatchLeave

func (*Envelope) GetMatchPresenceEvent

func (x *Envelope) GetMatchPresenceEvent() *MatchPresenceEvent

func (*Envelope) GetMatchmakerAdd

func (x *Envelope) GetMatchmakerAdd() *MatchmakerAdd

func (*Envelope) GetMatchmakerMatched

func (x *Envelope) GetMatchmakerMatched() *MatchmakerMatched

func (*Envelope) GetMatchmakerRemove

func (x *Envelope) GetMatchmakerRemove() *MatchmakerRemove

func (*Envelope) GetMatchmakerTicket

func (x *Envelope) GetMatchmakerTicket() *MatchmakerTicket

func (*Envelope) GetMessage

func (m *Envelope) GetMessage() isEnvelope_Message

func (*Envelope) GetNotifications

func (x *Envelope) GetNotifications() *Notifications

func (*Envelope) GetParty

func (x *Envelope) GetParty() *Party

func (*Envelope) GetPartyAccept

func (x *Envelope) GetPartyAccept() *PartyAccept

func (*Envelope) GetPartyClose

func (x *Envelope) GetPartyClose() *PartyClose

func (*Envelope) GetPartyCreate

func (x *Envelope) GetPartyCreate() *PartyCreate

func (*Envelope) GetPartyData

func (x *Envelope) GetPartyData() *PartyData

func (*Envelope) GetPartyDataSend

func (x *Envelope) GetPartyDataSend() *PartyDataSend

func (*Envelope) GetPartyJoin

func (x *Envelope) GetPartyJoin() *PartyJoin

func (*Envelope) GetPartyJoinRequest

func (x *Envelope) GetPartyJoinRequest() *PartyJoinRequest

func (*Envelope) GetPartyJoinRequestList

func (x *Envelope) GetPartyJoinRequestList() *PartyJoinRequestList

func (*Envelope) GetPartyLeader

func (x *Envelope) GetPartyLeader() *PartyLeader

func (*Envelope) GetPartyLeave

func (x *Envelope) GetPartyLeave() *PartyLeave

func (*Envelope) GetPartyMatchmakerAdd

func (x *Envelope) GetPartyMatchmakerAdd() *PartyMatchmakerAdd

func (*Envelope) GetPartyMatchmakerRemove

func (x *Envelope) GetPartyMatchmakerRemove() *PartyMatchmakerRemove

func (*Envelope) GetPartyMatchmakerTicket

func (x *Envelope) GetPartyMatchmakerTicket() *PartyMatchmakerTicket

func (*Envelope) GetPartyPresenceEvent

func (x *Envelope) GetPartyPresenceEvent() *PartyPresenceEvent

func (*Envelope) GetPartyPromote

func (x *Envelope) GetPartyPromote() *PartyPromote

func (*Envelope) GetPartyRemove

func (x *Envelope) GetPartyRemove() *PartyRemove

func (*Envelope) GetPing

func (x *Envelope) GetPing() *Ping

func (*Envelope) GetPong

func (x *Envelope) GetPong() *Pong

func (*Envelope) GetRpc

func (x *Envelope) GetRpc() *api.Rpc

func (*Envelope) GetStatus

func (x *Envelope) GetStatus() *Status

func (*Envelope) GetStatusFollow

func (x *Envelope) GetStatusFollow() *StatusFollow

func (*Envelope) GetStatusPresenceEvent

func (x *Envelope) GetStatusPresenceEvent() *StatusPresenceEvent

func (*Envelope) GetStatusUnfollow

func (x *Envelope) GetStatusUnfollow() *StatusUnfollow

func (*Envelope) GetStatusUpdate

func (x *Envelope) GetStatusUpdate() *StatusUpdate

func (*Envelope) GetStreamData

func (x *Envelope) GetStreamData() *StreamData

func (*Envelope) GetStreamPresenceEvent

func (x *Envelope) GetStreamPresenceEvent() *StreamPresenceEvent

func (*Envelope) ProtoMessage

func (*Envelope) ProtoMessage()

func (*Envelope) ProtoReflect

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

func (*Envelope) Reset

func (x *Envelope) Reset()

func (*Envelope) String

func (x *Envelope) String() string

type Envelope_Channel

type Envelope_Channel struct {
	// A response from a channel join operation.
	Channel *Channel `protobuf:"bytes,2,opt,name=channel,proto3,oneof"`
}

type Envelope_ChannelJoin

type Envelope_ChannelJoin struct {
	// Join a realtime chat channel.
	ChannelJoin *ChannelJoin `protobuf:"bytes,3,opt,name=channel_join,json=channelJoin,proto3,oneof"`
}

type Envelope_ChannelLeave

type Envelope_ChannelLeave struct {
	// Leave a realtime chat channel.
	ChannelLeave *ChannelLeave `protobuf:"bytes,4,opt,name=channel_leave,json=channelLeave,proto3,oneof"`
}

type Envelope_ChannelMessage

type Envelope_ChannelMessage struct {
	// An incoming message on a realtime chat channel.
	ChannelMessage *api.ChannelMessage `protobuf:"bytes,5,opt,name=channel_message,json=channelMessage,proto3,oneof"`
}

type Envelope_ChannelMessageAck

type Envelope_ChannelMessageAck struct {
	// An acknowledgement received in response to sending a message on a chat channel.
	ChannelMessageAck *ChannelMessageAck `protobuf:"bytes,6,opt,name=channel_message_ack,json=channelMessageAck,proto3,oneof"`
}

type Envelope_ChannelMessageRemove

type Envelope_ChannelMessageRemove struct {
	// Remove a message previously sent to a realtime chat channel.
	ChannelMessageRemove *ChannelMessageRemove `protobuf:"bytes,9,opt,name=channel_message_remove,json=channelMessageRemove,proto3,oneof"`
}

type Envelope_ChannelMessageSend

type Envelope_ChannelMessageSend struct {
	// Send a message to a realtime chat channel.
	ChannelMessageSend *ChannelMessageSend `protobuf:"bytes,7,opt,name=channel_message_send,json=channelMessageSend,proto3,oneof"`
}

type Envelope_ChannelMessageUpdate

type Envelope_ChannelMessageUpdate struct {
	// Update a message previously sent to a realtime chat channel.
	ChannelMessageUpdate *ChannelMessageUpdate `protobuf:"bytes,8,opt,name=channel_message_update,json=channelMessageUpdate,proto3,oneof"`
}

type Envelope_ChannelPresenceEvent

type Envelope_ChannelPresenceEvent struct {
	// Presence update for a particular realtime chat channel.
	ChannelPresenceEvent *ChannelPresenceEvent `protobuf:"bytes,10,opt,name=channel_presence_event,json=channelPresenceEvent,proto3,oneof"`
}

type Envelope_Error

type Envelope_Error struct {
	// Describes an error which occurred on the server.
	Error *Error `protobuf:"bytes,11,opt,name=error,proto3,oneof"`
}

type Envelope_Match

type Envelope_Match struct {
	// Incoming information about a realtime match.
	Match *Match `protobuf:"bytes,12,opt,name=match,proto3,oneof"`
}

type Envelope_MatchCreate

type Envelope_MatchCreate struct {
	// A client to server request to create a realtime match.
	MatchCreate *MatchCreate `protobuf:"bytes,13,opt,name=match_create,json=matchCreate,proto3,oneof"`
}

type Envelope_MatchData

type Envelope_MatchData struct {
	// Incoming realtime match data delivered from the server.
	MatchData *MatchData `protobuf:"bytes,14,opt,name=match_data,json=matchData,proto3,oneof"`
}

type Envelope_MatchDataSend

type Envelope_MatchDataSend struct {
	// A client to server request to send data to a realtime match.
	MatchDataSend *MatchDataSend `protobuf:"bytes,15,opt,name=match_data_send,json=matchDataSend,proto3,oneof"`
}

type Envelope_MatchJoin

type Envelope_MatchJoin struct {
	// A client to server request to join a realtime match.
	MatchJoin *MatchJoin `protobuf:"bytes,16,opt,name=match_join,json=matchJoin,proto3,oneof"`
}

type Envelope_MatchLeave

type Envelope_MatchLeave struct {
	// A client to server request to leave a realtime match.
	MatchLeave *MatchLeave `protobuf:"bytes,17,opt,name=match_leave,json=matchLeave,proto3,oneof"`
}

type Envelope_MatchPresenceEvent

type Envelope_MatchPresenceEvent struct {
	// Presence update for a particular realtime match.
	MatchPresenceEvent *MatchPresenceEvent `protobuf:"bytes,18,opt,name=match_presence_event,json=matchPresenceEvent,proto3,oneof"`
}

type Envelope_MatchmakerAdd

type Envelope_MatchmakerAdd struct {
	// Submit a new matchmaking process request.
	MatchmakerAdd *MatchmakerAdd `protobuf:"bytes,19,opt,name=matchmaker_add,json=matchmakerAdd,proto3,oneof"`
}

type Envelope_MatchmakerMatched

type Envelope_MatchmakerMatched struct {
	// A successful matchmaking result.
	MatchmakerMatched *MatchmakerMatched `protobuf:"bytes,20,opt,name=matchmaker_matched,json=matchmakerMatched,proto3,oneof"`
}

type Envelope_MatchmakerRemove

type Envelope_MatchmakerRemove struct {
	// Cancel a matchmaking process using a ticket.
	MatchmakerRemove *MatchmakerRemove `protobuf:"bytes,21,opt,name=matchmaker_remove,json=matchmakerRemove,proto3,oneof"`
}

type Envelope_MatchmakerTicket

type Envelope_MatchmakerTicket struct {
	// A response from starting a new matchmaking process.
	MatchmakerTicket *MatchmakerTicket `protobuf:"bytes,22,opt,name=matchmaker_ticket,json=matchmakerTicket,proto3,oneof"`
}

type Envelope_Notifications

type Envelope_Notifications struct {
	// Notifications send by the server.
	Notifications *Notifications `protobuf:"bytes,23,opt,name=notifications,proto3,oneof"`
}

type Envelope_Party

type Envelope_Party struct {
	// Incoming information about a party.
	Party *Party `protobuf:"bytes,34,opt,name=party,proto3,oneof"`
}

type Envelope_PartyAccept

type Envelope_PartyAccept struct {
	// Accept a request to join.
	PartyAccept *PartyAccept `protobuf:"bytes,40,opt,name=party_accept,json=partyAccept,proto3,oneof"`
}

type Envelope_PartyClose

type Envelope_PartyClose struct {
	// End a party, kicking all party members and closing it.
	PartyClose *PartyClose `protobuf:"bytes,42,opt,name=party_close,json=partyClose,proto3,oneof"`
}

type Envelope_PartyCreate

type Envelope_PartyCreate struct {
	// Create a party.
	PartyCreate *PartyCreate `protobuf:"bytes,35,opt,name=party_create,json=partyCreate,proto3,oneof"`
}

type Envelope_PartyData

type Envelope_PartyData struct {
	// Incoming party data delivered from the server.
	PartyData *PartyData `protobuf:"bytes,48,opt,name=party_data,json=partyData,proto3,oneof"`
}

type Envelope_PartyDataSend

type Envelope_PartyDataSend struct {
	// A client to server request to send data to a party.
	PartyDataSend *PartyDataSend `protobuf:"bytes,49,opt,name=party_data_send,json=partyDataSend,proto3,oneof"`
}

type Envelope_PartyJoin

type Envelope_PartyJoin struct {
	// Join a party, or request to join if the party is not open.
	PartyJoin *PartyJoin `protobuf:"bytes,36,opt,name=party_join,json=partyJoin,proto3,oneof"`
}

type Envelope_PartyJoinRequest

type Envelope_PartyJoinRequest struct {
	// Incoming notification for one or more new presences attempting to join the party.
	PartyJoinRequest *PartyJoinRequest `protobuf:"bytes,44,opt,name=party_join_request,json=partyJoinRequest,proto3,oneof"`
}

type Envelope_PartyJoinRequestList

type Envelope_PartyJoinRequestList struct {
	// Request a list of pending join requests for a party.
	PartyJoinRequestList *PartyJoinRequestList `protobuf:"bytes,43,opt,name=party_join_request_list,json=partyJoinRequestList,proto3,oneof"`
}

type Envelope_PartyLeader

type Envelope_PartyLeader struct {
	// Announcement of a new party leader.
	PartyLeader *PartyLeader `protobuf:"bytes,39,opt,name=party_leader,json=partyLeader,proto3,oneof"`
}

type Envelope_PartyLeave

type Envelope_PartyLeave struct {
	// Leave a party.
	PartyLeave *PartyLeave `protobuf:"bytes,37,opt,name=party_leave,json=partyLeave,proto3,oneof"`
}

type Envelope_PartyMatchmakerAdd

type Envelope_PartyMatchmakerAdd struct {
	// Begin matchmaking as a party.
	PartyMatchmakerAdd *PartyMatchmakerAdd `protobuf:"bytes,45,opt,name=party_matchmaker_add,json=partyMatchmakerAdd,proto3,oneof"`
}

type Envelope_PartyMatchmakerRemove

type Envelope_PartyMatchmakerRemove struct {
	// Cancel a party matchmaking process using a ticket.
	PartyMatchmakerRemove *PartyMatchmakerRemove `protobuf:"bytes,46,opt,name=party_matchmaker_remove,json=partyMatchmakerRemove,proto3,oneof"`
}

type Envelope_PartyMatchmakerTicket

type Envelope_PartyMatchmakerTicket struct {
	// A response from starting a new party matchmaking process.
	PartyMatchmakerTicket *PartyMatchmakerTicket `protobuf:"bytes,47,opt,name=party_matchmaker_ticket,json=partyMatchmakerTicket,proto3,oneof"`
}

type Envelope_PartyPresenceEvent

type Envelope_PartyPresenceEvent struct {
	// Presence update for a particular party.
	PartyPresenceEvent *PartyPresenceEvent `protobuf:"bytes,50,opt,name=party_presence_event,json=partyPresenceEvent,proto3,oneof"`
}

type Envelope_PartyPromote

type Envelope_PartyPromote struct {
	// Promote a new party leader.
	PartyPromote *PartyPromote `protobuf:"bytes,38,opt,name=party_promote,json=partyPromote,proto3,oneof"`
}

type Envelope_PartyRemove

type Envelope_PartyRemove struct {
	// Kick a party member, or decline a request to join.
	PartyRemove *PartyRemove `protobuf:"bytes,41,opt,name=party_remove,json=partyRemove,proto3,oneof"`
}

type Envelope_Ping

type Envelope_Ping struct {
	// Application-level heartbeat and connection check.
	Ping *Ping `protobuf:"bytes,32,opt,name=ping,proto3,oneof"`
}

type Envelope_Pong

type Envelope_Pong struct {
	// Application-level heartbeat and connection check response.
	Pong *Pong `protobuf:"bytes,33,opt,name=pong,proto3,oneof"`
}

type Envelope_Rpc

type Envelope_Rpc struct {
	// RPC call or response.
	Rpc *api.Rpc `protobuf:"bytes,24,opt,name=rpc,proto3,oneof"`
}

type Envelope_Status

type Envelope_Status struct {
	// An incoming status snapshot for some set of users.
	Status *Status `protobuf:"bytes,25,opt,name=status,proto3,oneof"`
}

type Envelope_StatusFollow

type Envelope_StatusFollow struct {
	// Start following some set of users to receive their status updates.
	StatusFollow *StatusFollow `protobuf:"bytes,26,opt,name=status_follow,json=statusFollow,proto3,oneof"`
}

type Envelope_StatusPresenceEvent

type Envelope_StatusPresenceEvent struct {
	// An incoming status update.
	StatusPresenceEvent *StatusPresenceEvent `protobuf:"bytes,27,opt,name=status_presence_event,json=statusPresenceEvent,proto3,oneof"`
}

type Envelope_StatusUnfollow

type Envelope_StatusUnfollow struct {
	// Stop following some set of users to no longer receive their status updates.
	StatusUnfollow *StatusUnfollow `protobuf:"bytes,28,opt,name=status_unfollow,json=statusUnfollow,proto3,oneof"`
}

type Envelope_StatusUpdate

type Envelope_StatusUpdate struct {
	// Set the user's own status.
	StatusUpdate *StatusUpdate `protobuf:"bytes,29,opt,name=status_update,json=statusUpdate,proto3,oneof"`
}

type Envelope_StreamData

type Envelope_StreamData struct {
	// A data message delivered over a stream.
	StreamData *StreamData `protobuf:"bytes,30,opt,name=stream_data,json=streamData,proto3,oneof"`
}

type Envelope_StreamPresenceEvent

type Envelope_StreamPresenceEvent struct {
	// Presence update for a particular stream.
	StreamPresenceEvent *StreamPresenceEvent `protobuf:"bytes,31,opt,name=stream_presence_event,json=streamPresenceEvent,proto3,oneof"`
}

type Error

type Error struct {

	// The error code which should be one of "Error.Code" enums.
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// A message in English to help developers debug the response.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// Additional error details which may be different for each response.
	Context map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

A logical error which may occur on the server.

func (*Error) Descriptor deprecated

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCode

func (x *Error) GetCode() int32

func (*Error) GetContext

func (x *Error) GetContext() map[string]string

func (*Error) GetMessage

func (x *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

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

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type Error_Code

type Error_Code int32

The selection of possible error codes.

const (
	// An unexpected result from the server.
	Error_RUNTIME_EXCEPTION Error_Code = 0
	// The server received a message which is not recognised.
	Error_UNRECOGNIZED_PAYLOAD Error_Code = 1
	// A message was expected but contains no content.
	Error_MISSING_PAYLOAD Error_Code = 2
	// Fields in the message have an invalid format.
	Error_BAD_INPUT Error_Code = 3
	// The match id was not found.
	Error_MATCH_NOT_FOUND Error_Code = 4
	// The match join was rejected.
	Error_MATCH_JOIN_REJECTED Error_Code = 5
	// The runtime function does not exist on the server.
	Error_RUNTIME_FUNCTION_NOT_FOUND Error_Code = 6
	// The runtime function executed with an error.
	Error_RUNTIME_FUNCTION_EXCEPTION Error_Code = 7
)

func (Error_Code) Descriptor

func (Error_Code) Descriptor() protoreflect.EnumDescriptor

func (Error_Code) Enum

func (x Error_Code) Enum() *Error_Code

func (Error_Code) EnumDescriptor deprecated

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

Deprecated: Use Error_Code.Descriptor instead.

func (Error_Code) Number

func (x Error_Code) Number() protoreflect.EnumNumber

func (Error_Code) String

func (x Error_Code) String() string

func (Error_Code) Type

type Match

type Match struct {

	// The match unique ID.
	MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
	// True if it's an server-managed authoritative match, false otherwise.
	Authoritative bool `protobuf:"varint,2,opt,name=authoritative,proto3" json:"authoritative,omitempty"`
	// Match label, if any.
	Label *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	// The number of users currently in the match.
	Size int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	// The users currently in the match.
	Presences []*UserPresence `protobuf:"bytes,5,rep,name=presences,proto3" json:"presences,omitempty"`
	// A reference to the current user's presence in the match.
	Self *UserPresence `protobuf:"bytes,6,opt,name=self,proto3" json:"self,omitempty"`
	// contains filtered or unexported fields
}

A realtime match.

func (*Match) Descriptor deprecated

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

Deprecated: Use Match.ProtoReflect.Descriptor instead.

func (*Match) GetAuthoritative

func (x *Match) GetAuthoritative() bool

func (*Match) GetLabel

func (x *Match) GetLabel() *wrapperspb.StringValue

func (*Match) GetMatchId

func (x *Match) GetMatchId() string

func (*Match) GetPresences

func (x *Match) GetPresences() []*UserPresence

func (*Match) GetSelf

func (x *Match) GetSelf() *UserPresence

func (*Match) GetSize

func (x *Match) GetSize() int32

func (*Match) ProtoMessage

func (*Match) ProtoMessage()

func (*Match) ProtoReflect

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

func (*Match) Reset

func (x *Match) Reset()

func (*Match) String

func (x *Match) String() string

type MatchCreate

type MatchCreate struct {

	// Optional name to use when creating the match.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Create a new realtime match.

func (*MatchCreate) Descriptor deprecated

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

Deprecated: Use MatchCreate.ProtoReflect.Descriptor instead.

func (*MatchCreate) GetName

func (x *MatchCreate) GetName() string

func (*MatchCreate) ProtoMessage

func (*MatchCreate) ProtoMessage()

func (*MatchCreate) ProtoReflect

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

func (*MatchCreate) Reset

func (x *MatchCreate) Reset()

func (*MatchCreate) String

func (x *MatchCreate) String() string

type MatchData

type MatchData struct {

	// The match unique ID.
	MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
	// A reference to the user presence that sent this data, if any.
	Presence *UserPresence `protobuf:"bytes,2,opt,name=presence,proto3" json:"presence,omitempty"`
	// Op code value.
	OpCode int64 `protobuf:"varint,3,opt,name=op_code,json=opCode,proto3" json:"op_code,omitempty"`
	// Data payload, if any.
	Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// True if this data was delivered reliably, false otherwise.
	Reliable bool `protobuf:"varint,5,opt,name=reliable,proto3" json:"reliable,omitempty"`
	// contains filtered or unexported fields
}

Realtime match data received from the server.

func (*MatchData) Descriptor deprecated

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

Deprecated: Use MatchData.ProtoReflect.Descriptor instead.

func (*MatchData) GetData

func (x *MatchData) GetData() []byte

func (*MatchData) GetMatchId

func (x *MatchData) GetMatchId() string

func (*MatchData) GetOpCode

func (x *MatchData) GetOpCode() int64

func (*MatchData) GetPresence

func (x *MatchData) GetPresence() *UserPresence

func (*MatchData) GetReliable

func (x *MatchData) GetReliable() bool

func (*MatchData) ProtoMessage

func (*MatchData) ProtoMessage()

func (*MatchData) ProtoReflect

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

func (*MatchData) Reset

func (x *MatchData) Reset()

func (*MatchData) String

func (x *MatchData) String() string

type MatchDataSend

type MatchDataSend struct {

	// The match unique ID.
	MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
	// Op code value.
	OpCode int64 `protobuf:"varint,2,opt,name=op_code,json=opCode,proto3" json:"op_code,omitempty"`
	// Data payload, if any.
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// List of presences in the match to deliver to, if filtering is required. Otherwise deliver to everyone in the match.
	Presences []*UserPresence `protobuf:"bytes,4,rep,name=presences,proto3" json:"presences,omitempty"`
	// True if the data should be sent reliably, false otherwise.
	Reliable bool `protobuf:"varint,5,opt,name=reliable,proto3" json:"reliable,omitempty"`
	// contains filtered or unexported fields
}

Send realtime match data to the server.

func (*MatchDataSend) Descriptor deprecated

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

Deprecated: Use MatchDataSend.ProtoReflect.Descriptor instead.

func (*MatchDataSend) GetData

func (x *MatchDataSend) GetData() []byte

func (*MatchDataSend) GetMatchId

func (x *MatchDataSend) GetMatchId() string

func (*MatchDataSend) GetOpCode

func (x *MatchDataSend) GetOpCode() int64

func (*MatchDataSend) GetPresences

func (x *MatchDataSend) GetPresences() []*UserPresence

func (*MatchDataSend) GetReliable

func (x *MatchDataSend) GetReliable() bool

func (*MatchDataSend) ProtoMessage

func (*MatchDataSend) ProtoMessage()

func (*MatchDataSend) ProtoReflect

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

func (*MatchDataSend) Reset

func (x *MatchDataSend) Reset()

func (*MatchDataSend) String

func (x *MatchDataSend) String() string

type MatchJoin

type MatchJoin struct {

	// Types that are assignable to Id:
	//
	//	*MatchJoin_MatchId
	//	*MatchJoin_Token
	Id isMatchJoin_Id `protobuf_oneof:"id"`
	// An optional set of key-value metadata pairs to be passed to the match handler, if any.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

Join an existing realtime match.

func (*MatchJoin) Descriptor deprecated

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

Deprecated: Use MatchJoin.ProtoReflect.Descriptor instead.

func (*MatchJoin) GetId

func (m *MatchJoin) GetId() isMatchJoin_Id

func (*MatchJoin) GetMatchId

func (x *MatchJoin) GetMatchId() string

func (*MatchJoin) GetMetadata

func (x *MatchJoin) GetMetadata() map[string]string

func (*MatchJoin) GetToken

func (x *MatchJoin) GetToken() string

func (*MatchJoin) ProtoMessage

func (*MatchJoin) ProtoMessage()

func (*MatchJoin) ProtoReflect

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

func (*MatchJoin) Reset

func (x *MatchJoin) Reset()

func (*MatchJoin) String

func (x *MatchJoin) String() string

type MatchJoin_MatchId

type MatchJoin_MatchId struct {
	// The match unique ID.
	MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3,oneof"`
}

type MatchJoin_Token

type MatchJoin_Token struct {
	// A matchmaking result token.
	Token string `protobuf:"bytes,2,opt,name=token,proto3,oneof"`
}

type MatchLeave

type MatchLeave struct {

	// The match unique ID.
	MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
	// contains filtered or unexported fields
}

Leave a realtime match.

func (*MatchLeave) Descriptor deprecated

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

Deprecated: Use MatchLeave.ProtoReflect.Descriptor instead.

func (*MatchLeave) GetMatchId

func (x *MatchLeave) GetMatchId() string

func (*MatchLeave) ProtoMessage

func (*MatchLeave) ProtoMessage()

func (*MatchLeave) ProtoReflect

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

func (*MatchLeave) Reset

func (x *MatchLeave) Reset()

func (*MatchLeave) String

func (x *MatchLeave) String() string

type MatchPresenceEvent

type MatchPresenceEvent struct {

	// The match unique ID.
	MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
	// User presences that have just joined the match.
	Joins []*UserPresence `protobuf:"bytes,2,rep,name=joins,proto3" json:"joins,omitempty"`
	// User presences that have just left the match.
	Leaves []*UserPresence `protobuf:"bytes,3,rep,name=leaves,proto3" json:"leaves,omitempty"`
	// contains filtered or unexported fields
}

A set of joins and leaves on a particular realtime match.

func (*MatchPresenceEvent) Descriptor deprecated

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

Deprecated: Use MatchPresenceEvent.ProtoReflect.Descriptor instead.

func (*MatchPresenceEvent) GetJoins

func (x *MatchPresenceEvent) GetJoins() []*UserPresence

func (*MatchPresenceEvent) GetLeaves

func (x *MatchPresenceEvent) GetLeaves() []*UserPresence

func (*MatchPresenceEvent) GetMatchId

func (x *MatchPresenceEvent) GetMatchId() string

func (*MatchPresenceEvent) ProtoMessage

func (*MatchPresenceEvent) ProtoMessage()

func (*MatchPresenceEvent) ProtoReflect

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

func (*MatchPresenceEvent) Reset

func (x *MatchPresenceEvent) Reset()

func (*MatchPresenceEvent) String

func (x *MatchPresenceEvent) String() string

type MatchmakerAdd

type MatchmakerAdd struct {

	// Minimum total user count to match together.
	MinCount int32 `protobuf:"varint,1,opt,name=min_count,json=minCount,proto3" json:"min_count,omitempty"`
	// Maximum total user count to match together.
	MaxCount int32 `protobuf:"varint,2,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"`
	// Filter query used to identify suitable users.
	Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// String properties.
	StringProperties map[string]string `` /* 197-byte string literal not displayed */
	// Numeric properties.
	NumericProperties map[string]float64 `` /* 202-byte string literal not displayed */
	// Optional multiple of the count that must be satisfied.
	CountMultiple *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=count_multiple,json=countMultiple,proto3" json:"count_multiple,omitempty"`
	// contains filtered or unexported fields
}

Start a new matchmaking process.

func (*MatchmakerAdd) Descriptor deprecated

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

Deprecated: Use MatchmakerAdd.ProtoReflect.Descriptor instead.

func (*MatchmakerAdd) GetCountMultiple

func (x *MatchmakerAdd) GetCountMultiple() *wrapperspb.Int32Value

func (*MatchmakerAdd) GetMaxCount

func (x *MatchmakerAdd) GetMaxCount() int32

func (*MatchmakerAdd) GetMinCount

func (x *MatchmakerAdd) GetMinCount() int32

func (*MatchmakerAdd) GetNumericProperties

func (x *MatchmakerAdd) GetNumericProperties() map[string]float64

func (*MatchmakerAdd) GetQuery

func (x *MatchmakerAdd) GetQuery() string

func (*MatchmakerAdd) GetStringProperties

func (x *MatchmakerAdd) GetStringProperties() map[string]string

func (*MatchmakerAdd) ProtoMessage

func (*MatchmakerAdd) ProtoMessage()

func (*MatchmakerAdd) ProtoReflect

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

func (*MatchmakerAdd) Reset

func (x *MatchmakerAdd) Reset()

func (*MatchmakerAdd) String

func (x *MatchmakerAdd) String() string

type MatchmakerMatched

type MatchmakerMatched struct {

	// The matchmaking ticket that has completed.
	Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"`
	// The match token or match ID to join.
	//
	// Types that are assignable to Id:
	//
	//	*MatchmakerMatched_MatchId
	//	*MatchmakerMatched_Token
	Id isMatchmakerMatched_Id `protobuf_oneof:"id"`
	// The users that have been matched together, and information about their matchmaking data.
	Users []*MatchmakerMatched_MatchmakerUser `protobuf:"bytes,4,rep,name=users,proto3" json:"users,omitempty"`
	// A reference to the current user and their properties.
	Self *MatchmakerMatched_MatchmakerUser `protobuf:"bytes,5,opt,name=self,proto3" json:"self,omitempty"`
	// contains filtered or unexported fields
}

A successful matchmaking result.

func (*MatchmakerMatched) Descriptor deprecated

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

Deprecated: Use MatchmakerMatched.ProtoReflect.Descriptor instead.

func (*MatchmakerMatched) GetId

func (m *MatchmakerMatched) GetId() isMatchmakerMatched_Id

func (*MatchmakerMatched) GetMatchId

func (x *MatchmakerMatched) GetMatchId() string

func (*MatchmakerMatched) GetSelf

func (*MatchmakerMatched) GetTicket

func (x *MatchmakerMatched) GetTicket() string

func (*MatchmakerMatched) GetToken

func (x *MatchmakerMatched) GetToken() string

func (*MatchmakerMatched) GetUsers

func (*MatchmakerMatched) ProtoMessage

func (*MatchmakerMatched) ProtoMessage()

func (*MatchmakerMatched) ProtoReflect

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

func (*MatchmakerMatched) Reset

func (x *MatchmakerMatched) Reset()

func (*MatchmakerMatched) String

func (x *MatchmakerMatched) String() string

type MatchmakerMatched_MatchId

type MatchmakerMatched_MatchId struct {
	// Match ID.
	MatchId string `protobuf:"bytes,2,opt,name=match_id,json=matchId,proto3,oneof"`
}

type MatchmakerMatched_MatchmakerUser

type MatchmakerMatched_MatchmakerUser struct {

	// User info.
	Presence *UserPresence `protobuf:"bytes,1,opt,name=presence,proto3" json:"presence,omitempty"`
	// Party identifier, if this user was matched as a party member.
	PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// String properties.
	StringProperties map[string]string `` /* 197-byte string literal not displayed */
	// Numeric properties.
	NumericProperties map[string]float64 `` /* 202-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MatchmakerMatched_MatchmakerUser) Descriptor deprecated

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

Deprecated: Use MatchmakerMatched_MatchmakerUser.ProtoReflect.Descriptor instead.

func (*MatchmakerMatched_MatchmakerUser) GetNumericProperties

func (x *MatchmakerMatched_MatchmakerUser) GetNumericProperties() map[string]float64

func (*MatchmakerMatched_MatchmakerUser) GetPartyId

func (x *MatchmakerMatched_MatchmakerUser) GetPartyId() string

func (*MatchmakerMatched_MatchmakerUser) GetPresence

func (*MatchmakerMatched_MatchmakerUser) GetStringProperties

func (x *MatchmakerMatched_MatchmakerUser) GetStringProperties() map[string]string

func (*MatchmakerMatched_MatchmakerUser) ProtoMessage

func (*MatchmakerMatched_MatchmakerUser) ProtoMessage()

func (*MatchmakerMatched_MatchmakerUser) ProtoReflect

func (*MatchmakerMatched_MatchmakerUser) Reset

func (*MatchmakerMatched_MatchmakerUser) String

type MatchmakerMatched_Token

type MatchmakerMatched_Token struct {
	// Match join token.
	Token string `protobuf:"bytes,3,opt,name=token,proto3,oneof"`
}

type MatchmakerRemove

type MatchmakerRemove struct {

	// The ticket to cancel.
	Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"`
	// contains filtered or unexported fields
}

Cancel an existing ongoing matchmaking process.

func (*MatchmakerRemove) Descriptor deprecated

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

Deprecated: Use MatchmakerRemove.ProtoReflect.Descriptor instead.

func (*MatchmakerRemove) GetTicket

func (x *MatchmakerRemove) GetTicket() string

func (*MatchmakerRemove) ProtoMessage

func (*MatchmakerRemove) ProtoMessage()

func (*MatchmakerRemove) ProtoReflect

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

func (*MatchmakerRemove) Reset

func (x *MatchmakerRemove) Reset()

func (*MatchmakerRemove) String

func (x *MatchmakerRemove) String() string

type MatchmakerTicket

type MatchmakerTicket struct {

	// The ticket that can be used to cancel matchmaking.
	Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"`
	// contains filtered or unexported fields
}

A ticket representing a new matchmaking process.

func (*MatchmakerTicket) Descriptor deprecated

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

Deprecated: Use MatchmakerTicket.ProtoReflect.Descriptor instead.

func (*MatchmakerTicket) GetTicket

func (x *MatchmakerTicket) GetTicket() string

func (*MatchmakerTicket) ProtoMessage

func (*MatchmakerTicket) ProtoMessage()

func (*MatchmakerTicket) ProtoReflect

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

func (*MatchmakerTicket) Reset

func (x *MatchmakerTicket) Reset()

func (*MatchmakerTicket) String

func (x *MatchmakerTicket) String() string

type NakamaPeer

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

func (*NakamaPeer) Descriptor deprecated

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

Deprecated: Use NakamaPeer.ProtoReflect.Descriptor instead.

func (*NakamaPeer) ProtoMessage

func (*NakamaPeer) ProtoMessage()

func (*NakamaPeer) ProtoReflect

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

func (*NakamaPeer) Reset

func (x *NakamaPeer) Reset()

func (*NakamaPeer) String

func (x *NakamaPeer) String() string

type NakamaPeerApiClient

type NakamaPeerApiClient interface {
	Call(ctx context.Context, in *NakamaPeer_Envelope, opts ...grpc.CallOption) (*NakamaPeer_Envelope, error)
	Stream(ctx context.Context, opts ...grpc.CallOption) (NakamaPeerApi_StreamClient, error)
}

NakamaPeerApiClient is the client API for NakamaPeerApi 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 NakamaPeerApiServer

type NakamaPeerApiServer interface {
	Call(context.Context, *NakamaPeer_Envelope) (*NakamaPeer_Envelope, error)
	Stream(NakamaPeerApi_StreamServer) error
	// contains filtered or unexported methods
}

NakamaPeerApiServer is the server API for NakamaPeerApi service. All implementations must embed UnimplementedNakamaPeerApiServer for forward compatibility

type NakamaPeerApi_StreamClient

type NakamaPeerApi_StreamClient interface {
	Send(*NakamaPeer_Envelope) error
	Recv() (*NakamaPeer_Envelope, error)
	grpc.ClientStream
}

type NakamaPeerApi_StreamServer

type NakamaPeerApi_StreamServer interface {
	Send(*NakamaPeer_Envelope) error
	Recv() (*NakamaPeer_Envelope, error)
	grpc.ServerStream
}

type NakamaPeer_Envelope

type NakamaPeer_Envelope struct {
	Recipient   []string          `protobuf:"bytes,1,rep,name=recipient,proto3" json:"recipient,omitempty"`
	Reason      uint32            `protobuf:"varint,2,opt,name=reason,proto3" json:"reason,omitempty"`
	Context     map[string]string `` /* 155-byte string literal not displayed */
	IsSessionID bool              `protobuf:"varint,4,opt,name=IsSessionID,proto3" json:"IsSessionID,omitempty"`
	// Types that are assignable to Payload:
	//
	//	*NakamaPeer_Envelope_NakamaEnvelope
	//	*NakamaPeer_Envelope_Bytes
	Payload isNakamaPeer_Envelope_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Envelope) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Envelope.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Envelope) GetBytes

func (x *NakamaPeer_Envelope) GetBytes() []byte

func (*NakamaPeer_Envelope) GetContext

func (x *NakamaPeer_Envelope) GetContext() map[string]string

func (*NakamaPeer_Envelope) GetIsSessionID

func (x *NakamaPeer_Envelope) GetIsSessionID() bool

func (*NakamaPeer_Envelope) GetNakamaEnvelope

func (x *NakamaPeer_Envelope) GetNakamaEnvelope() *Envelope

func (*NakamaPeer_Envelope) GetPayload

func (m *NakamaPeer_Envelope) GetPayload() isNakamaPeer_Envelope_Payload

func (*NakamaPeer_Envelope) GetReason

func (x *NakamaPeer_Envelope) GetReason() uint32

func (*NakamaPeer_Envelope) GetRecipient

func (x *NakamaPeer_Envelope) GetRecipient() []string

func (*NakamaPeer_Envelope) ProtoMessage

func (*NakamaPeer_Envelope) ProtoMessage()

func (*NakamaPeer_Envelope) ProtoReflect

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

func (*NakamaPeer_Envelope) Reset

func (x *NakamaPeer_Envelope) Reset()

func (*NakamaPeer_Envelope) String

func (x *NakamaPeer_Envelope) String() string

type NakamaPeer_Envelope_Bytes

type NakamaPeer_Envelope_Bytes struct {
	Bytes []byte `protobuf:"bytes,6,opt,name=bytes,proto3,oneof"`
}

type NakamaPeer_Envelope_NakamaEnvelope

type NakamaPeer_Envelope_NakamaEnvelope struct {
	NakamaEnvelope *Envelope `protobuf:"bytes,5,opt,name=nakamaEnvelope,proto3,oneof"`
}

type NakamaPeer_Frame

type NakamaPeer_Frame struct {
	Id           string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	InboxAddress string                 `protobuf:"bytes,2,opt,name=inboxAddress,proto3" json:"inboxAddress,omitempty"`
	Node         string                 `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"`
	Timestamp    *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Gossip       *wrapperspb.BoolValue  `protobuf:"bytes,5,opt,name=gossip,proto3" json:"gossip,omitempty"`
	Infected     map[string]bool        `` /* 158-byte string literal not displayed */
	// Types that are assignable to Payload:
	//
	//	*NakamaPeer_Frame_Envelope
	//	*NakamaPeer_Frame_KickedOut
	//	*NakamaPeer_Frame_Status
	//	*NakamaPeer_Frame_Track
	//	*NakamaPeer_Frame_Untrack
	//	*NakamaPeer_Frame_Broadcast
	//	*NakamaPeer_Frame_TrackUpdate
	//	*NakamaPeer_Frame_PartyJoin
	//	*NakamaPeer_Frame_PartyPromote
	//	*NakamaPeer_Frame_PartyAccept
	//	*NakamaPeer_Frame_PartyRemove
	//	*NakamaPeer_Frame_PartyClose
	//	*NakamaPeer_Frame_PartyJoinRequestList
	//	*NakamaPeer_Frame_PartyMatchmakerAdd
	//	*NakamaPeer_Frame_PartyMatchmakerRemove
	//	*NakamaPeer_Frame_PartyDataSend
	//	*NakamaPeer_Frame_PartyResult
	//	*NakamaPeer_Frame_MatchJoin
	//	*NakamaPeer_Frame_MatchJoinResult
	//	*NakamaPeer_Frame_MatchDataSend
	//	*NakamaPeer_Frame_ServiceBroadcast
	Payload isNakamaPeer_Frame_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Frame) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Frame.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Frame) GetBroadcast

func (x *NakamaPeer_Frame) GetBroadcast() *NakamaPeer_Envelope

func (*NakamaPeer_Frame) GetEnvelope

func (x *NakamaPeer_Frame) GetEnvelope() *NakamaPeer_Envelope

func (*NakamaPeer_Frame) GetGossip

func (x *NakamaPeer_Frame) GetGossip() *wrapperspb.BoolValue

func (*NakamaPeer_Frame) GetId

func (x *NakamaPeer_Frame) GetId() string

func (*NakamaPeer_Frame) GetInboxAddress

func (x *NakamaPeer_Frame) GetInboxAddress() string

func (*NakamaPeer_Frame) GetInfected

func (x *NakamaPeer_Frame) GetInfected() map[string]bool

func (*NakamaPeer_Frame) GetKickedOut

func (x *NakamaPeer_Frame) GetKickedOut() *NakamaPeer_Envelope

func (*NakamaPeer_Frame) GetMatchDataSend

func (x *NakamaPeer_Frame) GetMatchDataSend() *NakamaPeer_Match_SendData

func (*NakamaPeer_Frame) GetMatchJoin

func (x *NakamaPeer_Frame) GetMatchJoin() *NakamaPeer_Match_Join

func (*NakamaPeer_Frame) GetMatchJoinResult

func (x *NakamaPeer_Frame) GetMatchJoinResult() *NakamaPeer_Match_JoinResult

func (*NakamaPeer_Frame) GetNode

func (x *NakamaPeer_Frame) GetNode() string

func (*NakamaPeer_Frame) GetPartyAccept

func (x *NakamaPeer_Frame) GetPartyAccept() *NakamaPeer_Party_Accept

func (*NakamaPeer_Frame) GetPartyClose

func (x *NakamaPeer_Frame) GetPartyClose() *NakamaPeer_Party_Close

func (*NakamaPeer_Frame) GetPartyDataSend

func (x *NakamaPeer_Frame) GetPartyDataSend() *NakamaPeer_Party_DataSend

func (*NakamaPeer_Frame) GetPartyJoin

func (x *NakamaPeer_Frame) GetPartyJoin() *NakamaPeer_Party_Join

func (*NakamaPeer_Frame) GetPartyJoinRequestList

func (x *NakamaPeer_Frame) GetPartyJoinRequestList() *NakamaPeer_Party_JoinRequestList

func (*NakamaPeer_Frame) GetPartyMatchmakerAdd

func (x *NakamaPeer_Frame) GetPartyMatchmakerAdd() *NakamaPeer_Party_MatchmakerAdd

func (*NakamaPeer_Frame) GetPartyMatchmakerRemove

func (x *NakamaPeer_Frame) GetPartyMatchmakerRemove() *NakamaPeer_Party_MatchmakerRemove

func (*NakamaPeer_Frame) GetPartyPromote

func (x *NakamaPeer_Frame) GetPartyPromote() *NakamaPeer_Party_Promote

func (*NakamaPeer_Frame) GetPartyRemove

func (x *NakamaPeer_Frame) GetPartyRemove() *NakamaPeer_Party_Remove

func (*NakamaPeer_Frame) GetPartyResult

func (x *NakamaPeer_Frame) GetPartyResult() *NakamaPeer_Party_Result

func (*NakamaPeer_Frame) GetPayload

func (m *NakamaPeer_Frame) GetPayload() isNakamaPeer_Frame_Payload

func (*NakamaPeer_Frame) GetServiceBroadcast

func (x *NakamaPeer_Frame) GetServiceBroadcast() *NakamaPeer_Envelope

func (*NakamaPeer_Frame) GetStatus

func (x *NakamaPeer_Frame) GetStatus() *NakamaPeer_Status

func (*NakamaPeer_Frame) GetTimestamp

func (x *NakamaPeer_Frame) GetTimestamp() *timestamppb.Timestamp

func (*NakamaPeer_Frame) GetTrack

func (x *NakamaPeer_Frame) GetTrack() *NakamaPeer_Presence

func (*NakamaPeer_Frame) GetTrackUpdate

func (x *NakamaPeer_Frame) GetTrackUpdate() *NakamaPeer_Presence

func (*NakamaPeer_Frame) GetUntrack

func (x *NakamaPeer_Frame) GetUntrack() *NakamaPeer_Untrack

func (*NakamaPeer_Frame) ProtoMessage

func (*NakamaPeer_Frame) ProtoMessage()

func (*NakamaPeer_Frame) ProtoReflect

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

func (*NakamaPeer_Frame) Reset

func (x *NakamaPeer_Frame) Reset()

func (*NakamaPeer_Frame) String

func (x *NakamaPeer_Frame) String() string

type NakamaPeer_Frame_Broadcast

type NakamaPeer_Frame_Broadcast struct {
	Broadcast *NakamaPeer_Envelope `protobuf:"bytes,12,opt,name=broadcast,proto3,oneof"`
}

type NakamaPeer_Frame_Envelope

type NakamaPeer_Frame_Envelope struct {
	Envelope *NakamaPeer_Envelope `protobuf:"bytes,7,opt,name=envelope,proto3,oneof"`
}

type NakamaPeer_Frame_KickedOut

type NakamaPeer_Frame_KickedOut struct {
	KickedOut *NakamaPeer_Envelope `protobuf:"bytes,8,opt,name=kickedOut,proto3,oneof"`
}

type NakamaPeer_Frame_MatchDataSend

type NakamaPeer_Frame_MatchDataSend struct {
	MatchDataSend *NakamaPeer_Match_SendData `protobuf:"bytes,26,opt,name=matchDataSend,proto3,oneof"`
}

type NakamaPeer_Frame_MatchJoin

type NakamaPeer_Frame_MatchJoin struct {
	MatchJoin *NakamaPeer_Match_Join `protobuf:"bytes,24,opt,name=matchJoin,proto3,oneof"`
}

type NakamaPeer_Frame_MatchJoinResult

type NakamaPeer_Frame_MatchJoinResult struct {
	MatchJoinResult *NakamaPeer_Match_JoinResult `protobuf:"bytes,25,opt,name=matchJoinResult,proto3,oneof"`
}

type NakamaPeer_Frame_PartyAccept

type NakamaPeer_Frame_PartyAccept struct {
	PartyAccept *NakamaPeer_Party_Accept `protobuf:"bytes,16,opt,name=partyAccept,proto3,oneof"`
}

type NakamaPeer_Frame_PartyClose

type NakamaPeer_Frame_PartyClose struct {
	PartyClose *NakamaPeer_Party_Close `protobuf:"bytes,18,opt,name=partyClose,proto3,oneof"`
}

type NakamaPeer_Frame_PartyDataSend

type NakamaPeer_Frame_PartyDataSend struct {
	PartyDataSend *NakamaPeer_Party_DataSend `protobuf:"bytes,22,opt,name=partyDataSend,proto3,oneof"`
}

type NakamaPeer_Frame_PartyJoin

type NakamaPeer_Frame_PartyJoin struct {
	PartyJoin *NakamaPeer_Party_Join `protobuf:"bytes,14,opt,name=partyJoin,proto3,oneof"`
}

type NakamaPeer_Frame_PartyJoinRequestList

type NakamaPeer_Frame_PartyJoinRequestList struct {
	PartyJoinRequestList *NakamaPeer_Party_JoinRequestList `protobuf:"bytes,19,opt,name=partyJoinRequestList,proto3,oneof"`
}

type NakamaPeer_Frame_PartyMatchmakerAdd

type NakamaPeer_Frame_PartyMatchmakerAdd struct {
	PartyMatchmakerAdd *NakamaPeer_Party_MatchmakerAdd `protobuf:"bytes,20,opt,name=partyMatchmakerAdd,proto3,oneof"`
}

type NakamaPeer_Frame_PartyMatchmakerRemove

type NakamaPeer_Frame_PartyMatchmakerRemove struct {
	PartyMatchmakerRemove *NakamaPeer_Party_MatchmakerRemove `protobuf:"bytes,21,opt,name=partyMatchmakerRemove,proto3,oneof"`
}

type NakamaPeer_Frame_PartyPromote

type NakamaPeer_Frame_PartyPromote struct {
	PartyPromote *NakamaPeer_Party_Promote `protobuf:"bytes,15,opt,name=partyPromote,proto3,oneof"`
}

type NakamaPeer_Frame_PartyRemove

type NakamaPeer_Frame_PartyRemove struct {
	PartyRemove *NakamaPeer_Party_Remove `protobuf:"bytes,17,opt,name=partyRemove,proto3,oneof"`
}

type NakamaPeer_Frame_PartyResult

type NakamaPeer_Frame_PartyResult struct {
	PartyResult *NakamaPeer_Party_Result `protobuf:"bytes,23,opt,name=partyResult,proto3,oneof"`
}

type NakamaPeer_Frame_ServiceBroadcast

type NakamaPeer_Frame_ServiceBroadcast struct {
	ServiceBroadcast *NakamaPeer_Envelope `protobuf:"bytes,27,opt,name=serviceBroadcast,proto3,oneof"`
}

type NakamaPeer_Frame_Status

type NakamaPeer_Frame_Status struct {
	Status *NakamaPeer_Status `protobuf:"bytes,9,opt,name=status,proto3,oneof"`
}

type NakamaPeer_Frame_Track

type NakamaPeer_Frame_Track struct {
	Track *NakamaPeer_Presence `protobuf:"bytes,10,opt,name=track,proto3,oneof"`
}

type NakamaPeer_Frame_TrackUpdate

type NakamaPeer_Frame_TrackUpdate struct {
	TrackUpdate *NakamaPeer_Presence `protobuf:"bytes,13,opt,name=trackUpdate,proto3,oneof"`
}

type NakamaPeer_Frame_Untrack

type NakamaPeer_Frame_Untrack struct {
	Untrack *NakamaPeer_Untrack `protobuf:"bytes,11,opt,name=untrack,proto3,oneof"`
}

type NakamaPeer_Match

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

func (*NakamaPeer_Match) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Match.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Match) ProtoMessage

func (*NakamaPeer_Match) ProtoMessage()

func (*NakamaPeer_Match) ProtoReflect

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

func (*NakamaPeer_Match) Reset

func (x *NakamaPeer_Match) Reset()

func (*NakamaPeer_Match) String

func (x *NakamaPeer_Match) String() string

type NakamaPeer_Match_GetState

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

func (*NakamaPeer_Match_GetState) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Match_GetState.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Match_GetState) ProtoMessage

func (*NakamaPeer_Match_GetState) ProtoMessage()

func (*NakamaPeer_Match_GetState) ProtoReflect

func (*NakamaPeer_Match_GetState) Reset

func (x *NakamaPeer_Match_GetState) Reset()

func (*NakamaPeer_Match_GetState) String

func (x *NakamaPeer_Match_GetState) String() string

type NakamaPeer_Match_Join

type NakamaPeer_Match_Join struct {
	Id            string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UserID        string            `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
	SessionID     string            `protobuf:"bytes,3,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	Username      string            `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	SessionExpiry int64             `protobuf:"varint,5,opt,name=sessionExpiry,proto3" json:"sessionExpiry,omitempty"`
	Vars          map[string]string `` /* 149-byte string literal not displayed */
	ClientIP      string            `protobuf:"bytes,7,opt,name=clientIP,proto3" json:"clientIP,omitempty"`
	ClientPort    string            `protobuf:"bytes,8,opt,name=clientPort,proto3" json:"clientPort,omitempty"`
	Metadata      map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NakamaPeer_Match_Join) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Match_Join.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Match_Join) GetClientIP

func (x *NakamaPeer_Match_Join) GetClientIP() string

func (*NakamaPeer_Match_Join) GetClientPort

func (x *NakamaPeer_Match_Join) GetClientPort() string

func (*NakamaPeer_Match_Join) GetId

func (x *NakamaPeer_Match_Join) GetId() string

func (*NakamaPeer_Match_Join) GetMetadata

func (x *NakamaPeer_Match_Join) GetMetadata() map[string]string

func (*NakamaPeer_Match_Join) GetSessionExpiry

func (x *NakamaPeer_Match_Join) GetSessionExpiry() int64

func (*NakamaPeer_Match_Join) GetSessionID

func (x *NakamaPeer_Match_Join) GetSessionID() string

func (*NakamaPeer_Match_Join) GetUserID

func (x *NakamaPeer_Match_Join) GetUserID() string

func (*NakamaPeer_Match_Join) GetUsername

func (x *NakamaPeer_Match_Join) GetUsername() string

func (*NakamaPeer_Match_Join) GetVars

func (x *NakamaPeer_Match_Join) GetVars() map[string]string

func (*NakamaPeer_Match_Join) ProtoMessage

func (*NakamaPeer_Match_Join) ProtoMessage()

func (*NakamaPeer_Match_Join) ProtoReflect

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

func (*NakamaPeer_Match_Join) Reset

func (x *NakamaPeer_Match_Join) Reset()

func (*NakamaPeer_Match_Join) String

func (x *NakamaPeer_Match_Join) String() string

type NakamaPeer_Match_JoinResult

type NakamaPeer_Match_JoinResult struct {
	Found         bool                              `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
	Allow         bool                              `protobuf:"varint,2,opt,name=allow,proto3" json:"allow,omitempty"`
	IsNew         bool                              `protobuf:"varint,3,opt,name=isNew,proto3" json:"isNew,omitempty"`
	Reason        string                            `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
	Label         string                            `protobuf:"bytes,5,opt,name=label,proto3" json:"label,omitempty"`
	MatchPresence []*NakamaPeer_Match_MatchPresence `protobuf:"bytes,6,rep,name=matchPresence,proto3" json:"matchPresence,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Match_JoinResult) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Match_JoinResult.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Match_JoinResult) GetAllow

func (x *NakamaPeer_Match_JoinResult) GetAllow() bool

func (*NakamaPeer_Match_JoinResult) GetFound

func (x *NakamaPeer_Match_JoinResult) GetFound() bool

func (*NakamaPeer_Match_JoinResult) GetIsNew

func (x *NakamaPeer_Match_JoinResult) GetIsNew() bool

func (*NakamaPeer_Match_JoinResult) GetLabel

func (x *NakamaPeer_Match_JoinResult) GetLabel() string

func (*NakamaPeer_Match_JoinResult) GetMatchPresence

func (*NakamaPeer_Match_JoinResult) GetReason

func (x *NakamaPeer_Match_JoinResult) GetReason() string

func (*NakamaPeer_Match_JoinResult) ProtoMessage

func (*NakamaPeer_Match_JoinResult) ProtoMessage()

func (*NakamaPeer_Match_JoinResult) ProtoReflect

func (*NakamaPeer_Match_JoinResult) Reset

func (x *NakamaPeer_Match_JoinResult) Reset()

func (*NakamaPeer_Match_JoinResult) String

func (x *NakamaPeer_Match_JoinResult) String() string

type NakamaPeer_Match_ListMatches

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

func (*NakamaPeer_Match_ListMatches) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Match_ListMatches.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Match_ListMatches) ProtoMessage

func (*NakamaPeer_Match_ListMatches) ProtoMessage()

func (*NakamaPeer_Match_ListMatches) ProtoReflect

func (*NakamaPeer_Match_ListMatches) Reset

func (x *NakamaPeer_Match_ListMatches) Reset()

func (*NakamaPeer_Match_ListMatches) String

type NakamaPeer_Match_MatchPresence

type NakamaPeer_Match_MatchPresence struct {
	Node      string `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	UserID    string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
	SessionID string `protobuf:"bytes,3,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	Username  string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	Reason    uint32 `protobuf:"varint,5,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Match_MatchPresence) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Match_MatchPresence.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Match_MatchPresence) GetNode

func (*NakamaPeer_Match_MatchPresence) GetReason

func (x *NakamaPeer_Match_MatchPresence) GetReason() uint32

func (*NakamaPeer_Match_MatchPresence) GetSessionID

func (x *NakamaPeer_Match_MatchPresence) GetSessionID() string

func (*NakamaPeer_Match_MatchPresence) GetUserID

func (x *NakamaPeer_Match_MatchPresence) GetUserID() string

func (*NakamaPeer_Match_MatchPresence) GetUsername

func (x *NakamaPeer_Match_MatchPresence) GetUsername() string

func (*NakamaPeer_Match_MatchPresence) ProtoMessage

func (*NakamaPeer_Match_MatchPresence) ProtoMessage()

func (*NakamaPeer_Match_MatchPresence) ProtoReflect

func (*NakamaPeer_Match_MatchPresence) Reset

func (x *NakamaPeer_Match_MatchPresence) Reset()

func (*NakamaPeer_Match_MatchPresence) String

type NakamaPeer_Match_SendData

type NakamaPeer_Match_SendData struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UserID      string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
	SessionID   string `protobuf:"bytes,3,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	Username    string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	OpCode      int64  `protobuf:"varint,5,opt,name=opCode,proto3" json:"opCode,omitempty"`
	Data        []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
	Reliable    bool   `protobuf:"varint,7,opt,name=reliable,proto3" json:"reliable,omitempty"`
	ReceiveTime int64  `protobuf:"varint,8,opt,name=receiveTime,proto3" json:"receiveTime,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Match_SendData) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Match_SendData.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Match_SendData) GetData

func (x *NakamaPeer_Match_SendData) GetData() []byte

func (*NakamaPeer_Match_SendData) GetId

func (x *NakamaPeer_Match_SendData) GetId() string

func (*NakamaPeer_Match_SendData) GetOpCode

func (x *NakamaPeer_Match_SendData) GetOpCode() int64

func (*NakamaPeer_Match_SendData) GetReceiveTime

func (x *NakamaPeer_Match_SendData) GetReceiveTime() int64

func (*NakamaPeer_Match_SendData) GetReliable

func (x *NakamaPeer_Match_SendData) GetReliable() bool

func (*NakamaPeer_Match_SendData) GetSessionID

func (x *NakamaPeer_Match_SendData) GetSessionID() string

func (*NakamaPeer_Match_SendData) GetUserID

func (x *NakamaPeer_Match_SendData) GetUserID() string

func (*NakamaPeer_Match_SendData) GetUsername

func (x *NakamaPeer_Match_SendData) GetUsername() string

func (*NakamaPeer_Match_SendData) ProtoMessage

func (*NakamaPeer_Match_SendData) ProtoMessage()

func (*NakamaPeer_Match_SendData) ProtoReflect

func (*NakamaPeer_Match_SendData) Reset

func (x *NakamaPeer_Match_SendData) Reset()

func (*NakamaPeer_Match_SendData) String

func (x *NakamaPeer_Match_SendData) String() string

type NakamaPeer_Match_Signal

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

func (*NakamaPeer_Match_Signal) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Match_Signal.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Match_Signal) ProtoMessage

func (*NakamaPeer_Match_Signal) ProtoMessage()

func (*NakamaPeer_Match_Signal) ProtoReflect

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

func (*NakamaPeer_Match_Signal) Reset

func (x *NakamaPeer_Match_Signal) Reset()

func (*NakamaPeer_Match_Signal) String

func (x *NakamaPeer_Match_Signal) String() string

type NakamaPeer_NodeMeta

type NakamaPeer_NodeMeta struct {
	Name  string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Vars  map[string]string `` /* 149-byte string literal not displayed */
	Ip    string            `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	Port  uint32            `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	Role  string            `protobuf:"bytes,5,opt,name=role,proto3" json:"role,omitempty"`
	IsNew bool              `protobuf:"varint,6,opt,name=isNew,proto3" json:"isNew,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_NodeMeta) Descriptor deprecated

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

Deprecated: Use NakamaPeer_NodeMeta.ProtoReflect.Descriptor instead.

func (*NakamaPeer_NodeMeta) GetIp

func (x *NakamaPeer_NodeMeta) GetIp() string

func (*NakamaPeer_NodeMeta) GetIsNew

func (x *NakamaPeer_NodeMeta) GetIsNew() bool

func (*NakamaPeer_NodeMeta) GetName

func (x *NakamaPeer_NodeMeta) GetName() string

func (*NakamaPeer_NodeMeta) GetPort

func (x *NakamaPeer_NodeMeta) GetPort() uint32

func (*NakamaPeer_NodeMeta) GetRole

func (x *NakamaPeer_NodeMeta) GetRole() string

func (*NakamaPeer_NodeMeta) GetVars

func (x *NakamaPeer_NodeMeta) GetVars() map[string]string

func (*NakamaPeer_NodeMeta) ProtoMessage

func (*NakamaPeer_NodeMeta) ProtoMessage()

func (*NakamaPeer_NodeMeta) ProtoReflect

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

func (*NakamaPeer_NodeMeta) Reset

func (x *NakamaPeer_NodeMeta) Reset()

func (*NakamaPeer_NodeMeta) String

func (x *NakamaPeer_NodeMeta) String() string

type NakamaPeer_Party

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

func (*NakamaPeer_Party) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Party.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Party) ProtoMessage

func (*NakamaPeer_Party) ProtoMessage()

func (*NakamaPeer_Party) ProtoReflect

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

func (*NakamaPeer_Party) Reset

func (x *NakamaPeer_Party) Reset()

func (*NakamaPeer_Party) String

func (x *NakamaPeer_Party) String() string

type NakamaPeer_Party_Accept

type NakamaPeer_Party_Accept struct {
	Presence  *UserPresence `protobuf:"bytes,1,opt,name=presence,proto3" json:"presence,omitempty"`
	SessionID string        `protobuf:"bytes,2,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	Id        string        `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Party_Accept) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Party_Accept.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Party_Accept) GetId

func (x *NakamaPeer_Party_Accept) GetId() string

func (*NakamaPeer_Party_Accept) GetPresence

func (x *NakamaPeer_Party_Accept) GetPresence() *UserPresence

func (*NakamaPeer_Party_Accept) GetSessionID

func (x *NakamaPeer_Party_Accept) GetSessionID() string

func (*NakamaPeer_Party_Accept) ProtoMessage

func (*NakamaPeer_Party_Accept) ProtoMessage()

func (*NakamaPeer_Party_Accept) ProtoReflect

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

func (*NakamaPeer_Party_Accept) Reset

func (x *NakamaPeer_Party_Accept) Reset()

func (*NakamaPeer_Party_Accept) String

func (x *NakamaPeer_Party_Accept) String() string

type NakamaPeer_Party_Close

type NakamaPeer_Party_Close struct {
	SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	Id        string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Party_Close) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Party_Close.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Party_Close) GetId

func (x *NakamaPeer_Party_Close) GetId() string

func (*NakamaPeer_Party_Close) GetSessionID

func (x *NakamaPeer_Party_Close) GetSessionID() string

func (*NakamaPeer_Party_Close) ProtoMessage

func (*NakamaPeer_Party_Close) ProtoMessage()

func (*NakamaPeer_Party_Close) ProtoReflect

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

func (*NakamaPeer_Party_Close) Reset

func (x *NakamaPeer_Party_Close) Reset()

func (*NakamaPeer_Party_Close) String

func (x *NakamaPeer_Party_Close) String() string

type NakamaPeer_Party_DataSend

type NakamaPeer_Party_DataSend struct {
	SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	Id        string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	OpCode    int64  `protobuf:"varint,3,opt,name=opCode,proto3" json:"opCode,omitempty"`
	Data      []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Party_DataSend) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Party_DataSend.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Party_DataSend) GetData

func (x *NakamaPeer_Party_DataSend) GetData() []byte

func (*NakamaPeer_Party_DataSend) GetId

func (x *NakamaPeer_Party_DataSend) GetId() string

func (*NakamaPeer_Party_DataSend) GetOpCode

func (x *NakamaPeer_Party_DataSend) GetOpCode() int64

func (*NakamaPeer_Party_DataSend) GetSessionID

func (x *NakamaPeer_Party_DataSend) GetSessionID() string

func (*NakamaPeer_Party_DataSend) ProtoMessage

func (*NakamaPeer_Party_DataSend) ProtoMessage()

func (*NakamaPeer_Party_DataSend) ProtoReflect

func (*NakamaPeer_Party_DataSend) Reset

func (x *NakamaPeer_Party_DataSend) Reset()

func (*NakamaPeer_Party_DataSend) String

func (x *NakamaPeer_Party_DataSend) String() string

type NakamaPeer_Party_Join

type NakamaPeer_Party_Join struct {
	Id        string                     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SessionID string                     `protobuf:"bytes,2,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	UserID    string                     `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID,omitempty"`
	Stream    *NakamaPeer_PresenceStream `protobuf:"bytes,4,opt,name=stream,proto3" json:"stream,omitempty"`
	Meta      *NakamaPeer_PresenceMeta   `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Party_Join) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Party_Join.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Party_Join) GetId

func (x *NakamaPeer_Party_Join) GetId() string

func (*NakamaPeer_Party_Join) GetMeta

func (*NakamaPeer_Party_Join) GetSessionID

func (x *NakamaPeer_Party_Join) GetSessionID() string

func (*NakamaPeer_Party_Join) GetStream

func (*NakamaPeer_Party_Join) GetUserID

func (x *NakamaPeer_Party_Join) GetUserID() string

func (*NakamaPeer_Party_Join) ProtoMessage

func (*NakamaPeer_Party_Join) ProtoMessage()

func (*NakamaPeer_Party_Join) ProtoReflect

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

func (*NakamaPeer_Party_Join) Reset

func (x *NakamaPeer_Party_Join) Reset()

func (*NakamaPeer_Party_Join) String

func (x *NakamaPeer_Party_Join) String() string

type NakamaPeer_Party_JoinRequestList

type NakamaPeer_Party_JoinRequestList struct {
	SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	Id        string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Party_JoinRequestList) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Party_JoinRequestList.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Party_JoinRequestList) GetId

func (*NakamaPeer_Party_JoinRequestList) GetSessionID

func (x *NakamaPeer_Party_JoinRequestList) GetSessionID() string

func (*NakamaPeer_Party_JoinRequestList) ProtoMessage

func (*NakamaPeer_Party_JoinRequestList) ProtoMessage()

func (*NakamaPeer_Party_JoinRequestList) ProtoReflect

func (*NakamaPeer_Party_JoinRequestList) Reset

func (*NakamaPeer_Party_JoinRequestList) String

type NakamaPeer_Party_MatchmakerAdd

type NakamaPeer_Party_MatchmakerAdd struct {
	SessionID         string             `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	Id                string             `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Query             string             `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	MinCount          int32              `protobuf:"varint,4,opt,name=minCount,proto3" json:"minCount,omitempty"`
	MaxCount          int32              `protobuf:"varint,5,opt,name=maxCount,proto3" json:"maxCount,omitempty"`
	CountMultiple     int32              `protobuf:"varint,6,opt,name=countMultiple,proto3" json:"countMultiple,omitempty"`
	StringProperties  map[string]string  `` /* 173-byte string literal not displayed */
	NumericProperties map[string]float64 `` /* 177-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NakamaPeer_Party_MatchmakerAdd) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Party_MatchmakerAdd.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Party_MatchmakerAdd) GetCountMultiple

func (x *NakamaPeer_Party_MatchmakerAdd) GetCountMultiple() int32

func (*NakamaPeer_Party_MatchmakerAdd) GetId

func (*NakamaPeer_Party_MatchmakerAdd) GetMaxCount

func (x *NakamaPeer_Party_MatchmakerAdd) GetMaxCount() int32

func (*NakamaPeer_Party_MatchmakerAdd) GetMinCount

func (x *NakamaPeer_Party_MatchmakerAdd) GetMinCount() int32

func (*NakamaPeer_Party_MatchmakerAdd) GetNumericProperties

func (x *NakamaPeer_Party_MatchmakerAdd) GetNumericProperties() map[string]float64

func (*NakamaPeer_Party_MatchmakerAdd) GetQuery

func (x *NakamaPeer_Party_MatchmakerAdd) GetQuery() string

func (*NakamaPeer_Party_MatchmakerAdd) GetSessionID

func (x *NakamaPeer_Party_MatchmakerAdd) GetSessionID() string

func (*NakamaPeer_Party_MatchmakerAdd) GetStringProperties

func (x *NakamaPeer_Party_MatchmakerAdd) GetStringProperties() map[string]string

func (*NakamaPeer_Party_MatchmakerAdd) ProtoMessage

func (*NakamaPeer_Party_MatchmakerAdd) ProtoMessage()

func (*NakamaPeer_Party_MatchmakerAdd) ProtoReflect

func (*NakamaPeer_Party_MatchmakerAdd) Reset

func (x *NakamaPeer_Party_MatchmakerAdd) Reset()

func (*NakamaPeer_Party_MatchmakerAdd) String

type NakamaPeer_Party_MatchmakerRemove

type NakamaPeer_Party_MatchmakerRemove struct {
	SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	Id        string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Ticket    string `protobuf:"bytes,3,opt,name=ticket,proto3" json:"ticket,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Party_MatchmakerRemove) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Party_MatchmakerRemove.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Party_MatchmakerRemove) GetId

func (*NakamaPeer_Party_MatchmakerRemove) GetSessionID

func (x *NakamaPeer_Party_MatchmakerRemove) GetSessionID() string

func (*NakamaPeer_Party_MatchmakerRemove) GetTicket

func (*NakamaPeer_Party_MatchmakerRemove) ProtoMessage

func (*NakamaPeer_Party_MatchmakerRemove) ProtoMessage()

func (*NakamaPeer_Party_MatchmakerRemove) ProtoReflect

func (*NakamaPeer_Party_MatchmakerRemove) Reset

func (*NakamaPeer_Party_MatchmakerRemove) String

type NakamaPeer_Party_Promote

type NakamaPeer_Party_Promote struct {
	Presence  *UserPresence `protobuf:"bytes,1,opt,name=presence,proto3" json:"presence,omitempty"`
	SessionID string        `protobuf:"bytes,2,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	Id        string        `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Party_Promote) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Party_Promote.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Party_Promote) GetId

func (x *NakamaPeer_Party_Promote) GetId() string

func (*NakamaPeer_Party_Promote) GetPresence

func (x *NakamaPeer_Party_Promote) GetPresence() *UserPresence

func (*NakamaPeer_Party_Promote) GetSessionID

func (x *NakamaPeer_Party_Promote) GetSessionID() string

func (*NakamaPeer_Party_Promote) ProtoMessage

func (*NakamaPeer_Party_Promote) ProtoMessage()

func (*NakamaPeer_Party_Promote) ProtoReflect

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

func (*NakamaPeer_Party_Promote) Reset

func (x *NakamaPeer_Party_Promote) Reset()

func (*NakamaPeer_Party_Promote) String

func (x *NakamaPeer_Party_Promote) String() string

type NakamaPeer_Party_Remove

type NakamaPeer_Party_Remove struct {
	Presence  *UserPresence `protobuf:"bytes,1,opt,name=presence,proto3" json:"presence,omitempty"`
	SessionID string        `protobuf:"bytes,2,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	Id        string        `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Party_Remove) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Party_Remove.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Party_Remove) GetId

func (x *NakamaPeer_Party_Remove) GetId() string

func (*NakamaPeer_Party_Remove) GetPresence

func (x *NakamaPeer_Party_Remove) GetPresence() *UserPresence

func (*NakamaPeer_Party_Remove) GetSessionID

func (x *NakamaPeer_Party_Remove) GetSessionID() string

func (*NakamaPeer_Party_Remove) ProtoMessage

func (*NakamaPeer_Party_Remove) ProtoMessage()

func (*NakamaPeer_Party_Remove) ProtoReflect

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

func (*NakamaPeer_Party_Remove) Reset

func (x *NakamaPeer_Party_Remove) Reset()

func (*NakamaPeer_Party_Remove) String

func (x *NakamaPeer_Party_Remove) String() string

type NakamaPeer_Party_Result

type NakamaPeer_Party_Result struct {
	Code         int32                    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Ok           bool                     `protobuf:"varint,2,opt,name=ok,proto3" json:"ok,omitempty"`
	ErrMsg       string                   `protobuf:"bytes,3,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	UserPresence []*UserPresence          `protobuf:"bytes,4,rep,name=userPresence,proto3" json:"userPresence,omitempty"`
	StringValue  string                   `protobuf:"bytes,5,opt,name=stringValue,proto3" json:"stringValue,omitempty"`
	PresenceID   []*NakamaPeer_PresenceID `protobuf:"bytes,6,rep,name=presenceID,proto3" json:"presenceID,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Party_Result) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Party_Result.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Party_Result) GetCode

func (x *NakamaPeer_Party_Result) GetCode() int32

func (*NakamaPeer_Party_Result) GetErrMsg

func (x *NakamaPeer_Party_Result) GetErrMsg() string

func (*NakamaPeer_Party_Result) GetOk

func (x *NakamaPeer_Party_Result) GetOk() bool

func (*NakamaPeer_Party_Result) GetPresenceID

func (x *NakamaPeer_Party_Result) GetPresenceID() []*NakamaPeer_PresenceID

func (*NakamaPeer_Party_Result) GetStringValue

func (x *NakamaPeer_Party_Result) GetStringValue() string

func (*NakamaPeer_Party_Result) GetUserPresence

func (x *NakamaPeer_Party_Result) GetUserPresence() []*UserPresence

func (*NakamaPeer_Party_Result) ProtoMessage

func (*NakamaPeer_Party_Result) ProtoMessage()

func (*NakamaPeer_Party_Result) ProtoReflect

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

func (*NakamaPeer_Party_Result) Reset

func (x *NakamaPeer_Party_Result) Reset()

func (*NakamaPeer_Party_Result) String

func (x *NakamaPeer_Party_Result) String() string

type NakamaPeer_Presence

type NakamaPeer_Presence struct {
	SessionID              string                       `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	UserID                 string                       `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
	Stream                 []*NakamaPeer_PresenceStream `protobuf:"bytes,3,rep,name=stream,proto3" json:"stream,omitempty"`
	Meta                   []*NakamaPeer_PresenceMeta   `protobuf:"bytes,4,rep,name=meta,proto3" json:"meta,omitempty"`
	AllowIfFirstForSession bool                         `protobuf:"varint,5,opt,name=allowIfFirstForSession,proto3" json:"allowIfFirstForSession,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Presence) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Presence.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Presence) GetAllowIfFirstForSession

func (x *NakamaPeer_Presence) GetAllowIfFirstForSession() bool

func (*NakamaPeer_Presence) GetMeta

func (*NakamaPeer_Presence) GetSessionID

func (x *NakamaPeer_Presence) GetSessionID() string

func (*NakamaPeer_Presence) GetStream

func (*NakamaPeer_Presence) GetUserID

func (x *NakamaPeer_Presence) GetUserID() string

func (*NakamaPeer_Presence) ProtoMessage

func (*NakamaPeer_Presence) ProtoMessage()

func (*NakamaPeer_Presence) ProtoReflect

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

func (*NakamaPeer_Presence) Reset

func (x *NakamaPeer_Presence) Reset()

func (*NakamaPeer_Presence) String

func (x *NakamaPeer_Presence) String() string

type NakamaPeer_PresenceID

type NakamaPeer_PresenceID struct {
	SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	Node      string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_PresenceID) Descriptor deprecated

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

Deprecated: Use NakamaPeer_PresenceID.ProtoReflect.Descriptor instead.

func (*NakamaPeer_PresenceID) GetNode

func (x *NakamaPeer_PresenceID) GetNode() string

func (*NakamaPeer_PresenceID) GetSessionID

func (x *NakamaPeer_PresenceID) GetSessionID() string

func (*NakamaPeer_PresenceID) ProtoMessage

func (*NakamaPeer_PresenceID) ProtoMessage()

func (*NakamaPeer_PresenceID) ProtoReflect

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

func (*NakamaPeer_PresenceID) Reset

func (x *NakamaPeer_PresenceID) Reset()

func (*NakamaPeer_PresenceID) String

func (x *NakamaPeer_PresenceID) String() string

type NakamaPeer_PresenceMeta

type NakamaPeer_PresenceMeta struct {
	SessionFormat uint32 `protobuf:"varint,1,opt,name=sessionFormat,proto3" json:"sessionFormat,omitempty"`
	Hidden        bool   `protobuf:"varint,2,opt,name=hidden,proto3" json:"hidden,omitempty"`
	Persistence   bool   `protobuf:"varint,3,opt,name=persistence,proto3" json:"persistence,omitempty"`
	Username      string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	Status        string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	Reason        uint32 `protobuf:"varint,6,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_PresenceMeta) Descriptor deprecated

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

Deprecated: Use NakamaPeer_PresenceMeta.ProtoReflect.Descriptor instead.

func (*NakamaPeer_PresenceMeta) GetHidden

func (x *NakamaPeer_PresenceMeta) GetHidden() bool

func (*NakamaPeer_PresenceMeta) GetPersistence

func (x *NakamaPeer_PresenceMeta) GetPersistence() bool

func (*NakamaPeer_PresenceMeta) GetReason

func (x *NakamaPeer_PresenceMeta) GetReason() uint32

func (*NakamaPeer_PresenceMeta) GetSessionFormat

func (x *NakamaPeer_PresenceMeta) GetSessionFormat() uint32

func (*NakamaPeer_PresenceMeta) GetStatus

func (x *NakamaPeer_PresenceMeta) GetStatus() string

func (*NakamaPeer_PresenceMeta) GetUsername

func (x *NakamaPeer_PresenceMeta) GetUsername() string

func (*NakamaPeer_PresenceMeta) ProtoMessage

func (*NakamaPeer_PresenceMeta) ProtoMessage()

func (*NakamaPeer_PresenceMeta) ProtoReflect

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

func (*NakamaPeer_PresenceMeta) Reset

func (x *NakamaPeer_PresenceMeta) Reset()

func (*NakamaPeer_PresenceMeta) String

func (x *NakamaPeer_PresenceMeta) String() string

type NakamaPeer_PresenceStream

type NakamaPeer_PresenceStream struct {
	Mode       uint32 `protobuf:"varint,1,opt,name=mode,proto3" json:"mode,omitempty"`
	Subject    string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	Subcontext string `protobuf:"bytes,3,opt,name=subcontext,proto3" json:"subcontext,omitempty"`
	Label      string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_PresenceStream) Descriptor deprecated

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

Deprecated: Use NakamaPeer_PresenceStream.ProtoReflect.Descriptor instead.

func (*NakamaPeer_PresenceStream) GetLabel

func (x *NakamaPeer_PresenceStream) GetLabel() string

func (*NakamaPeer_PresenceStream) GetMode

func (x *NakamaPeer_PresenceStream) GetMode() uint32

func (*NakamaPeer_PresenceStream) GetSubcontext

func (x *NakamaPeer_PresenceStream) GetSubcontext() string

func (*NakamaPeer_PresenceStream) GetSubject

func (x *NakamaPeer_PresenceStream) GetSubject() string

func (*NakamaPeer_PresenceStream) ProtoMessage

func (*NakamaPeer_PresenceStream) ProtoMessage()

func (*NakamaPeer_PresenceStream) ProtoReflect

func (*NakamaPeer_PresenceStream) Reset

func (x *NakamaPeer_PresenceStream) Reset()

func (*NakamaPeer_PresenceStream) String

func (x *NakamaPeer_PresenceStream) String() string

type NakamaPeer_State

type NakamaPeer_State struct {
	Node      string                 `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	Frames    []*NakamaPeer_Frame    `protobuf:"bytes,2,rep,name=frames,proto3" json:"frames,omitempty"`
	Presences []*NakamaPeer_Presence `protobuf:"bytes,3,rep,name=Presences,proto3" json:"Presences,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_State) Descriptor deprecated

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

Deprecated: Use NakamaPeer_State.ProtoReflect.Descriptor instead.

func (*NakamaPeer_State) GetFrames

func (x *NakamaPeer_State) GetFrames() []*NakamaPeer_Frame

func (*NakamaPeer_State) GetNode

func (x *NakamaPeer_State) GetNode() string

func (*NakamaPeer_State) GetPresences

func (x *NakamaPeer_State) GetPresences() []*NakamaPeer_Presence

func (*NakamaPeer_State) ProtoMessage

func (*NakamaPeer_State) ProtoMessage()

func (*NakamaPeer_State) ProtoReflect

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

func (*NakamaPeer_State) Reset

func (x *NakamaPeer_State) Reset()

func (*NakamaPeer_State) String

func (x *NakamaPeer_State) String() string

type NakamaPeer_Status

type NakamaPeer_Status struct {
	Name           string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Health         int32   `protobuf:"varint,2,opt,name=health,proto3" json:"health,omitempty"`
	SessionCount   int32   `protobuf:"varint,3,opt,name=sessionCount,proto3" json:"sessionCount,omitempty"`
	PresenceCount  int32   `protobuf:"varint,4,opt,name=presenceCount,proto3" json:"presenceCount,omitempty"`
	MatchCount     int32   `protobuf:"varint,5,opt,name=matchCount,proto3" json:"matchCount,omitempty"`
	GoroutineCount int32   `protobuf:"varint,6,opt,name=goroutineCount,proto3" json:"goroutineCount,omitempty"`
	AvgLatencyMs   float64 `protobuf:"fixed64,7,opt,name=avgLatencyMs,proto3" json:"avgLatencyMs,omitempty"`
	AvgRateSec     float64 `protobuf:"fixed64,8,opt,name=avgRateSec,proto3" json:"avgRateSec,omitempty"`
	AvgInputKbs    float64 `protobuf:"fixed64,9,opt,name=avgInputKbs,proto3" json:"avgInputKbs,omitempty"`
	AvgOutputKbs   float64 `protobuf:"fixed64,10,opt,name=avgOutputKbs,proto3" json:"avgOutputKbs,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Status) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Status.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Status) GetAvgInputKbs

func (x *NakamaPeer_Status) GetAvgInputKbs() float64

func (*NakamaPeer_Status) GetAvgLatencyMs

func (x *NakamaPeer_Status) GetAvgLatencyMs() float64

func (*NakamaPeer_Status) GetAvgOutputKbs

func (x *NakamaPeer_Status) GetAvgOutputKbs() float64

func (*NakamaPeer_Status) GetAvgRateSec

func (x *NakamaPeer_Status) GetAvgRateSec() float64

func (*NakamaPeer_Status) GetGoroutineCount

func (x *NakamaPeer_Status) GetGoroutineCount() int32

func (*NakamaPeer_Status) GetHealth

func (x *NakamaPeer_Status) GetHealth() int32

func (*NakamaPeer_Status) GetMatchCount

func (x *NakamaPeer_Status) GetMatchCount() int32

func (*NakamaPeer_Status) GetName

func (x *NakamaPeer_Status) GetName() string

func (*NakamaPeer_Status) GetPresenceCount

func (x *NakamaPeer_Status) GetPresenceCount() int32

func (*NakamaPeer_Status) GetSessionCount

func (x *NakamaPeer_Status) GetSessionCount() int32

func (*NakamaPeer_Status) ProtoMessage

func (*NakamaPeer_Status) ProtoMessage()

func (*NakamaPeer_Status) ProtoReflect

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

func (*NakamaPeer_Status) Reset

func (x *NakamaPeer_Status) Reset()

func (*NakamaPeer_Status) String

func (x *NakamaPeer_Status) String() string

type NakamaPeer_Untrack

type NakamaPeer_Untrack struct {
	SessionID  string                       `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	UserID     string                       `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
	Stream     []*NakamaPeer_PresenceStream `protobuf:"bytes,3,rep,name=stream,proto3" json:"stream,omitempty"`
	Modes      []uint32                     `protobuf:"varint,4,rep,packed,name=modes,proto3" json:"modes,omitempty"`
	Reason     uint32                       `protobuf:"varint,5,opt,name=reason,proto3" json:"reason,omitempty"`
	SkipStream *NakamaPeer_PresenceStream   `protobuf:"bytes,6,opt,name=skipStream,proto3" json:"skipStream,omitempty"`
	// contains filtered or unexported fields
}

func (*NakamaPeer_Untrack) Descriptor deprecated

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

Deprecated: Use NakamaPeer_Untrack.ProtoReflect.Descriptor instead.

func (*NakamaPeer_Untrack) GetModes

func (x *NakamaPeer_Untrack) GetModes() []uint32

func (*NakamaPeer_Untrack) GetReason

func (x *NakamaPeer_Untrack) GetReason() uint32

func (*NakamaPeer_Untrack) GetSessionID

func (x *NakamaPeer_Untrack) GetSessionID() string

func (*NakamaPeer_Untrack) GetSkipStream

func (x *NakamaPeer_Untrack) GetSkipStream() *NakamaPeer_PresenceStream

func (*NakamaPeer_Untrack) GetStream

func (*NakamaPeer_Untrack) GetUserID

func (x *NakamaPeer_Untrack) GetUserID() string

func (*NakamaPeer_Untrack) ProtoMessage

func (*NakamaPeer_Untrack) ProtoMessage()

func (*NakamaPeer_Untrack) ProtoReflect

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

func (*NakamaPeer_Untrack) Reset

func (x *NakamaPeer_Untrack) Reset()

func (*NakamaPeer_Untrack) String

func (x *NakamaPeer_Untrack) String() string

type Notifications

type Notifications struct {

	// Collection of notifications.
	Notifications []*api.Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"`
	// contains filtered or unexported fields
}

A collection of zero or more notifications.

func (*Notifications) Descriptor deprecated

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

Deprecated: Use Notifications.ProtoReflect.Descriptor instead.

func (*Notifications) GetNotifications

func (x *Notifications) GetNotifications() []*api.Notification

func (*Notifications) ProtoMessage

func (*Notifications) ProtoMessage()

func (*Notifications) ProtoReflect

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

func (*Notifications) Reset

func (x *Notifications) Reset()

func (*Notifications) String

func (x *Notifications) String() string

type Party

type Party struct {

	// Unique party identifier.
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// Open flag.
	Open bool `protobuf:"varint,2,opt,name=open,proto3" json:"open,omitempty"`
	// Maximum number of party members.
	MaxSize int32 `protobuf:"varint,3,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"`
	// Self.
	Self *UserPresence `protobuf:"bytes,4,opt,name=self,proto3" json:"self,omitempty"`
	// Leader.
	Leader *UserPresence `protobuf:"bytes,5,opt,name=leader,proto3" json:"leader,omitempty"`
	// All current party members.
	Presences []*UserPresence `protobuf:"bytes,6,rep,name=presences,proto3" json:"presences,omitempty"`
	// contains filtered or unexported fields
}

Incoming information about a party.

func (*Party) Descriptor deprecated

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

Deprecated: Use Party.ProtoReflect.Descriptor instead.

func (*Party) GetLeader

func (x *Party) GetLeader() *UserPresence

func (*Party) GetMaxSize

func (x *Party) GetMaxSize() int32

func (*Party) GetOpen

func (x *Party) GetOpen() bool

func (*Party) GetPartyId

func (x *Party) GetPartyId() string

func (*Party) GetPresences

func (x *Party) GetPresences() []*UserPresence

func (*Party) GetSelf

func (x *Party) GetSelf() *UserPresence

func (*Party) ProtoMessage

func (*Party) ProtoMessage()

func (*Party) ProtoReflect

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

func (*Party) Reset

func (x *Party) Reset()

func (*Party) String

func (x *Party) String() string

type PartyAccept

type PartyAccept struct {

	// Party ID to accept a join request for.
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// The presence to accept as a party member.
	Presence *UserPresence `protobuf:"bytes,2,opt,name=presence,proto3" json:"presence,omitempty"`
	// contains filtered or unexported fields
}

Accept a request to join.

func (*PartyAccept) Descriptor deprecated

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

Deprecated: Use PartyAccept.ProtoReflect.Descriptor instead.

func (*PartyAccept) GetPartyId

func (x *PartyAccept) GetPartyId() string

func (*PartyAccept) GetPresence

func (x *PartyAccept) GetPresence() *UserPresence

func (*PartyAccept) ProtoMessage

func (*PartyAccept) ProtoMessage()

func (*PartyAccept) ProtoReflect

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

func (*PartyAccept) Reset

func (x *PartyAccept) Reset()

func (*PartyAccept) String

func (x *PartyAccept) String() string

type PartyClose

type PartyClose struct {

	// Party ID to close.
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// contains filtered or unexported fields
}

End a party, kicking all party members and closing it.

func (*PartyClose) Descriptor deprecated

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

Deprecated: Use PartyClose.ProtoReflect.Descriptor instead.

func (*PartyClose) GetPartyId

func (x *PartyClose) GetPartyId() string

func (*PartyClose) ProtoMessage

func (*PartyClose) ProtoMessage()

func (*PartyClose) ProtoReflect

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

func (*PartyClose) Reset

func (x *PartyClose) Reset()

func (*PartyClose) String

func (x *PartyClose) String() string

type PartyCreate

type PartyCreate struct {

	// Whether or not the party will require join requests to be approved by the party leader.
	Open bool `protobuf:"varint,1,opt,name=open,proto3" json:"open,omitempty"`
	// Maximum number of party members.
	MaxSize int32 `protobuf:"varint,2,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"`
	// contains filtered or unexported fields
}

Create a party.

func (*PartyCreate) Descriptor deprecated

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

Deprecated: Use PartyCreate.ProtoReflect.Descriptor instead.

func (*PartyCreate) GetMaxSize

func (x *PartyCreate) GetMaxSize() int32

func (*PartyCreate) GetOpen

func (x *PartyCreate) GetOpen() bool

func (*PartyCreate) ProtoMessage

func (*PartyCreate) ProtoMessage()

func (*PartyCreate) ProtoReflect

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

func (*PartyCreate) Reset

func (x *PartyCreate) Reset()

func (*PartyCreate) String

func (x *PartyCreate) String() string

type PartyData

type PartyData struct {

	// The party ID.
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// A reference to the user presence that sent this data, if any.
	Presence *UserPresence `protobuf:"bytes,2,opt,name=presence,proto3" json:"presence,omitempty"`
	// Op code value.
	OpCode int64 `protobuf:"varint,3,opt,name=op_code,json=opCode,proto3" json:"op_code,omitempty"`
	// Data payload, if any.
	Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Incoming party data delivered from the server.

func (*PartyData) Descriptor deprecated

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

Deprecated: Use PartyData.ProtoReflect.Descriptor instead.

func (*PartyData) GetData

func (x *PartyData) GetData() []byte

func (*PartyData) GetOpCode

func (x *PartyData) GetOpCode() int64

func (*PartyData) GetPartyId

func (x *PartyData) GetPartyId() string

func (*PartyData) GetPresence

func (x *PartyData) GetPresence() *UserPresence

func (*PartyData) ProtoMessage

func (*PartyData) ProtoMessage()

func (*PartyData) ProtoReflect

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

func (*PartyData) Reset

func (x *PartyData) Reset()

func (*PartyData) String

func (x *PartyData) String() string

type PartyDataSend

type PartyDataSend struct {

	// Party ID to send to.
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// Op code value.
	OpCode int64 `protobuf:"varint,2,opt,name=op_code,json=opCode,proto3" json:"op_code,omitempty"`
	// Data payload, if any.
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Send data to a party.

func (*PartyDataSend) Descriptor deprecated

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

Deprecated: Use PartyDataSend.ProtoReflect.Descriptor instead.

func (*PartyDataSend) GetData

func (x *PartyDataSend) GetData() []byte

func (*PartyDataSend) GetOpCode

func (x *PartyDataSend) GetOpCode() int64

func (*PartyDataSend) GetPartyId

func (x *PartyDataSend) GetPartyId() string

func (*PartyDataSend) ProtoMessage

func (*PartyDataSend) ProtoMessage()

func (*PartyDataSend) ProtoReflect

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

func (*PartyDataSend) Reset

func (x *PartyDataSend) Reset()

func (*PartyDataSend) String

func (x *PartyDataSend) String() string

type PartyJoin

type PartyJoin struct {

	// Party ID to join.
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// contains filtered or unexported fields
}

Join a party, or request to join if the party is not open.

func (*PartyJoin) Descriptor deprecated

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

Deprecated: Use PartyJoin.ProtoReflect.Descriptor instead.

func (*PartyJoin) GetPartyId

func (x *PartyJoin) GetPartyId() string

func (*PartyJoin) ProtoMessage

func (*PartyJoin) ProtoMessage()

func (*PartyJoin) ProtoReflect

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

func (*PartyJoin) Reset

func (x *PartyJoin) Reset()

func (*PartyJoin) String

func (x *PartyJoin) String() string

type PartyJoinRequest

type PartyJoinRequest struct {

	// Party ID these presences are attempting to join.
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// Presences attempting to join.
	Presences []*UserPresence `protobuf:"bytes,2,rep,name=presences,proto3" json:"presences,omitempty"`
	// contains filtered or unexported fields
}

Incoming notification for one or more new presences attempting to join the party.

func (*PartyJoinRequest) Descriptor deprecated

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

Deprecated: Use PartyJoinRequest.ProtoReflect.Descriptor instead.

func (*PartyJoinRequest) GetPartyId

func (x *PartyJoinRequest) GetPartyId() string

func (*PartyJoinRequest) GetPresences

func (x *PartyJoinRequest) GetPresences() []*UserPresence

func (*PartyJoinRequest) ProtoMessage

func (*PartyJoinRequest) ProtoMessage()

func (*PartyJoinRequest) ProtoReflect

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

func (*PartyJoinRequest) Reset

func (x *PartyJoinRequest) Reset()

func (*PartyJoinRequest) String

func (x *PartyJoinRequest) String() string

type PartyJoinRequestList

type PartyJoinRequestList struct {

	// Party ID to get a list of join requests for.
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// contains filtered or unexported fields
}

Request a list of pending join requests for a party.

func (*PartyJoinRequestList) Descriptor deprecated

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

Deprecated: Use PartyJoinRequestList.ProtoReflect.Descriptor instead.

func (*PartyJoinRequestList) GetPartyId

func (x *PartyJoinRequestList) GetPartyId() string

func (*PartyJoinRequestList) ProtoMessage

func (*PartyJoinRequestList) ProtoMessage()

func (*PartyJoinRequestList) ProtoReflect

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

func (*PartyJoinRequestList) Reset

func (x *PartyJoinRequestList) Reset()

func (*PartyJoinRequestList) String

func (x *PartyJoinRequestList) String() string

type PartyLeader

type PartyLeader struct {

	// Party ID to announce the new leader for.
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// The presence of the new party leader.
	Presence *UserPresence `protobuf:"bytes,2,opt,name=presence,proto3" json:"presence,omitempty"`
	// contains filtered or unexported fields
}

Announcement of a new party leader.

func (*PartyLeader) Descriptor deprecated

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

Deprecated: Use PartyLeader.ProtoReflect.Descriptor instead.

func (*PartyLeader) GetPartyId

func (x *PartyLeader) GetPartyId() string

func (*PartyLeader) GetPresence

func (x *PartyLeader) GetPresence() *UserPresence

func (*PartyLeader) ProtoMessage

func (*PartyLeader) ProtoMessage()

func (*PartyLeader) ProtoReflect

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

func (*PartyLeader) Reset

func (x *PartyLeader) Reset()

func (*PartyLeader) String

func (x *PartyLeader) String() string

type PartyLeave

type PartyLeave struct {

	// Party ID to leave.
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// contains filtered or unexported fields
}

Leave a party.

func (*PartyLeave) Descriptor deprecated

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

Deprecated: Use PartyLeave.ProtoReflect.Descriptor instead.

func (*PartyLeave) GetPartyId

func (x *PartyLeave) GetPartyId() string

func (*PartyLeave) ProtoMessage

func (*PartyLeave) ProtoMessage()

func (*PartyLeave) ProtoReflect

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

func (*PartyLeave) Reset

func (x *PartyLeave) Reset()

func (*PartyLeave) String

func (x *PartyLeave) String() string

type PartyMatchmakerAdd

type PartyMatchmakerAdd struct {

	// Party ID.
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// Minimum total user count to match together.
	MinCount int32 `protobuf:"varint,2,opt,name=min_count,json=minCount,proto3" json:"min_count,omitempty"`
	// Maximum total user count to match together.
	MaxCount int32 `protobuf:"varint,3,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"`
	// Filter query used to identify suitable users.
	Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"`
	// String properties.
	StringProperties map[string]string `` /* 197-byte string literal not displayed */
	// Numeric properties.
	NumericProperties map[string]float64 `` /* 202-byte string literal not displayed */
	// Optional multiple of the count that must be satisfied.
	CountMultiple *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=count_multiple,json=countMultiple,proto3" json:"count_multiple,omitempty"`
	// contains filtered or unexported fields
}

Begin matchmaking as a party.

func (*PartyMatchmakerAdd) Descriptor deprecated

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

Deprecated: Use PartyMatchmakerAdd.ProtoReflect.Descriptor instead.

func (*PartyMatchmakerAdd) GetCountMultiple

func (x *PartyMatchmakerAdd) GetCountMultiple() *wrapperspb.Int32Value

func (*PartyMatchmakerAdd) GetMaxCount

func (x *PartyMatchmakerAdd) GetMaxCount() int32

func (*PartyMatchmakerAdd) GetMinCount

func (x *PartyMatchmakerAdd) GetMinCount() int32

func (*PartyMatchmakerAdd) GetNumericProperties

func (x *PartyMatchmakerAdd) GetNumericProperties() map[string]float64

func (*PartyMatchmakerAdd) GetPartyId

func (x *PartyMatchmakerAdd) GetPartyId() string

func (*PartyMatchmakerAdd) GetQuery

func (x *PartyMatchmakerAdd) GetQuery() string

func (*PartyMatchmakerAdd) GetStringProperties

func (x *PartyMatchmakerAdd) GetStringProperties() map[string]string

func (*PartyMatchmakerAdd) ProtoMessage

func (*PartyMatchmakerAdd) ProtoMessage()

func (*PartyMatchmakerAdd) ProtoReflect

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

func (*PartyMatchmakerAdd) Reset

func (x *PartyMatchmakerAdd) Reset()

func (*PartyMatchmakerAdd) String

func (x *PartyMatchmakerAdd) String() string

type PartyMatchmakerRemove

type PartyMatchmakerRemove struct {

	// Party ID.
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// The ticket to cancel.
	Ticket string `protobuf:"bytes,2,opt,name=ticket,proto3" json:"ticket,omitempty"`
	// contains filtered or unexported fields
}

Cancel a party matchmaking process using a ticket.

func (*PartyMatchmakerRemove) Descriptor deprecated

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

Deprecated: Use PartyMatchmakerRemove.ProtoReflect.Descriptor instead.

func (*PartyMatchmakerRemove) GetPartyId

func (x *PartyMatchmakerRemove) GetPartyId() string

func (*PartyMatchmakerRemove) GetTicket

func (x *PartyMatchmakerRemove) GetTicket() string

func (*PartyMatchmakerRemove) ProtoMessage

func (*PartyMatchmakerRemove) ProtoMessage()

func (*PartyMatchmakerRemove) ProtoReflect

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

func (*PartyMatchmakerRemove) Reset

func (x *PartyMatchmakerRemove) Reset()

func (*PartyMatchmakerRemove) String

func (x *PartyMatchmakerRemove) String() string

type PartyMatchmakerTicket

type PartyMatchmakerTicket struct {

	// Party ID.
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// The ticket that can be used to cancel matchmaking.
	Ticket string `protobuf:"bytes,2,opt,name=ticket,proto3" json:"ticket,omitempty"`
	// contains filtered or unexported fields
}

A response from starting a new party matchmaking process.

func (*PartyMatchmakerTicket) Descriptor deprecated

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

Deprecated: Use PartyMatchmakerTicket.ProtoReflect.Descriptor instead.

func (*PartyMatchmakerTicket) GetPartyId

func (x *PartyMatchmakerTicket) GetPartyId() string

func (*PartyMatchmakerTicket) GetTicket

func (x *PartyMatchmakerTicket) GetTicket() string

func (*PartyMatchmakerTicket) ProtoMessage

func (*PartyMatchmakerTicket) ProtoMessage()

func (*PartyMatchmakerTicket) ProtoReflect

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

func (*PartyMatchmakerTicket) Reset

func (x *PartyMatchmakerTicket) Reset()

func (*PartyMatchmakerTicket) String

func (x *PartyMatchmakerTicket) String() string

type PartyPresenceEvent

type PartyPresenceEvent struct {

	// The party ID.
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// User presences that have just joined the party.
	Joins []*UserPresence `protobuf:"bytes,2,rep,name=joins,proto3" json:"joins,omitempty"`
	// User presences that have just left the party.
	Leaves []*UserPresence `protobuf:"bytes,3,rep,name=leaves,proto3" json:"leaves,omitempty"`
	// contains filtered or unexported fields
}

Presence update for a particular party.

func (*PartyPresenceEvent) Descriptor deprecated

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

Deprecated: Use PartyPresenceEvent.ProtoReflect.Descriptor instead.

func (*PartyPresenceEvent) GetJoins

func (x *PartyPresenceEvent) GetJoins() []*UserPresence

func (*PartyPresenceEvent) GetLeaves

func (x *PartyPresenceEvent) GetLeaves() []*UserPresence

func (*PartyPresenceEvent) GetPartyId

func (x *PartyPresenceEvent) GetPartyId() string

func (*PartyPresenceEvent) ProtoMessage

func (*PartyPresenceEvent) ProtoMessage()

func (*PartyPresenceEvent) ProtoReflect

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

func (*PartyPresenceEvent) Reset

func (x *PartyPresenceEvent) Reset()

func (*PartyPresenceEvent) String

func (x *PartyPresenceEvent) String() string

type PartyPromote

type PartyPromote struct {

	// Party ID to promote a new leader for.
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// The presence of an existing party member to promote as the new leader.
	Presence *UserPresence `protobuf:"bytes,2,opt,name=presence,proto3" json:"presence,omitempty"`
	// contains filtered or unexported fields
}

Promote a new party leader.

func (*PartyPromote) Descriptor deprecated

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

Deprecated: Use PartyPromote.ProtoReflect.Descriptor instead.

func (*PartyPromote) GetPartyId

func (x *PartyPromote) GetPartyId() string

func (*PartyPromote) GetPresence

func (x *PartyPromote) GetPresence() *UserPresence

func (*PartyPromote) ProtoMessage

func (*PartyPromote) ProtoMessage()

func (*PartyPromote) ProtoReflect

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

func (*PartyPromote) Reset

func (x *PartyPromote) Reset()

func (*PartyPromote) String

func (x *PartyPromote) String() string

type PartyRemove

type PartyRemove struct {

	// Party ID to remove/reject from.
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// The presence to remove or reject.
	Presence *UserPresence `protobuf:"bytes,2,opt,name=presence,proto3" json:"presence,omitempty"`
	// contains filtered or unexported fields
}

Kick a party member, or decline a request to join.

func (*PartyRemove) Descriptor deprecated

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

Deprecated: Use PartyRemove.ProtoReflect.Descriptor instead.

func (*PartyRemove) GetPartyId

func (x *PartyRemove) GetPartyId() string

func (*PartyRemove) GetPresence

func (x *PartyRemove) GetPresence() *UserPresence

func (*PartyRemove) ProtoMessage

func (*PartyRemove) ProtoMessage()

func (*PartyRemove) ProtoReflect

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

func (*PartyRemove) Reset

func (x *PartyRemove) Reset()

func (*PartyRemove) String

func (x *PartyRemove) String() string

type Ping

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

Application-level heartbeat and connection check.

func (*Ping) Descriptor deprecated

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

Deprecated: Use Ping.ProtoReflect.Descriptor instead.

func (*Ping) ProtoMessage

func (*Ping) ProtoMessage()

func (*Ping) ProtoReflect

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

func (*Ping) Reset

func (x *Ping) Reset()

func (*Ping) String

func (x *Ping) String() string

type Pong

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

Application-level heartbeat and connection check response.

func (*Pong) Descriptor deprecated

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

Deprecated: Use Pong.ProtoReflect.Descriptor instead.

func (*Pong) ProtoMessage

func (*Pong) ProtoMessage()

func (*Pong) ProtoReflect

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

func (*Pong) Reset

func (x *Pong) Reset()

func (*Pong) String

func (x *Pong) String() string

type Status

type Status struct {

	// User statuses.
	Presences []*UserPresence `protobuf:"bytes,1,rep,name=presences,proto3" json:"presences,omitempty"`
	// contains filtered or unexported fields
}

A snapshot of statuses for some set of users.

func (*Status) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetPresences

func (x *Status) GetPresences() []*UserPresence

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

type StatusFollow

type StatusFollow struct {

	// User IDs to follow.
	UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	// Usernames to follow.
	Usernames []string `protobuf:"bytes,2,rep,name=usernames,proto3" json:"usernames,omitempty"`
	// contains filtered or unexported fields
}

Start receiving status updates for some set of users.

func (*StatusFollow) Descriptor deprecated

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

Deprecated: Use StatusFollow.ProtoReflect.Descriptor instead.

func (*StatusFollow) GetUserIds

func (x *StatusFollow) GetUserIds() []string

func (*StatusFollow) GetUsernames

func (x *StatusFollow) GetUsernames() []string

func (*StatusFollow) ProtoMessage

func (*StatusFollow) ProtoMessage()

func (*StatusFollow) ProtoReflect

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

func (*StatusFollow) Reset

func (x *StatusFollow) Reset()

func (*StatusFollow) String

func (x *StatusFollow) String() string

type StatusPresenceEvent

type StatusPresenceEvent struct {

	// New statuses for the user.
	Joins []*UserPresence `protobuf:"bytes,2,rep,name=joins,proto3" json:"joins,omitempty"`
	// Previous statuses for the user.
	Leaves []*UserPresence `protobuf:"bytes,3,rep,name=leaves,proto3" json:"leaves,omitempty"`
	// contains filtered or unexported fields
}

A batch of status updates for a given user.

func (*StatusPresenceEvent) Descriptor deprecated

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

Deprecated: Use StatusPresenceEvent.ProtoReflect.Descriptor instead.

func (*StatusPresenceEvent) GetJoins

func (x *StatusPresenceEvent) GetJoins() []*UserPresence

func (*StatusPresenceEvent) GetLeaves

func (x *StatusPresenceEvent) GetLeaves() []*UserPresence

func (*StatusPresenceEvent) ProtoMessage

func (*StatusPresenceEvent) ProtoMessage()

func (*StatusPresenceEvent) ProtoReflect

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

func (*StatusPresenceEvent) Reset

func (x *StatusPresenceEvent) Reset()

func (*StatusPresenceEvent) String

func (x *StatusPresenceEvent) String() string

type StatusUnfollow

type StatusUnfollow struct {

	// Users to unfollow.
	UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	// contains filtered or unexported fields
}

Stop receiving status updates for some set of users.

func (*StatusUnfollow) Descriptor deprecated

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

Deprecated: Use StatusUnfollow.ProtoReflect.Descriptor instead.

func (*StatusUnfollow) GetUserIds

func (x *StatusUnfollow) GetUserIds() []string

func (*StatusUnfollow) ProtoMessage

func (*StatusUnfollow) ProtoMessage()

func (*StatusUnfollow) ProtoReflect

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

func (*StatusUnfollow) Reset

func (x *StatusUnfollow) Reset()

func (*StatusUnfollow) String

func (x *StatusUnfollow) String() string

type StatusUpdate

type StatusUpdate struct {

	// Status string to set, if not present the user will appear offline.
	Status *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Set the user's own status.

func (*StatusUpdate) Descriptor deprecated

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

Deprecated: Use StatusUpdate.ProtoReflect.Descriptor instead.

func (*StatusUpdate) GetStatus

func (x *StatusUpdate) GetStatus() *wrapperspb.StringValue

func (*StatusUpdate) ProtoMessage

func (*StatusUpdate) ProtoMessage()

func (*StatusUpdate) ProtoReflect

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

func (*StatusUpdate) Reset

func (x *StatusUpdate) Reset()

func (*StatusUpdate) String

func (x *StatusUpdate) String() string

type Stream

type Stream struct {

	// Mode identifies the type of stream.
	Mode int32 `protobuf:"varint,1,opt,name=mode,proto3" json:"mode,omitempty"`
	// Subject is the primary identifier, if any.
	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	// Subcontext is a secondary identifier, if any.
	Subcontext string `protobuf:"bytes,3,opt,name=subcontext,proto3" json:"subcontext,omitempty"`
	// The label is an arbitrary identifying string, if the stream has one.
	Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

Represents identifying information for a stream.

func (*Stream) Descriptor deprecated

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

Deprecated: Use Stream.ProtoReflect.Descriptor instead.

func (*Stream) GetLabel

func (x *Stream) GetLabel() string

func (*Stream) GetMode

func (x *Stream) GetMode() int32

func (*Stream) GetSubcontext

func (x *Stream) GetSubcontext() string

func (*Stream) GetSubject

func (x *Stream) GetSubject() string

func (*Stream) ProtoMessage

func (*Stream) ProtoMessage()

func (*Stream) ProtoReflect

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

func (*Stream) Reset

func (x *Stream) Reset()

func (*Stream) String

func (x *Stream) String() string

type StreamData

type StreamData struct {

	// The stream this data message relates to.
	Stream *Stream `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
	// The sender, if any.
	Sender *UserPresence `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	// Arbitrary contents of the data message.
	Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// True if this data was delivered reliably, false otherwise.
	Reliable bool `protobuf:"varint,4,opt,name=reliable,proto3" json:"reliable,omitempty"`
	// contains filtered or unexported fields
}

A data message delivered over a stream.

func (*StreamData) Descriptor deprecated

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

Deprecated: Use StreamData.ProtoReflect.Descriptor instead.

func (*StreamData) GetData

func (x *StreamData) GetData() string

func (*StreamData) GetReliable

func (x *StreamData) GetReliable() bool

func (*StreamData) GetSender

func (x *StreamData) GetSender() *UserPresence

func (*StreamData) GetStream

func (x *StreamData) GetStream() *Stream

func (*StreamData) ProtoMessage

func (*StreamData) ProtoMessage()

func (*StreamData) ProtoReflect

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

func (*StreamData) Reset

func (x *StreamData) Reset()

func (*StreamData) String

func (x *StreamData) String() string

type StreamPresenceEvent

type StreamPresenceEvent struct {

	// The stream this event relates to.
	Stream *Stream `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
	// Presences joining the stream as part of this event, if any.
	Joins []*UserPresence `protobuf:"bytes,2,rep,name=joins,proto3" json:"joins,omitempty"`
	// Presences leaving the stream as part of this event, if any.
	Leaves []*UserPresence `protobuf:"bytes,3,rep,name=leaves,proto3" json:"leaves,omitempty"`
	// contains filtered or unexported fields
}

A set of joins and leaves on a particular stream.

func (*StreamPresenceEvent) Descriptor deprecated

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

Deprecated: Use StreamPresenceEvent.ProtoReflect.Descriptor instead.

func (*StreamPresenceEvent) GetJoins

func (x *StreamPresenceEvent) GetJoins() []*UserPresence

func (*StreamPresenceEvent) GetLeaves

func (x *StreamPresenceEvent) GetLeaves() []*UserPresence

func (*StreamPresenceEvent) GetStream

func (x *StreamPresenceEvent) GetStream() *Stream

func (*StreamPresenceEvent) ProtoMessage

func (*StreamPresenceEvent) ProtoMessage()

func (*StreamPresenceEvent) ProtoReflect

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

func (*StreamPresenceEvent) Reset

func (x *StreamPresenceEvent) Reset()

func (*StreamPresenceEvent) String

func (x *StreamPresenceEvent) String() string

type UnimplementedNakamaPeerApiServer

type UnimplementedNakamaPeerApiServer struct {
}

UnimplementedNakamaPeerApiServer must be embedded to have forward compatible implementations.

func (UnimplementedNakamaPeerApiServer) Call

func (UnimplementedNakamaPeerApiServer) Stream

type UnsafeNakamaPeerApiServer

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

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

type UserPresence

type UserPresence struct {

	// The user this presence belongs to.
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// A unique session ID identifying the particular connection, because the user may have many.
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// The username for display purposes.
	Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	// Whether this presence generates persistent data/messages, if applicable for the stream type.
	Persistence bool `protobuf:"varint,4,opt,name=persistence,proto3" json:"persistence,omitempty"`
	// A user-set status message for this stream, if applicable.
	Status *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

A user session associated to a stream, usually through a list operation or a join/leave event.

func (*UserPresence) Descriptor deprecated

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

Deprecated: Use UserPresence.ProtoReflect.Descriptor instead.

func (*UserPresence) GetPersistence

func (x *UserPresence) GetPersistence() bool

func (*UserPresence) GetSessionId

func (x *UserPresence) GetSessionId() string

func (*UserPresence) GetStatus

func (x *UserPresence) GetStatus() *wrapperspb.StringValue

func (*UserPresence) GetUserId

func (x *UserPresence) GetUserId() string

func (*UserPresence) GetUsername

func (x *UserPresence) GetUsername() string

func (*UserPresence) ProtoMessage

func (*UserPresence) ProtoMessage()

func (*UserPresence) ProtoReflect

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

func (*UserPresence) Reset

func (x *UserPresence) Reset()

func (*UserPresence) String

func (x *UserPresence) String() string

Jump to

Keyboard shortcuts

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