testpb

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_common_proto protoreflect.FileDescriptor
View Source
var File_test_conf_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ActivityConf

type ActivityConf struct {
	ActivityMap map[int32]*ActivityConf_Activity `` /* 183-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ActivityConf) Descriptor deprecated

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

Deprecated: Use ActivityConf.ProtoReflect.Descriptor instead.

func (*ActivityConf) GetActivityMap

func (x *ActivityConf) GetActivityMap() map[int32]*ActivityConf_Activity

func (*ActivityConf) ProtoMessage

func (*ActivityConf) ProtoMessage()

func (*ActivityConf) ProtoReflect

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

func (*ActivityConf) Reset

func (x *ActivityConf) Reset()

func (*ActivityConf) String

func (x *ActivityConf) String() string

type ActivityConf_Activity

type ActivityConf_Activity struct {
	Id         int32                           `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ChapterMap map[int32]*ActivityConf_Chapter `` /* 180-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ActivityConf_Activity) Descriptor deprecated

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

Deprecated: Use ActivityConf_Activity.ProtoReflect.Descriptor instead.

func (*ActivityConf_Activity) GetChapterMap

func (x *ActivityConf_Activity) GetChapterMap() map[int32]*ActivityConf_Chapter

func (*ActivityConf_Activity) GetId

func (x *ActivityConf_Activity) GetId() int32

func (*ActivityConf_Activity) ProtoMessage

func (*ActivityConf_Activity) ProtoMessage()

func (*ActivityConf_Activity) ProtoReflect

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

func (*ActivityConf_Activity) Reset

func (x *ActivityConf_Activity) Reset()

func (*ActivityConf_Activity) String

func (x *ActivityConf_Activity) String() string

type ActivityConf_Chapter

type ActivityConf_Chapter struct {
	Id   int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
	// repeated Section sections = 3 [(tableau.field).layout = tableau.LAYOUT_VERTICAL];
	Sections []*ActivityConf_Section `protobuf:"bytes,3,rep,name=sections,proto3" json:"sections,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivityConf_Chapter) Descriptor deprecated

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

Deprecated: Use ActivityConf_Chapter.ProtoReflect.Descriptor instead.

func (*ActivityConf_Chapter) GetDesc

func (x *ActivityConf_Chapter) GetDesc() string

func (*ActivityConf_Chapter) GetId

func (x *ActivityConf_Chapter) GetId() int32

func (*ActivityConf_Chapter) GetSections

func (x *ActivityConf_Chapter) GetSections() []*ActivityConf_Section

func (*ActivityConf_Chapter) ProtoMessage

func (*ActivityConf_Chapter) ProtoMessage()

func (*ActivityConf_Chapter) ProtoReflect

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

func (*ActivityConf_Chapter) Reset

func (x *ActivityConf_Chapter) Reset()

func (*ActivityConf_Chapter) String

func (x *ActivityConf_Chapter) String() string

type ActivityConf_Section

type ActivityConf_Section struct {
	Id        int32                      `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"`
	Desc      string                     `protobuf:"bytes,5,opt,name=desc,proto3" json:"desc,omitempty"`
	Items     []*Item                    `protobuf:"bytes,6,rep,name=items,proto3" json:"items,omitempty"`
	BeginTime *timestamp.Timestamp       `protobuf:"bytes,7,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"`
	EndTime   *timestamp.Timestamp       `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Duration  *duration.Duration         `protobuf:"bytes,9,opt,name=duration,proto3" json:"duration,omitempty"`
	Task      *ActivityConf_Section_Task `protobuf:"bytes,10,opt,name=task,proto3" json:"task,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivityConf_Section) Descriptor deprecated

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

Deprecated: Use ActivityConf_Section.ProtoReflect.Descriptor instead.

func (*ActivityConf_Section) GetBeginTime

func (x *ActivityConf_Section) GetBeginTime() *timestamp.Timestamp

func (*ActivityConf_Section) GetDesc

func (x *ActivityConf_Section) GetDesc() string

func (*ActivityConf_Section) GetDuration

func (x *ActivityConf_Section) GetDuration() *duration.Duration

func (*ActivityConf_Section) GetEndTime

func (x *ActivityConf_Section) GetEndTime() *timestamp.Timestamp

func (*ActivityConf_Section) GetId

func (x *ActivityConf_Section) GetId() int32

func (*ActivityConf_Section) GetItems

func (x *ActivityConf_Section) GetItems() []*Item

func (*ActivityConf_Section) GetTask added in v0.5.0

func (*ActivityConf_Section) ProtoMessage

func (*ActivityConf_Section) ProtoMessage()

func (*ActivityConf_Section) ProtoReflect

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

func (*ActivityConf_Section) Reset

func (x *ActivityConf_Section) Reset()

func (*ActivityConf_Section) String

func (x *ActivityConf_Section) String() string

type ActivityConf_Section_Task added in v0.5.0

type ActivityConf_Section_Task struct {
	Type   int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	Param  int32 `protobuf:"varint,2,opt,name=param,proto3" json:"param,omitempty"`
	Target int32 `protobuf:"varint,3,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivityConf_Section_Task) Descriptor deprecated added in v0.5.0

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

Deprecated: Use ActivityConf_Section_Task.ProtoReflect.Descriptor instead.

func (*ActivityConf_Section_Task) GetParam added in v0.5.0

func (x *ActivityConf_Section_Task) GetParam() int32

func (*ActivityConf_Section_Task) GetTarget added in v0.5.0

func (x *ActivityConf_Section_Task) GetTarget() int32

func (*ActivityConf_Section_Task) GetType added in v0.5.0

func (x *ActivityConf_Section_Task) GetType() int32

func (*ActivityConf_Section_Task) ProtoMessage added in v0.5.0

func (*ActivityConf_Section_Task) ProtoMessage()

func (*ActivityConf_Section_Task) ProtoReflect added in v0.5.0

func (*ActivityConf_Section_Task) Reset added in v0.5.0

func (x *ActivityConf_Section_Task) Reset()

func (*ActivityConf_Section_Task) String added in v0.5.0

func (x *ActivityConf_Section_Task) String() string

type EnvConf

type EnvConf struct {
	WorldId       int32           `protobuf:"varint,1,opt,name=world_id,json=worldId,proto3" json:"world_id,omitempty"`
	ZoneId        int32           `protobuf:"varint,2,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	PlatformType  int32           `protobuf:"varint,3,opt,name=platform_type,json=platformType,proto3" json:"platform_type,omitempty"`
	Name          string          `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	NewbieItemMap map[int32]int32 `` /* 192-byte string literal not displayed */
	Basic1        *EnvConf_Basic  `protobuf:"bytes,6,opt,name=basic1,proto3" json:"basic1,omitempty"`
	Basic2        *EnvConf_Basic  `protobuf:"bytes,7,opt,name=basic2,proto3" json:"basic2,omitempty"`
	Ratio         float32         `protobuf:"fixed32,8,opt,name=ratio,proto3" json:"ratio,omitempty"`
	Coefficent    float64         `protobuf:"fixed64,9,opt,name=coefficent,proto3" json:"coefficent,omitempty"`
	// contains filtered or unexported fields
}

