playersv1

package
v1.34.1-20240521104053... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_linq_play_players_v1_players_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AppliedPlayerOrder

type AppliedPlayerOrder struct {

	// Order identifier, uuid string
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Type of the order, bet, stake or any other
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// Amount of the order for bet or win
	Amount uint32 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// Order status after transaction has beed applied
	Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	// Reference data that was placed into the order during the creation
	Reference string `protobuf:"bytes,5,opt,name=reference,proto3" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

Returns order details and account state

func (*AppliedPlayerOrder) Descriptor deprecated

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

Deprecated: Use AppliedPlayerOrder.ProtoReflect.Descriptor instead.

func (*AppliedPlayerOrder) GetAmount

func (x *AppliedPlayerOrder) GetAmount() uint32

func (*AppliedPlayerOrder) GetId

func (x *AppliedPlayerOrder) GetId() string

func (*AppliedPlayerOrder) GetReference

func (x *AppliedPlayerOrder) GetReference() string

func (*AppliedPlayerOrder) GetStatus

func (x *AppliedPlayerOrder) GetStatus() string

func (*AppliedPlayerOrder) GetType

func (x *AppliedPlayerOrder) GetType() string

func (*AppliedPlayerOrder) ProtoMessage

func (*AppliedPlayerOrder) ProtoMessage()

func (*AppliedPlayerOrder) ProtoReflect

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

func (*AppliedPlayerOrder) Reset

func (x *AppliedPlayerOrder) Reset()

func (*AppliedPlayerOrder) String

func (x *AppliedPlayerOrder) String() string

type GainPlayerRequest

type GainPlayerRequest struct {

	// List of session identifiers for which need to apply gain
	// for this authorized user
	Sessions []string `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// Reference data that will be placed into the order
	Reference *string `protobuf:"bytes,3,opt,name=reference,proto3,oneof" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

Params for gaining reward

func (*GainPlayerRequest) Descriptor deprecated

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

Deprecated: Use GainPlayerRequest.ProtoReflect.Descriptor instead.

func (*GainPlayerRequest) GetReference

func (x *GainPlayerRequest) GetReference() string

func (*GainPlayerRequest) GetSessions

func (x *GainPlayerRequest) GetSessions() []string

func (*GainPlayerRequest) ProtoMessage

func (*GainPlayerRequest) ProtoMessage()

func (*GainPlayerRequest) ProtoReflect

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

func (*GainPlayerRequest) Reset

func (x *GainPlayerRequest) Reset()

func (*GainPlayerRequest) String

func (x *GainPlayerRequest) String() string

type JoinPlayerRequest

type JoinPlayerRequest struct {

	// Session identifier created on initiate stage
	Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	// Actual amount of money required for joining tournament
	// Should coresponds with tournament initiate, otherwise error will be raised
	Stake *PlayerStake `protobuf:"bytes,2,opt,name=stake,proto3" json:"stake,omitempty"`
	// Reference data that will be placed into the order
	Reference *string `protobuf:"bytes,3,opt,name=reference,proto3,oneof" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

Params for joining play session

func (*JoinPlayerRequest) Descriptor deprecated

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

Deprecated: Use JoinPlayerRequest.ProtoReflect.Descriptor instead.

func (*JoinPlayerRequest) GetReference

func (x *JoinPlayerRequest) GetReference() string

func (*JoinPlayerRequest) GetSession

func (x *JoinPlayerRequest) GetSession() string

func (*JoinPlayerRequest) GetStake

func (x *JoinPlayerRequest) GetStake() *PlayerStake

func (*JoinPlayerRequest) ProtoMessage

func (*JoinPlayerRequest) ProtoMessage()

func (*JoinPlayerRequest) ProtoReflect

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

func (*JoinPlayerRequest) Reset

func (x *JoinPlayerRequest) Reset()

func (*JoinPlayerRequest) String

func (x *JoinPlayerRequest) String() string

type PlayerStake

type PlayerStake struct {

	// Actual amount of money with which player is joining tournament
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// Optional amount of money that player spend as internal bonuses
	// It has to be used in case applied splitting stake
	// between normal cash and internal game bonuses
	Bonus *int32 `protobuf:"varint,2,opt,name=bonus,proto3,oneof" json:"bonus,omitempty"`
	// contains filtered or unexported fields
}

Actual stake of the player for torunament

func (*PlayerStake) Descriptor deprecated

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

Deprecated: Use PlayerStake.ProtoReflect.Descriptor instead.

func (*PlayerStake) GetBonus

func (x *PlayerStake) GetBonus() int32

func (*PlayerStake) GetValue

func (x *PlayerStake) GetValue() int32

func (*PlayerStake) ProtoMessage

func (*PlayerStake) ProtoMessage()

func (*PlayerStake) ProtoReflect

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

func (*PlayerStake) Reset

func (x *PlayerStake) Reset()

func (*PlayerStake) String

func (x *PlayerStake) String() string

type UnifiedPlayerResponse

type UnifiedPlayerResponse struct {

	// Identifier of the player session in tournament
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// Order information that is applied to the player
	Order *AppliedPlayerOrder `protobuf:"bytes,2,opt,name=order,proto3,oneof" json:"order,omitempty"`
	// contains filtered or unexported fields
}

Returns created player instance with orders

func (*UnifiedPlayerResponse) Descriptor deprecated

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

Deprecated: Use UnifiedPlayerResponse.ProtoReflect.Descriptor instead.

func (*UnifiedPlayerResponse) GetIdentifier

func (x *UnifiedPlayerResponse) GetIdentifier() string

func (*UnifiedPlayerResponse) GetOrder

func (*UnifiedPlayerResponse) ProtoMessage

func (*UnifiedPlayerResponse) ProtoMessage()

func (*UnifiedPlayerResponse) ProtoReflect

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

func (*UnifiedPlayerResponse) Reset

func (x *UnifiedPlayerResponse) Reset()

func (*UnifiedPlayerResponse) String

func (x *UnifiedPlayerResponse) String() string

Jump to

Keyboard shortcuts

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