pb

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pb_item_proto protoreflect.FileDescriptor
View Source
var File_pb_table_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Item

type Item struct {
	Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty" gorm:"column:type" redis:"type,omitempty"` // 物品种类
	Id   int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty" gorm:"column:id" redis:"id,omitempty"`         // 物品编号
	Num  int32 `protobuf:"varint,3,opt,name=num,proto3" json:"num,omitempty" gorm:"column:num" redis:"num,omitempty"`     // 物品数量
	// contains filtered or unexported fields
}

掉落物品

func (*Item) Descriptor deprecated

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

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetId

func (x *Item) GetId() int32

func (*Item) GetNum

func (x *Item) GetNum() int32

func (*Item) GetType

func (x *Item) GetType() int32

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

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

func (*Item) Reset

func (x *Item) Reset()

func (*Item) String

func (x *Item) String() string

type TablePercent

type TablePercent struct {
	Type int32   `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty" gorm:"column:type" redis:"type,omitempty"`
	Id   int32   `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty" gorm:"column:id" redis:"id,omitempty"`
	Prob float32 `protobuf:"fixed32,3,opt,name=prob,proto3" json:"prob,omitempty" gorm:"column:prob" redis:"prob,omitempty"`
	Min  int32   `protobuf:"varint,4,opt,name=min,proto3" json:"min,omitempty" gorm:"column:min" redis:"min,omitempty"`
	Max  int32   `protobuf:"varint,5,opt,name=max,proto3" json:"max,omitempty" gorm:"column:max" redis:"max,omitempty"`
	// contains filtered or unexported fields
}

逐个百分比掉落表

func (*TablePercent) Descriptor deprecated

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

Deprecated: Use TablePercent.ProtoReflect.Descriptor instead.

func (*TablePercent) GetId

func (x *TablePercent) GetId() int32

func (*TablePercent) GetMax

func (x *TablePercent) GetMax() int32

func (*TablePercent) GetMin

func (x *TablePercent) GetMin() int32

func (*TablePercent) GetProb

func (x *TablePercent) GetProb() float32

func (*TablePercent) GetType

func (x *TablePercent) GetType() int32

func (*TablePercent) ProtoMessage

func (*TablePercent) ProtoMessage()

func (*TablePercent) ProtoReflect

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

func (*TablePercent) Reset

func (x *TablePercent) Reset()

func (*TablePercent) String

func (x *TablePercent) String() string

type TableVat