func (*EnvConf) Descriptor deprecated

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

Deprecated: Use EnvConf.ProtoReflect.Descriptor instead.

func (*EnvConf) GetBasic1 added in v0.3.5

func (x *EnvConf) GetBasic1() *EnvConf_Basic

func (*EnvConf) GetBasic2 added in v0.3.5

func (x *EnvConf) GetBasic2() *EnvConf_Basic

func (*EnvConf) GetCoefficent

func (x *EnvConf) GetCoefficent() float64

func (*EnvConf) GetName

func (x *EnvConf) GetName() string

func (*EnvConf) GetNewbieItemMap

func (x *EnvConf) GetNewbieItemMap() map[int32]int32

func (*EnvConf) GetPlatformType

func (x *EnvConf) GetPlatformType() int32

func (*EnvConf) GetRatio

func (x *EnvConf) GetRatio() float32

func (*EnvConf) GetWorldId

func (x *EnvConf) GetWorldId() int32

func (*EnvConf) GetZoneId

func (x *EnvConf) GetZoneId() int32

func (*EnvConf) ProtoMessage

func (*EnvConf) ProtoMessage()

func (*EnvConf) ProtoReflect

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

func (*EnvConf) Reset

func (x *EnvConf) Reset()

func (*EnvConf) String

func (x *EnvConf) String() string

type EnvConf_Basic

