Documentation ¶
Index ¶
- Variables
- type CompleteSessionRequest
- func (*CompleteSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteSessionRequest) GetCancel() bool
- func (x *CompleteSessionRequest) GetLeaderboard() []*v1.PlayerPlace
- func (x *CompleteSessionRequest) GetSession() string
- func (x *CompleteSessionRequest) GetSpread() bool
- func (*CompleteSessionRequest) ProtoMessage()
- func (x *CompleteSessionRequest) ProtoReflect() protoreflect.Message
- func (x *CompleteSessionRequest) Reset()
- func (x *CompleteSessionRequest) String() string
- type InitiateSessionRequest
- func (*InitiateSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitiateSessionRequest) GetConnect() bool
- func (x *InitiateSessionRequest) GetPrize() int32
- func (x *InitiateSessionRequest) GetSeats() int32
- func (x *InitiateSessionRequest) GetStake() *v1.PlayerStake
- func (x *InitiateSessionRequest) GetTitle() string
- func (*InitiateSessionRequest) ProtoMessage()
- func (x *InitiateSessionRequest) ProtoReflect() protoreflect.Message
- func (x *InitiateSessionRequest) Reset()
- func (x *InitiateSessionRequest) 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_play_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"` // Marks that tournament after finishin has to spread money automatically // based on the leaderboard table Spread bool `protobuf:"varint,2,opt,name=spread,proto3" json:"spread,omitempty"` // Marks that tournament after finishing has to cancel all the bets Cancel bool `protobuf:"varint,3,opt,name=cancel,proto3" json:"cancel,omitempty"` // Leaderboard table, if spread is true Leaderboard []*v1.PlayerPlace `protobuf:"bytes,4,rep,name=leaderboard,proto3" json:"leaderboard,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) GetCancel ¶
func (x *CompleteSessionRequest) GetCancel() bool
func (*CompleteSessionRequest) GetLeaderboard ¶
func (x *CompleteSessionRequest) GetLeaderboard() []*v1.PlayerPlace
func (*CompleteSessionRequest) GetSession ¶
func (x *CompleteSessionRequest) GetSession() string
func (*CompleteSessionRequest) GetSpread ¶
func (x *CompleteSessionRequest) GetSpread() bool
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 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"` // Allow to auto join the tournament for initiator Connect *bool `protobuf:"varint,4,opt,name=connect,proto3,oneof" json:"connect,omitempty"` // Actual bet of the player in case autojoin applied Stake *v1.PlayerStake `protobuf:"bytes,5,opt,name=stake,proto3,oneof" json:"stake,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) GetConnect ¶
func (x *InitiateSessionRequest) GetConnect() bool
func (*InitiateSessionRequest) GetPrize ¶
func (x *InitiateSessionRequest) GetPrize() int32
func (*InitiateSessionRequest) GetSeats ¶
func (x *InitiateSessionRequest) GetSeats() int32
func (*InitiateSessionRequest) GetStake ¶
func (x *InitiateSessionRequest) GetStake() *v1.PlayerStake
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 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.