booster

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_booster_booster_config_proto protoreflect.FileDescriptor
View Source
var File_booster_booster_proto protoreflect.FileDescriptor
View Source
var File_booster_booster_sheet_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BoosterConfig

type BoosterConfig struct {
	Boosters            []*BoosterPack           `protobuf:"bytes,1,rep,name=boosters,proto3" json:"boosters,omitempty"`
	BoostersTotalWeight int64                    `protobuf:"varint,2,opt,name=boostersTotalWeight,proto3" json:"boostersTotalWeight,omitempty"`
	Name                string                   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Sheets              map[string]*BoosterSheet `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BoosterConfig) Descriptor deprecated added in v1.2.0

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

Deprecated: Use BoosterConfig.ProtoReflect.Descriptor instead.

func (*BoosterConfig) GetBoosters added in v1.2.0

func (x *BoosterConfig) GetBoosters() []*BoosterPack

func (*BoosterConfig) GetBoostersTotalWeight added in v1.2.0

func (x *BoosterConfig) GetBoostersTotalWeight() int64

func (*BoosterConfig) GetName added in v1.2.0

func (x *BoosterConfig) GetName() string

func (*BoosterConfig) GetSheets added in v1.2.0

func (x *BoosterConfig) GetSheets() map[string]*BoosterSheet

func (*BoosterConfig) ProtoMessage added in v1.2.0

func (*BoosterConfig) ProtoMessage()

func (*BoosterConfig) ProtoReflect added in v1.2.0

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

func (*BoosterConfig) Reset added in v1.2.0

func (x *BoosterConfig) Reset()

func (*BoosterConfig) String added in v1.2.0

func (x *BoosterConfig) String() string

type BoosterPack

type BoosterPack struct {
	Contents map[string]int64 `` /* 158-byte string literal not displayed */
	Weight   int64            `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*BoosterPack) Descriptor deprecated added in v1.2.0

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

Deprecated: Use BoosterPack.ProtoReflect.Descriptor instead.

func (*BoosterPack) GetContents added in v1.2.0

func (x *BoosterPack) GetContents() map[string]int64

func (*BoosterPack) GetWeight added in v1.2.0

func (x *BoosterPack) GetWeight() int64

func (*BoosterPack) ProtoMessage added in v1.2.0

func (*BoosterPack) ProtoMessage()

func (*BoosterPack) ProtoReflect added in v1.2.0

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

func (*BoosterPack) Reset added in v1.2.0

func (x *BoosterPack) Reset()

func (*BoosterPack) String added in v1.2.0

func (x *BoosterPack) String() string

type BoosterSheet

type BoosterSheet struct {
	AllowDuplicates bool             `protobuf:"varint,1,opt,name=allowDuplicates,proto3" json:"allowDuplicates,omitempty"`
	BalanceColors   bool             `protobuf:"varint,2,opt,name=balanceColors,proto3" json:"balanceColors,omitempty"`
	Cards           map[string]int64 `` /* 152-byte string literal not displayed */
	Foil            bool             `protobuf:"varint,4,opt,name=foil,proto3" json:"foil,omitempty"`
	Fixed           bool             `protobuf:"varint,5,opt,name=fixed,proto3" json:"fixed,omitempty"`
	TotalWeight     int64            `protobuf:"varint,6,opt,name=totalWeight,proto3" json:"totalWeight,omitempty"`
	// contains filtered or unexported fields
}

func (*BoosterSheet) Descriptor deprecated added in v1.2.0

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

Deprecated: Use BoosterSheet.ProtoReflect.Descriptor instead.

func (*BoosterSheet) GetAllowDuplicates added in v1.2.0

func (x *BoosterSheet) GetAllowDuplicates() bool

func (*BoosterSheet) GetBalanceColors added in v1.2.0

func (x *BoosterSheet) GetBalanceColors() bool

func (*BoosterSheet) GetCards added in v1.2.0

func (x *BoosterSheet) GetCards() map[string]int64

func (*BoosterSheet) GetFixed added in v1.2.0

func (x *BoosterSheet) GetFixed() bool

func (*BoosterSheet) GetFoil added in v1.2.0

func (x *BoosterSheet) GetFoil() bool

func (*BoosterSheet) GetTotalWeight added in v1.2.0

func (x *BoosterSheet) GetTotalWeight() int64

func (*BoosterSheet) ProtoMessage added in v1.2.0

func (*BoosterSheet) ProtoMessage()

func (*BoosterSheet) ProtoReflect added in v1.2.0

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

func (*BoosterSheet) Reset added in v1.2.0

func (x *BoosterSheet) Reset()

func (*BoosterSheet) String added in v1.2.0

func (x *BoosterSheet) String() string

Jump to

Keyboard shortcuts

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