type TableVat struct {
	VatId    int32 `protobuf:"varint,1,opt,name=vat_id,json=vatId,proto3" json:"vat_id,omitempty" gorm:"column:vat_id" redis:"vat_id,omitempty"` // 木桶编号
	FallType int32 ``                                                                                                                            // 掉落种类
	/* 138-byte string literal not displayed */
	FallTypeId int32 `` // 掉落种类编号
	/* 152-byte string literal not displayed */
	VatNumMin int32 `` // 最小数量
	/* 147-byte string literal not displayed */
	VatNumMax int32 `` // 最大数量
	/* 147-byte string literal not displayed */
	VatWeight int32 `` // 权重(空缺量*系数加成)
	/* 143-byte string literal not displayed */
	ExpectNum int32 `` // 预期量
	/* 143-byte string literal not displayed */
	ExistingNum int32 `` // 现有量
	/* 153-byte string literal not displayed */
	VacancyNum int32 `` // 空缺量(预期量-现有量)
	/* 148-byte string literal not displayed */
	VacancyProb float32 `` // 空缺率(空缺量/预期量)
	/* 155-byte string literal not displayed */
	Coefficient int32 `` // 系数加成(4=空缺率>=90%,2=空缺率>=70% AND 空缺率<90%,DEFAULT 1)
	/* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

木桶原理掉落表

func (*TableVat) Descriptor deprecated

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

Deprecated: Use TableVat.ProtoReflect.Descriptor instead.

func (*TableVat) GetCoefficient

func (x *TableVat) GetCoefficient() int32

func (*TableVat) GetExistingNum

func (x *TableVat) GetExistingNum() int32

func (*TableVat) GetExpectNum

func (x *TableVat) GetExpectNum() int32

func (*TableVat) GetFallType

func (x *TableVat) GetFallType() int32

func (*TableVat) GetFallTypeId

func (x *TableVat) GetFallTypeId() int32

func (*TableVat) GetVacancyNum

func (x *TableVat) GetVacancyNum() int32

func (*TableVat) GetVacancyProb

func (x *TableVat) GetVacancyProb() float32

func (*TableVat) GetVatId

func (x *TableVat) GetVatId() int32

func (*TableVat) GetVatNumMax

func (x *TableVat) GetVatNumMax() int32

func (*TableVat) GetVatNumMin

func (x *TableVat) GetVatNumMin() int32

func (*TableVat) GetVatWeight

func (x *TableVat) GetVatWeight() int32

func (*TableVat) ProtoMessage

func (*TableVat) ProtoMessage()

func (*TableVat) ProtoReflect

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

func (*TableVat) Reset

func (x *TableVat) Reset()

func (*TableVat) String

func (x *TableVat) String() string

type TableWeightGroupMaster

type TableWeightGroupMaster struct {
	MasterId int32 `` // 母集编号
	/* 138-byte string literal not displayed */
	SubsetId int32 `` // 子集编号
	/* 138-byte string literal not displayed */
	IsNextSubset bool `` // 是进阶子集?
	/* 162-byte string literal not displayed */
	NextSubsetId int32 `` // 进阶子集
	/* 162-byte string literal not displayed */
	NextSubsetMin int32 `` // 最小进阶次数
	/* 167-byte string literal not displayed */
	NextSubsetMax int32 `` // 最大进阶次数
	/* 167-byte string literal not displayed */
	AdvanceNum int32 `` // 现有进阶次数
	/* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

权重掉落组式掉落母集进阶掉落表

func (*TableWeightGroupMaster) Descriptor deprecated

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

Deprecated: Use TableWeightGroupMaster.ProtoReflect.Descriptor instead.

func (*TableWeightGroupMaster) GetAdvanceNum

func (x *TableWeightGroupMaster) GetAdvanceNum() int32

func (*TableWeightGroupMaster) GetIsNextSubset added in v1.0.8

func (x *TableWeightGroupMaster) GetIsNextSubset() bool

func (*TableWeightGroupMaster) GetMasterId

func (x *TableWeightGroupMaster) GetMasterId() int32

func (*TableWeightGroupMaster) GetNextSubsetId

func (x *TableWeightGroupMaster) GetNextSubsetId() int32

func (*TableWeightGroupMaster) GetNextSubsetMax

func (x *TableWeightGroupMaster) GetNextSubsetMax() int32

func (*TableWeightGroupMaster) GetNextSubsetMin

func (x *TableWeightGroupMaster) GetNextSubsetMin() int32

func (*TableWeightGroupMaster) GetSubsetId

func (x *TableWeightGroupMaster) GetSubsetId() int32

func (*TableWeightGroupMaster) ProtoMessage

func (*TableWeightGroupMaster) ProtoMessage()

func (*TableWeightGroupMaster) ProtoReflect

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

func (*TableWeightGroupMaster) Reset

func (x *TableWeightGroupMaster) Reset()

func (*TableWeightGroupMaster) String

func (x *TableWeightGroupMaster) String() string

type TableWeightGroupSubset

type TableWeightGroupSubset struct {
	SubsetId int32 `` // 子集编号
	/* 138-byte string literal not displayed */
	FallType int32 `` // 掉落种类
	/* 138-byte string literal not displayed */
	FallTypeId int32 `` // 掉落种类编号
	/* 152-byte string literal not displayed */
	SubsetNumMin int32 `` // 最小数量
	/* 162-byte string literal not displayed */
	SubsetNumMax int32 `` // 最大数量
	/* 162-byte string literal not displayed */
	SubsetWeight int32 `` // 权重
	/* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

权重掉落组式掉落子集表

func (*TableWeightGroupSubset) Descriptor deprecated

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

Deprecated: Use TableWeightGroupSubset.ProtoReflect.Descriptor instead.

func (*TableWeightGroupSubset) GetFallType

func (x *TableWeightGroupSubset) GetFallType() int32

func (*TableWeightGroupSubset) GetFallTypeId

func (x *TableWeightGroupSubset) GetFallTypeId() int32

func (*TableWeightGroupSubset) GetSubsetId

func (x *TableWeightGroupSubset) GetSubsetId() int32

func (*TableWeightGroupSubset) GetSubsetNumMax

func (x *TableWeightGroupSubset) GetSubsetNumMax() int32

func (*TableWeightGroupSubset) GetSubsetNumMin

func (x *TableWeightGroupSubset) GetSubsetNumMin() int32

func (*TableWeightGroupSubset) GetSubsetWeight

func (x *TableWeightGroupSubset) GetSubsetWeight() int32

func (*TableWeightGroupSubset) ProtoMessage

func (*TableWeightGroupSubset) ProtoMessage()

func (*TableWeightGroupSubset) ProtoReflect

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

func (*TableWeightGroupSubset) Reset

func (x *TableWeightGroupSubset) Reset()

func (*TableWeightGroupSubset) String

func (x *TableWeightGroupSubset) String() string

Jump to

Keyboard shortcuts

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