Documentation ¶
Index ¶
- Variables
- type CompleteSessionRequest
- func (*CompleteSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteSessionRequest) GetSession() string
- func (x *CompleteSessionRequest) GetSpread() bool
- func (x *CompleteSessionRequest) GetTourney() []*PlayerPlace
- func (*CompleteSessionRequest) ProtoMessage()
- func (x *CompleteSessionRequest) ProtoReflect() protoreflect.Message
- func (x *CompleteSessionRequest) Reset()
- func (x *CompleteSessionRequest) String() string
- type DissolveSessionRequest
- func (*DissolveSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DissolveSessionRequest) GetReason() string
- func (x *DissolveSessionRequest) GetSession() string
- func (*DissolveSessionRequest) ProtoMessage()
- func (x *DissolveSessionRequest) ProtoReflect() protoreflect.Message
- func (x *DissolveSessionRequest) Reset()
- func (x *DissolveSessionRequest) String() string
- type InitiateSessionRequest
- func (*InitiateSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitiateSessionRequest) GetPrize() int32
- func (x *InitiateSessionRequest) GetSeats() int32
- func (x *InitiateSessionRequest) GetTitle() string
- func (*InitiateSessionRequest) ProtoMessage()
- func (x *InitiateSessionRequest) ProtoReflect() protoreflect.Message
- func (x *InitiateSessionRequest) Reset()
- func (x *InitiateSessionRequest) String() string
- type PlayerPlace
- func (*PlayerPlace) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerPlace) GetPlace() int32
- func (x *PlayerPlace) GetPlayer() string
- func (x *PlayerPlace) GetPrize() int32
- func (x *PlayerPlace) GetScore() int32
- func (*PlayerPlace) ProtoMessage()
- func (x *PlayerPlace) ProtoReflect() protoreflect.Message
- func (x *PlayerPlace) Reset()
- func (x *PlayerPlace) String() string
- type UnifiedSessionResponse
- func (*UnifiedSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnifiedSessionResponse) GetIdentifier() string
- func (x *UnifiedSessionResponse) GetStatus() string
- func (*UnifiedSessionResponse) ProtoMessage()
- func (x *UnifiedSessionResponse) ProtoReflect() protoreflect.Message
- func (x *UnifiedSessionResponse) Reset()
- func (x *UnifiedSessionResponse) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_linq_playdata_sessions_v1_sessions_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CompleteSessionRequest ¶
type CompleteSessionRequest struct { // Session identifier created on init Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // Final leaderboard table Tourney []*PlayerPlace `protobuf:"bytes,2,rep,name=tourney,proto3" json:"tourney,omitempty"` // Marks that tournament after finishin has to spread money automatically // based on the leaderboard table Spread *bool `protobuf:"varint,3,opt,name=spread,proto3,oneof" json:"spread,omitempty"` // contains filtered or unexported fields }
Params for stopping play session
func (*CompleteSessionRequest) Descriptor
deprecated
func (*CompleteSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompleteSessionRequest.ProtoReflect.Descriptor instead.
func (*CompleteSessionRequest) GetSession ¶
func (x *CompleteSessionRequest) GetSession() string
func (*CompleteSessionRequest) GetSpread ¶
func (x *CompleteSessionRequest) GetSpread() bool
func (*CompleteSessionRequest) GetTourney ¶
func (x *CompleteSessionRequest) GetTourney() []*PlayerPlace
func (*CompleteSessionRequest) ProtoMessage ¶
func (*CompleteSessionRequest) ProtoMessage()
func (*CompleteSessionRequest) ProtoReflect ¶
func (x *CompleteSessionRequest) ProtoReflect() protoreflect.Message
func (*CompleteSessionRequest) Reset ¶
func (x *CompleteSessionRequest) Reset()
func (*CompleteSessionRequest) String ¶
func (x *CompleteSessionRequest) String() string
type DissolveSessionRequest ¶
type DissolveSessionRequest struct { // Session identifier created on init Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // Reason why session was dropped, in free form Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
Params for terminating play session
func (*DissolveSessionRequest) Descriptor
deprecated
func (*DissolveSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DissolveSessionRequest.ProtoReflect.Descriptor instead.
func (*DissolveSessionRequest) GetReason ¶
func (x *DissolveSessionRequest) GetReason() string
func (*DissolveSessionRequest) GetSession ¶
func (x *DissolveSessionRequest) GetSession() string
func (*DissolveSessionRequest) ProtoMessage ¶
func (*DissolveSessionRequest) ProtoMessage()
func (*DissolveSessionRequest) ProtoReflect ¶
func (x *DissolveSessionRequest) ProtoReflect() protoreflect.Message
func (*DissolveSessionRequest) Reset ¶
func (x *DissolveSessionRequest) Reset()
func (*DissolveSessionRequest) String ¶
func (x *DissolveSessionRequest) String() string
type InitiateSessionRequest ¶
type InitiateSessionRequest struct { // Number of seats, like number of players in tournament Seats int32 `protobuf:"varint,1,opt,name=seats,proto3" json:"seats,omitempty"` // Total prize pool for the tournament Prize int32 `protobuf:"varint,2,opt,name=prize,proto3" json:"prize,omitempty"` // Title or human readable name of the game, tournament, etc Title *string `protobuf:"bytes,3,opt,name=title,proto3,oneof" json:"title,omitempty"` // contains filtered or unexported fields }
Params for creating a new play session
func (*InitiateSessionRequest) Descriptor
deprecated
func (*InitiateSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitiateSessionRequest.ProtoReflect.Descriptor instead.
func (*InitiateSessionRequest) GetPrize ¶
func (x *InitiateSessionRequest) GetPrize() int32
func (*InitiateSessionRequest) GetSeats ¶
func (x *InitiateSessionRequest) GetSeats() int32
func (*InitiateSessionRequest) GetTitle ¶
func (x *InitiateSessionRequest) GetTitle() string
func (*InitiateSessionRequest) ProtoMessage ¶
func (*InitiateSessionRequest) ProtoMessage()
func (*InitiateSessionRequest) ProtoReflect ¶
func (x *InitiateSessionRequest) ProtoReflect() protoreflect.Message
func (*InitiateSessionRequest) Reset ¶
func (x *InitiateSessionRequest) Reset()
func (*InitiateSessionRequest) String ¶
func (x *InitiateSessionRequest) String() string
type PlayerPlace ¶
type PlayerPlace struct { // Remote player ID returned on Quit request Player string `protobuf:"bytes,1,opt,name=player,proto3" json:"player,omitempty"` // Score earned by the player Score int32 `protobuf:"varint,2,opt,name=score,proto3" json:"score,omitempty"` // Place taken by the player Place int32 `protobuf:"varint,3,opt,name=place,proto3" json:"place,omitempty"` // Prize that has to be paid to the player Prize int32 `protobuf:"varint,4,opt,name=prize,proto3" json:"prize,omitempty"` // contains filtered or unexported fields }
Agregated player info after game finished
func (*PlayerPlace) Descriptor
deprecated
func (*PlayerPlace) Descriptor() ([]byte, []int)
Deprecated: Use PlayerPlace.ProtoReflect.Descriptor instead.
func (*PlayerPlace) GetPlace ¶
func (x *PlayerPlace) GetPlace() int32
func (*PlayerPlace) GetPlayer ¶
func (x *PlayerPlace) GetPlayer() string
func (*PlayerPlace) GetPrize ¶
func (x *PlayerPlace) GetPrize() int32
func (*PlayerPlace) GetScore ¶
func (x *PlayerPlace) GetScore() int32
func (*PlayerPlace) ProtoMessage ¶
func (*PlayerPlace) ProtoMessage()
func (*PlayerPlace) ProtoReflect ¶
func (x *PlayerPlace) ProtoReflect() protoreflect.Message
func (*PlayerPlace) Reset ¶
func (x *PlayerPlace) Reset()
func (*PlayerPlace) String ¶
func (x *PlayerPlace) String() string
type UnifiedSessionResponse ¶
type UnifiedSessionResponse struct { // Session identifier created on initiate stage Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` // Current status of the sessions on the wallet side Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
Response definition for InitSession
func (*UnifiedSessionResponse) Descriptor
deprecated
func (*UnifiedSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnifiedSessionResponse.ProtoReflect.Descriptor instead.
func (*UnifiedSessionResponse) GetIdentifier ¶
func (x *UnifiedSessionResponse) GetIdentifier() string
func (*UnifiedSessionResponse) GetStatus ¶
func (x *UnifiedSessionResponse) GetStatus() string
func (*UnifiedSessionResponse) ProtoMessage ¶
func (*UnifiedSessionResponse) ProtoMessage()
func (*UnifiedSessionResponse) ProtoReflect ¶
func (x *UnifiedSessionResponse) ProtoReflect() protoreflect.Message
func (*UnifiedSessionResponse) Reset ¶
func (x *UnifiedSessionResponse) Reset()
func (*UnifiedSessionResponse) String ¶
func (x *UnifiedSessionResponse) String() string
Click to show internal directories.
Click to hide internal directories.