type EnvConf_Basic struct {
	Count    int32  `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Title    string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Content  string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	Valuable bool   `protobuf:"varint,4,opt,name=valuable,proto3" json:"valuable,omitempty"`
	// contains filtered or unexported fields
}

func (*EnvConf_Basic) Descriptor deprecated

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

Deprecated: Use EnvConf_Basic.ProtoReflect.Descriptor instead.

func (*EnvConf_Basic) GetContent

func (x *EnvConf_Basic) GetContent() string

func (*EnvConf_Basic) GetCount

func (x *EnvConf_Basic) GetCount() int32

func (*EnvConf_Basic) GetTitle

func (x *EnvConf_Basic) GetTitle() string

func (*EnvConf_Basic) GetValuable

func (x *EnvConf_Basic) GetValuable() bool

func (*EnvConf_Basic) ProtoMessage

func (*EnvConf_Basic) ProtoMessage()

func (*EnvConf_Basic) ProtoReflect

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

func (*EnvConf_Basic) Reset

func (x *EnvConf_Basic) Reset()

func (*EnvConf_Basic) String

func (x *EnvConf_Basic) String() string

type Item

type Item struct {
	Id  int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Num int32 `protobuf:"varint,2,opt,name=num,proto3" json:"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) 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 ItemConf

type ItemConf struct {
	ItemMap map[int32]*ItemConf_Row `` /* 171-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ItemConf) Descriptor deprecated

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

Deprecated: Use ItemConf.ProtoReflect.Descriptor instead.

func (*ItemConf) GetItemMap

func (x *ItemConf) GetItemMap() map[int32]*ItemConf_Row

func (*ItemConf) ProtoMessage

func (*ItemConf) ProtoMessage()

func (*ItemConf) ProtoReflect

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

func (*ItemConf) Reset

func (x *ItemConf) Reset()

func (*ItemConf) String

func (x *ItemConf) String() string

type ItemConf_Attribute

type ItemConf_Attribute struct {
	Id           int32                    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Value        int32                    `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	Enhancements []*ItemConf_Enhancement  `protobuf:"bytes,3,rep,name=enhancements,proto3" json:"enhancements,omitempty"`
	CostMap      map[int32]*ItemConf_Cost `` /* 171-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ItemConf_Attribute) Descriptor deprecated

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

Deprecated: Use ItemConf_Attribute.ProtoReflect.Descriptor instead.

func (*ItemConf_Attribute) GetCostMap

func (x *ItemConf_Attribute) GetCostMap() map[int32]*ItemConf_Cost

func (*ItemConf_Attribute) GetEnhancements

func (x *ItemConf_Attribute) GetEnhancements() []*ItemConf_Enhancement

func (*ItemConf_Attribute) GetId

func (x *ItemConf_Attribute) GetId() int32

func (*ItemConf_Attribute) GetValue

func (x *ItemConf_Attribute) GetValue() int32

func (*ItemConf_Attribute) ProtoMessage

func (*ItemConf_Attribute) ProtoMessage()

func (*ItemConf_Attribute) ProtoReflect

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

func (*ItemConf_Attribute) Reset

func (x *ItemConf_Attribute) Reset()

func (*ItemConf_Attribute) String

func (x *ItemConf_Attribute) String() string

type ItemConf_Cost

type ItemConf_Cost struct {
	Type  int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*ItemConf_Cost) Descriptor deprecated

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

Deprecated: Use ItemConf_Cost.ProtoReflect.Descriptor instead.

func (*ItemConf_Cost) GetCount

func (x *ItemConf_Cost) GetCount() int32

func (*ItemConf_Cost) GetType

func (x *ItemConf_Cost) GetType() int32

func (*ItemConf_Cost) ProtoMessage

func (*ItemConf_Cost) ProtoMessage()

func (*ItemConf_Cost) ProtoReflect

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

func (*ItemConf_Cost) Reset

func (x *ItemConf_Cost) Reset()

func (*ItemConf_Cost) String

func (x *ItemConf_Cost) String() string

type ItemConf_Enhancement

type ItemConf_Enhancement struct {
	Id   int32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Desc string   `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
	Tips []string `protobuf:"bytes,3,rep,name=tips,proto3" json:"tips,omitempty"`
	// contains filtered or unexported fields
}

func (*ItemConf_Enhancement) Descriptor deprecated

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

Deprecated: Use ItemConf_Enhancement.ProtoReflect.Descriptor instead.

func (*ItemConf_Enhancement) GetDesc

func (x *ItemConf_Enhancement) GetDesc() string

func (*ItemConf_Enhancement) GetId

func (x *ItemConf_Enhancement) GetId() int32

func (*ItemConf_Enhancement) GetTips

func (x *ItemConf_Enhancement) GetTips() []string

func (*ItemConf_Enhancement) ProtoMessage

func (*ItemConf_Enhancement) ProtoMessage()

func (*ItemConf_Enhancement) ProtoReflect

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

func (*ItemConf_Enhancement) Reset

func (x *ItemConf_Enhancement) Reset()

func (*ItemConf_Enhancement) String

func (x *ItemConf_Enhancement) String() string

type ItemConf_Row

type ItemConf_Row struct {
	Id         int32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name       string                `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Desc       string                `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	IconId     int32                 `protobuf:"varint,4,opt,name=icon_id,json=iconId,proto3" json:"icon_id,omitempty"`
	Attributes []*ItemConf_Attribute `protobuf:"bytes,5,rep,name=attributes,proto3" json:"attributes,omitempty"`
	SaleMap    map[int32]int32       `` /* 172-byte string literal not displayed */
	Effects    []int32               `protobuf:"varint,7,rep,packed,name=effects,proto3" json:"effects,omitempty"`
	ExpiryTime *timestamp.Timestamp  `protobuf:"bytes,8,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"`
	Duration   *duration.Duration    `protobuf:"bytes,9,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*ItemConf_Row) Descriptor deprecated

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

Deprecated: Use ItemConf_Row.ProtoReflect.Descriptor instead.

func (*ItemConf_Row) GetAttributes

func (x *ItemConf_Row) GetAttributes() []*ItemConf_Attribute

func (*ItemConf_Row) GetDesc

func (x *ItemConf_Row) GetDesc() string

func (*ItemConf_Row) GetDuration added in v0.3.3

func (x *ItemConf_Row) GetDuration() *duration.Duration

func (*ItemConf_Row) GetEffects

func (x *ItemConf_Row) GetEffects() []int32

func (*ItemConf_Row) GetExpiryTime

func (x *ItemConf_Row) GetExpiryTime() *timestamp.Timestamp

func (*ItemConf_Row) GetIconId

func (x *ItemConf_Row) GetIconId() int32

func (*ItemConf_Row) GetId

func (x *ItemConf_Row) GetId() int32

func (*ItemConf_Row) GetName

func (x *ItemConf_Row) GetName() string

func (*ItemConf_Row) GetSaleMap

func (x *ItemConf_Row) GetSaleMap() map[int32]int32

func (*ItemConf_Row) ProtoMessage

func (*ItemConf_Row) ProtoMessage()

func (*ItemConf_Row) ProtoReflect

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

func (*ItemConf_Row) Reset

func (x *ItemConf_Row) Reset()

func (*ItemConf_Row) String

func (x *ItemConf_Row) String() string

type MailConf added in v0.5.0

type MailConf struct {
	MailMap map[int32]*MailConf_Row `` // default: [(tableau.field).key = "Key"];
	/* 171-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MailConf) Descriptor deprecated added in v0.5.0

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

Deprecated: Use MailConf.ProtoReflect.Descriptor instead.

func (*MailConf) GetMailMap added in v0.5.0

func (x *MailConf) GetMailMap() map[int32]*MailConf_Row

func (*MailConf) ProtoMessage added in v0.5.0

func (*MailConf) ProtoMessage()

func (*MailConf) ProtoReflect added in v0.5.0

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

func (*MailConf) Reset added in v0.5.0

func (x *MailConf) Reset()

func (*MailConf) String added in v0.5.0

func (x *MailConf) String() string

type MailConf_Row added in v0.5.0

type MailConf_Row struct {
	Key      int32   `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
	Title    string  `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Content  string  `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	ItemList []*Item `protobuf:"bytes,4,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` // default: [(tableau.field).name = "Item"];
	// contains filtered or unexported fields
}

func (*MailConf_Row) Descriptor deprecated added in v0.5.0

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

Deprecated: Use MailConf_Row.ProtoReflect.Descriptor instead.

func (*MailConf_Row) GetContent added in v0.5.0

func (x *MailConf_Row) GetContent() string

func (*MailConf_Row) GetItemList added in v0.5.0

func (x *MailConf_Row) GetItemList() []*Item

func (*MailConf_Row) GetKey added in v0.5.0

func (x *MailConf_Row) GetKey() int32

func (*MailConf_Row) GetTitle added in v0.5.0

func (x *MailConf_Row) GetTitle() string

func (*MailConf_Row) ProtoMessage added in v0.5.0

func (*MailConf_Row) ProtoMessage()

func (*MailConf_Row) ProtoReflect added in v0.5.0

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

func (*MailConf_Row) Reset added in v0.5.0

func (x *MailConf_Row) Reset()

func (*MailConf_Row) String added in v0.5.0

func (x *MailConf_Row) String() string

Jump to

Keyboard shortcuts

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