Documentation
¶
Index ¶
- Variables
- type BoosterConfig
- func (*BoosterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BoosterConfig) GetBoosters() []*BoosterPack
- func (x *BoosterConfig) GetBoostersTotalWeight() int64
- func (x *BoosterConfig) GetName() string
- func (x *BoosterConfig) GetSheets() map[string]*BoosterSheet
- func (*BoosterConfig) ProtoMessage()
- func (x *BoosterConfig) ProtoReflect() protoreflect.Message
- func (x *BoosterConfig) Reset()
- func (x *BoosterConfig) String() string
- type BoosterPack
- func (*BoosterPack) Descriptor() ([]byte, []int)deprecated
- func (x *BoosterPack) GetContents() map[string]int64
- func (x *BoosterPack) GetWeight() int64
- func (*BoosterPack) ProtoMessage()
- func (x *BoosterPack) ProtoReflect() protoreflect.Message
- func (x *BoosterPack) Reset()
- func (x *BoosterPack) String() string
- type BoosterSheet
- func (*BoosterSheet) Descriptor() ([]byte, []int)deprecated
- func (x *BoosterSheet) GetAllowDuplicates() bool
- func (x *BoosterSheet) GetBalanceColors() bool
- func (x *BoosterSheet) GetCards() map[string]int64
- func (x *BoosterSheet) GetFixed() bool
- func (x *BoosterSheet) GetFoil() bool
- func (x *BoosterSheet) GetTotalWeight() int64
- func (*BoosterSheet) ProtoMessage()
- func (x *BoosterSheet) ProtoReflect() protoreflect.Message
- func (x *BoosterSheet) Reset()
- func (x *BoosterSheet) String() string
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" bson:"boosters"` // @gotags: bson:"boosters"
BoostersTotalWeight int64 `protobuf:"varint,2,opt,name=boostersTotalWeight,proto3" json:"boostersTotalWeight,omitempty" bson:"boostersTotalWeight"` // @gotags: bson:"boostersTotalWeight"
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" bson:"name"` // @gotags: bson:"name"
Sheets map[string]*BoosterSheet `` // @gotags: bson:"sheets"
/* 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 `` // @gotags: bson:"contents"
/* 160-byte string literal not displayed */
Weight int64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty" bson:"weight"` // @gotags: bson:"weight"
// 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" bson:"allowDuplicates"` // @gotags: bson:"allowDuplicates"
BalanceColors bool `protobuf:"varint,2,opt,name=balanceColors,proto3" json:"balanceColors,omitempty" bson:"balanceColors"` // @gotags: bson:"balanceColors"
Cards map[string]int64 `` // @gotags: bson:"cards"
/* 151-byte string literal not displayed */
Foil bool `protobuf:"varint,4,opt,name=foil,proto3" json:"foil,omitempty" bson:"foil"` // @gotags: bson:"foil"
Fixed bool `protobuf:"varint,5,opt,name=fixed,proto3" json:"fixed,omitempty" bson:"fixed"` // @gotags: bson:"fixed"
TotalWeight int64 `protobuf:"varint,6,opt,name=totalWeight,proto3" json:"totalWeight,omitempty" bson:"totalWeight"` // @gotags: bson:"totalWeight"
// 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
Click to show internal directories.
Click to hide internal directories.