Documentation ¶
Index ¶
- Variables
- type MatchCreatedMessage
- func (*MatchCreatedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *MatchCreatedMessage) GetMatch() *matchmaker.Match
- func (*MatchCreatedMessage) ProtoMessage()
- func (x *MatchCreatedMessage) ProtoReflect() protoreflect.Message
- func (x *MatchCreatedMessage) Reset()
- func (x *MatchCreatedMessage) String() string
- type PendingMatchCreatedMessage
- func (*PendingMatchCreatedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PendingMatchCreatedMessage) GetPendingMatch() *matchmaker.PendingMatch
- func (*PendingMatchCreatedMessage) ProtoMessage()
- func (x *PendingMatchCreatedMessage) ProtoReflect() protoreflect.Message
- func (x *PendingMatchCreatedMessage) Reset()
- func (x *PendingMatchCreatedMessage) String() string
- type PendingMatchDeletedMessage
- func (*PendingMatchDeletedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PendingMatchDeletedMessage) GetPendingMatch() *matchmaker.PendingMatch
- func (x *PendingMatchDeletedMessage) GetReason() PendingMatchDeletedMessage_Reason
- func (*PendingMatchDeletedMessage) ProtoMessage()
- func (x *PendingMatchDeletedMessage) ProtoReflect() protoreflect.Message
- func (x *PendingMatchDeletedMessage) Reset()
- func (x *PendingMatchDeletedMessage) String() string
- type PendingMatchDeletedMessage_Reason
- func (PendingMatchDeletedMessage_Reason) Descriptor() protoreflect.EnumDescriptor
- func (x PendingMatchDeletedMessage_Reason) Enum() *PendingMatchDeletedMessage_Reason
- func (PendingMatchDeletedMessage_Reason) EnumDescriptor() ([]byte, []int)deprecated
- func (x PendingMatchDeletedMessage_Reason) Number() protoreflect.EnumNumber
- func (x PendingMatchDeletedMessage_Reason) String() string
- func (PendingMatchDeletedMessage_Reason) Type() protoreflect.EnumType
- type PendingMatchUpdatedMessage
- func (*PendingMatchUpdatedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PendingMatchUpdatedMessage) GetPendingMatch() *matchmaker.PendingMatch
- func (*PendingMatchUpdatedMessage) ProtoMessage()
- func (x *PendingMatchUpdatedMessage) ProtoReflect() protoreflect.Message
- func (x *PendingMatchUpdatedMessage) Reset()
- func (x *PendingMatchUpdatedMessage) String() string
- type TicketCreatedMessage
- func (*TicketCreatedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TicketCreatedMessage) GetTicket() *matchmaker.Ticket
- func (*TicketCreatedMessage) ProtoMessage()
- func (x *TicketCreatedMessage) ProtoReflect() protoreflect.Message
- func (x *TicketCreatedMessage) Reset()
- func (x *TicketCreatedMessage) String() string
- type TicketDeletedMessage
- func (*TicketDeletedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TicketDeletedMessage) GetReason() TicketDeletedMessage_Reason
- func (x *TicketDeletedMessage) GetTicket() *matchmaker.Ticket
- func (*TicketDeletedMessage) ProtoMessage()
- func (x *TicketDeletedMessage) ProtoReflect() protoreflect.Message
- func (x *TicketDeletedMessage) Reset()
- func (x *TicketDeletedMessage) String() string
- type TicketDeletedMessage_Reason
- func (TicketDeletedMessage_Reason) Descriptor() protoreflect.EnumDescriptor
- func (x TicketDeletedMessage_Reason) Enum() *TicketDeletedMessage_Reason
- func (TicketDeletedMessage_Reason) EnumDescriptor() ([]byte, []int)deprecated
- func (x TicketDeletedMessage_Reason) Number() protoreflect.EnumNumber
- func (x TicketDeletedMessage_Reason) String() string
- func (TicketDeletedMessage_Reason) Type() protoreflect.EnumType
- type TicketUpdatedMessage
- func (*TicketUpdatedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TicketUpdatedMessage) GetNewTicket() *matchmaker.Ticket
- func (*TicketUpdatedMessage) ProtoMessage()
- func (x *TicketUpdatedMessage) ProtoReflect() protoreflect.Message
- func (x *TicketUpdatedMessage) Reset()
- func (x *TicketUpdatedMessage) String() string
Constants ¶
This section is empty.
Variables ¶
var ( TicketDeletedMessage_Reason_name = map[int32]string{ 0: "GAME_MODE_DELETED", 1: "MANUAL_DEQUEUE", 2: "MATCH_CREATED", } TicketDeletedMessage_Reason_value = map[string]int32{ "GAME_MODE_DELETED": 0, "MANUAL_DEQUEUE": 1, "MATCH_CREATED": 2, } )
Enum value maps for TicketDeletedMessage_Reason.
var ( PendingMatchDeletedMessage_Reason_name = map[int32]string{ 0: "CANCELLED", 1: "MATCH_CREATED", } PendingMatchDeletedMessage_Reason_value = map[string]int32{ "CANCELLED": 0, "MATCH_CREATED": 1, } )
Enum value maps for PendingMatchDeletedMessage_Reason.
var File_kurushimi_messages_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type MatchCreatedMessage ¶
type MatchCreatedMessage struct { Match *matchmaker.Match `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"` // contains filtered or unexported fields }
func (*MatchCreatedMessage) Descriptor
deprecated
func (*MatchCreatedMessage) Descriptor() ([]byte, []int)
Deprecated: Use MatchCreatedMessage.ProtoReflect.Descriptor instead.
func (*MatchCreatedMessage) GetMatch ¶
func (x *MatchCreatedMessage) GetMatch() *matchmaker.Match
func (*MatchCreatedMessage) ProtoMessage ¶
func (*MatchCreatedMessage) ProtoMessage()
func (*MatchCreatedMessage) ProtoReflect ¶
func (x *MatchCreatedMessage) ProtoReflect() protoreflect.Message
func (*MatchCreatedMessage) Reset ¶
func (x *MatchCreatedMessage) Reset()
func (*MatchCreatedMessage) String ¶
func (x *MatchCreatedMessage) String() string
type PendingMatchCreatedMessage ¶
type PendingMatchCreatedMessage struct { PendingMatch *matchmaker.PendingMatch `protobuf:"bytes,1,opt,name=pending_match,json=pendingMatch,proto3" json:"pending_match,omitempty"` // contains filtered or unexported fields }
func (*PendingMatchCreatedMessage) Descriptor
deprecated
func (*PendingMatchCreatedMessage) Descriptor() ([]byte, []int)
Deprecated: Use PendingMatchCreatedMessage.ProtoReflect.Descriptor instead.
func (*PendingMatchCreatedMessage) GetPendingMatch ¶
func (x *PendingMatchCreatedMessage) GetPendingMatch() *matchmaker.PendingMatch
func (*PendingMatchCreatedMessage) ProtoMessage ¶
func (*PendingMatchCreatedMessage) ProtoMessage()
func (*PendingMatchCreatedMessage) ProtoReflect ¶
func (x *PendingMatchCreatedMessage) ProtoReflect() protoreflect.Message
func (*PendingMatchCreatedMessage) Reset ¶
func (x *PendingMatchCreatedMessage) Reset()
func (*PendingMatchCreatedMessage) String ¶
func (x *PendingMatchCreatedMessage) String() string
type PendingMatchDeletedMessage ¶
type PendingMatchDeletedMessage struct { PendingMatch *matchmaker.PendingMatch `protobuf:"bytes,1,opt,name=pending_match,json=pendingMatch,proto3" json:"pending_match,omitempty"` Reason PendingMatchDeletedMessage_Reason `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PendingMatchDeletedMessage) Descriptor
deprecated
func (*PendingMatchDeletedMessage) Descriptor() ([]byte, []int)
Deprecated: Use PendingMatchDeletedMessage.ProtoReflect.Descriptor instead.
func (*PendingMatchDeletedMessage) GetPendingMatch ¶
func (x *PendingMatchDeletedMessage) GetPendingMatch() *matchmaker.PendingMatch
func (*PendingMatchDeletedMessage) GetReason ¶
func (x *PendingMatchDeletedMessage) GetReason() PendingMatchDeletedMessage_Reason
func (*PendingMatchDeletedMessage) ProtoMessage ¶
func (*PendingMatchDeletedMessage) ProtoMessage()
func (*PendingMatchDeletedMessage) ProtoReflect ¶
func (x *PendingMatchDeletedMessage) ProtoReflect() protoreflect.Message
func (*PendingMatchDeletedMessage) Reset ¶
func (x *PendingMatchDeletedMessage) Reset()
func (*PendingMatchDeletedMessage) String ¶
func (x *PendingMatchDeletedMessage) String() string
type PendingMatchDeletedMessage_Reason ¶
type PendingMatchDeletedMessage_Reason int32
const ( PendingMatchDeletedMessage_CANCELLED PendingMatchDeletedMessage_Reason = 0 PendingMatchDeletedMessage_MATCH_CREATED PendingMatchDeletedMessage_Reason = 1 )
func (PendingMatchDeletedMessage_Reason) Descriptor ¶
func (PendingMatchDeletedMessage_Reason) Descriptor() protoreflect.EnumDescriptor
func (PendingMatchDeletedMessage_Reason) Enum ¶
func (x PendingMatchDeletedMessage_Reason) Enum() *PendingMatchDeletedMessage_Reason
func (PendingMatchDeletedMessage_Reason) EnumDescriptor
deprecated
func (PendingMatchDeletedMessage_Reason) EnumDescriptor() ([]byte, []int)
Deprecated: Use PendingMatchDeletedMessage_Reason.Descriptor instead.
func (PendingMatchDeletedMessage_Reason) Number ¶
func (x PendingMatchDeletedMessage_Reason) Number() protoreflect.EnumNumber
func (PendingMatchDeletedMessage_Reason) String ¶
func (x PendingMatchDeletedMessage_Reason) String() string
func (PendingMatchDeletedMessage_Reason) Type ¶
func (PendingMatchDeletedMessage_Reason) Type() protoreflect.EnumType
type PendingMatchUpdatedMessage ¶
type PendingMatchUpdatedMessage struct { PendingMatch *matchmaker.PendingMatch `protobuf:"bytes,1,opt,name=pending_match,json=pendingMatch,proto3" json:"pending_match,omitempty"` // contains filtered or unexported fields }
PendingMatchUpdatedMessage is sent when players join/leave a pending match which can be used to update the UI with the player count
func (*PendingMatchUpdatedMessage) Descriptor
deprecated
func (*PendingMatchUpdatedMessage) Descriptor() ([]byte, []int)
Deprecated: Use PendingMatchUpdatedMessage.ProtoReflect.Descriptor instead.
func (*PendingMatchUpdatedMessage) GetPendingMatch ¶
func (x *PendingMatchUpdatedMessage) GetPendingMatch() *matchmaker.PendingMatch
func (*PendingMatchUpdatedMessage) ProtoMessage ¶
func (*PendingMatchUpdatedMessage) ProtoMessage()
func (*PendingMatchUpdatedMessage) ProtoReflect ¶
func (x *PendingMatchUpdatedMessage) ProtoReflect() protoreflect.Message
func (*PendingMatchUpdatedMessage) Reset ¶
func (x *PendingMatchUpdatedMessage) Reset()
func (*PendingMatchUpdatedMessage) String ¶
func (x *PendingMatchUpdatedMessage) String() string
type TicketCreatedMessage ¶
type TicketCreatedMessage struct { Ticket *matchmaker.Ticket `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` // contains filtered or unexported fields }
func (*TicketCreatedMessage) Descriptor
deprecated
func (*TicketCreatedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TicketCreatedMessage.ProtoReflect.Descriptor instead.
func (*TicketCreatedMessage) GetTicket ¶
func (x *TicketCreatedMessage) GetTicket() *matchmaker.Ticket
func (*TicketCreatedMessage) ProtoMessage ¶
func (*TicketCreatedMessage) ProtoMessage()
func (*TicketCreatedMessage) ProtoReflect ¶
func (x *TicketCreatedMessage) ProtoReflect() protoreflect.Message
func (*TicketCreatedMessage) Reset ¶
func (x *TicketCreatedMessage) Reset()
func (*TicketCreatedMessage) String ¶
func (x *TicketCreatedMessage) String() string
type TicketDeletedMessage ¶
type TicketDeletedMessage struct { Ticket *matchmaker.Ticket `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` Reason TicketDeletedMessage_Reason `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
TicketDeletedMessage is sent when a ticket is deleted NOTE: This is not when a delete request is received, but when the removal gets processed. If this message is received, the ticket is no longer in any queue NOTE 2: This is not fired when a PendingMatch is converted to a Match. In that case, only a MatchCreatedMessage is sent.
func (*TicketDeletedMessage) Descriptor
deprecated
func (*TicketDeletedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TicketDeletedMessage.ProtoReflect.Descriptor instead.
func (*TicketDeletedMessage) GetReason ¶
func (x *TicketDeletedMessage) GetReason() TicketDeletedMessage_Reason
func (*TicketDeletedMessage) GetTicket ¶
func (x *TicketDeletedMessage) GetTicket() *matchmaker.Ticket
func (*TicketDeletedMessage) ProtoMessage ¶
func (*TicketDeletedMessage) ProtoMessage()
func (*TicketDeletedMessage) ProtoReflect ¶
func (x *TicketDeletedMessage) ProtoReflect() protoreflect.Message
func (*TicketDeletedMessage) Reset ¶
func (x *TicketDeletedMessage) Reset()
func (*TicketDeletedMessage) String ¶
func (x *TicketDeletedMessage) String() string
type TicketDeletedMessage_Reason ¶
type TicketDeletedMessage_Reason int32
const ( TicketDeletedMessage_GAME_MODE_DELETED TicketDeletedMessage_Reason = 0 TicketDeletedMessage_MANUAL_DEQUEUE TicketDeletedMessage_Reason = 1 TicketDeletedMessage_MATCH_CREATED TicketDeletedMessage_Reason = 2 )
func (TicketDeletedMessage_Reason) Descriptor ¶
func (TicketDeletedMessage_Reason) Descriptor() protoreflect.EnumDescriptor
func (TicketDeletedMessage_Reason) Enum ¶
func (x TicketDeletedMessage_Reason) Enum() *TicketDeletedMessage_Reason
func (TicketDeletedMessage_Reason) EnumDescriptor
deprecated
func (TicketDeletedMessage_Reason) EnumDescriptor() ([]byte, []int)
Deprecated: Use TicketDeletedMessage_Reason.Descriptor instead.
func (TicketDeletedMessage_Reason) Number ¶
func (x TicketDeletedMessage_Reason) Number() protoreflect.EnumNumber
func (TicketDeletedMessage_Reason) String ¶
func (x TicketDeletedMessage_Reason) String() string
func (TicketDeletedMessage_Reason) Type ¶
func (TicketDeletedMessage_Reason) Type() protoreflect.EnumType
type TicketUpdatedMessage ¶
type TicketUpdatedMessage struct { NewTicket *matchmaker.Ticket `protobuf:"bytes,1,opt,name=new_ticket,json=newTicket,proto3" json:"new_ticket,omitempty"` // contains filtered or unexported fields }
func (*TicketUpdatedMessage) Descriptor
deprecated
func (*TicketUpdatedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TicketUpdatedMessage.ProtoReflect.Descriptor instead.
func (*TicketUpdatedMessage) GetNewTicket ¶
func (x *TicketUpdatedMessage) GetNewTicket() *matchmaker.Ticket
func (*TicketUpdatedMessage) ProtoMessage ¶
func (*TicketUpdatedMessage) ProtoMessage()
func (*TicketUpdatedMessage) ProtoReflect ¶
func (x *TicketUpdatedMessage) ProtoReflect() protoreflect.Message
func (*TicketUpdatedMessage) Reset ¶
func (x *TicketUpdatedMessage) Reset()
func (*TicketUpdatedMessage) String ¶
func (x *TicketUpdatedMessage) String() string