Documentation ¶
Index ¶
- Variables
- type FruitFlavor
- func (FruitFlavor) Descriptor() protoreflect.EnumDescriptor
- func (x FruitFlavor) Enum() *FruitFlavor
- func (FruitFlavor) EnumDescriptor() ([]byte, []int)deprecated
- func (x FruitFlavor) Number() protoreflect.EnumNumber
- func (x FruitFlavor) String() string
- func (FruitFlavor) Type() protoreflect.EnumType
- type FruitType
- type IncellList
- func (*IncellList) Descriptor() ([]byte, []int)deprecated
- func (x *IncellList) GetFlavorList() []FruitFlavor
- func (x *IncellList) GetItemList() []*Item
- func (x *IncellList) GetValueList() []int32
- func (*IncellList) ProtoMessage()
- func (x *IncellList) ProtoReflect() protoreflect.Message
- func (x *IncellList) Reset()
- func (x *IncellList) String() string
- type IncellMap
- func (*IncellMap) Descriptor() ([]byte, []int)deprecated
- func (x *IncellMap) GetFlavorMap() map[int64]FruitFlavor
- func (x *IncellMap) GetFruitMap() map[int32]*IncellMap_Fruit
- func (x *IncellMap) GetItemMap() map[int32]*IncellMap_Item
- func (*IncellMap) ProtoMessage()
- func (x *IncellMap) ProtoReflect() protoreflect.Message
- func (x *IncellMap) Reset()
- func (x *IncellMap) String() string
- type IncellMap_Fruit
- func (*IncellMap_Fruit) Descriptor() ([]byte, []int)deprecated
- func (x *IncellMap_Fruit) GetKey() FruitType
- func (x *IncellMap_Fruit) GetValue() int64
- func (*IncellMap_Fruit) ProtoMessage()
- func (x *IncellMap_Fruit) ProtoReflect() protoreflect.Message
- func (x *IncellMap_Fruit) Reset()
- func (x *IncellMap_Fruit) String() string
- type IncellMap_Item
- func (*IncellMap_Item) Descriptor() ([]byte, []int)deprecated
- func (x *IncellMap_Item) GetKey() FruitType
- func (x *IncellMap_Item) GetValue() FruitFlavor
- func (*IncellMap_Item) ProtoMessage()
- func (x *IncellMap_Item) ProtoReflect() protoreflect.Message
- func (x *IncellMap_Item) Reset()
- func (x *IncellMap_Item) String() string
- type Item
- type ItemConf
- type MallConf
- type MallConf_Shop
- func (*MallConf_Shop) Descriptor() ([]byte, []int)deprecated
- func (x *MallConf_Shop) GetGoodsMap() map[uint32]*MallConf_Shop_Goods
- func (x *MallConf_Shop) GetShopId() uint32
- func (*MallConf_Shop) ProtoMessage()
- func (x *MallConf_Shop) ProtoReflect() protoreflect.Message
- func (x *MallConf_Shop) Reset()
- func (x *MallConf_Shop) String() string
- type MallConf_Shop_Goods
- func (*MallConf_Shop_Goods) Descriptor() ([]byte, []int)deprecated
- func (x *MallConf_Shop_Goods) GetGoodsId() uint32
- func (x *MallConf_Shop_Goods) GetPrice() int32
- func (*MallConf_Shop_Goods) ProtoMessage()
- func (x *MallConf_Shop_Goods) ProtoReflect() protoreflect.Message
- func (x *MallConf_Shop_Goods) Reset()
- func (x *MallConf_Shop_Goods) String() string
- type PatchMergeConf
- func (*PatchMergeConf) Descriptor() ([]byte, []int)deprecated
- func (x *PatchMergeConf) GetItemMap() map[uint32]*Item
- func (x *PatchMergeConf) GetName() string
- func (x *PatchMergeConf) GetPriceList() []int32
- func (x *PatchMergeConf) GetReplaceItemMap() map[uint32]*Item
- func (x *PatchMergeConf) GetReplacePriceList() []int32
- func (*PatchMergeConf) ProtoMessage()
- func (x *PatchMergeConf) ProtoReflect() protoreflect.Message
- func (x *PatchMergeConf) Reset()
- func (x *PatchMergeConf) String() string
- type PatchReplaceConf
- func (*PatchReplaceConf) Descriptor() ([]byte, []int)deprecated
- func (x *PatchReplaceConf) GetName() string
- func (x *PatchReplaceConf) GetPriceList() []int32
- func (*PatchReplaceConf) ProtoMessage()
- func (x *PatchReplaceConf) ProtoReflect() protoreflect.Message
- func (x *PatchReplaceConf) Reset()
- func (x *PatchReplaceConf) String() string
- type RewardConf
- type RewardConf_Reward
- func (*RewardConf_Reward) Descriptor() ([]byte, []int)deprecated
- func (x *RewardConf_Reward) GetItemMap() map[uint32]*Item
- func (x *RewardConf_Reward) GetRewardId() uint32
- func (*RewardConf_Reward) ProtoMessage()
- func (x *RewardConf_Reward) ProtoReflect() protoreflect.Message
- func (x *RewardConf_Reward) Reset()
- func (x *RewardConf_Reward) String() string
- type Target
- func (*Target) Descriptor() ([]byte, []int)deprecated
- func (x *Target) GetPve() *Target_Pve
- func (x *Target) GetPvp() *Target_Pvp
- func (x *Target) GetType() Target_Type
- func (m *Target) GetValue() isTarget_Value
- func (*Target) ProtoMessage()
- func (x *Target) ProtoReflect() protoreflect.Message
- func (x *Target) Reset()
- func (x *Target) String() string
- type Target_Pve
- func (*Target_Pve) Descriptor() ([]byte, []int)deprecated
- func (x *Target_Pve) GetDungeons() map[int32]int64
- func (x *Target_Pve) GetHeros() []int32
- func (x *Target_Pve) GetMission() *Target_Pve_Mission
- func (*Target_Pve) ProtoMessage()
- func (x *Target_Pve) ProtoReflect() protoreflect.Message
- func (x *Target_Pve) Reset()
- func (x *Target_Pve) String() string
- type Target_Pve_
- type Target_Pve_Mission
- func (*Target_Pve_Mission) Descriptor() ([]byte, []int)deprecated
- func (x *Target_Pve_Mission) GetDamage() int64
- func (x *Target_Pve_Mission) GetId() int32
- func (x *Target_Pve_Mission) GetLevel() uint32
- func (*Target_Pve_Mission) ProtoMessage()
- func (x *Target_Pve_Mission) ProtoReflect() protoreflect.Message
- func (x *Target_Pve_Mission) Reset()
- func (x *Target_Pve_Mission) String() string
- type Target_Pvp
- func (*Target_Pvp) Descriptor() ([]byte, []int)deprecated
- func (x *Target_Pvp) GetDamage() int64
- func (x *Target_Pvp) GetHealth() uint32
- func (x *Target_Pvp) GetType() int32
- func (*Target_Pvp) ProtoMessage()
- func (x *Target_Pvp) ProtoReflect() protoreflect.Message
- func (x *Target_Pvp) Reset()
- func (x *Target_Pvp) String() string
- type Target_Pvp_
- type Target_Type
- func (Target_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Target_Type) Enum() *Target_Type
- func (Target_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Target_Type) Number() protoreflect.EnumNumber
- func (x Target_Type) String() string
- func (Target_Type) Type() protoreflect.EnumType
- type YamlScalarConf
- func (*YamlScalarConf) Descriptor() ([]byte, []int)deprecated
- func (x *YamlScalarConf) GetBlob() []byte
- func (x *YamlScalarConf) GetId() uint32
- func (x *YamlScalarConf) GetName() string
- func (x *YamlScalarConf) GetNum() int32
- func (x *YamlScalarConf) GetOk() bool
- func (x *YamlScalarConf) GetPercentage() float32
- func (x *YamlScalarConf) GetRatio() float64
- func (x *YamlScalarConf) GetValue() uint64
- func (x *YamlScalarConf) GetWeight() int64
- func (*YamlScalarConf) ProtoMessage()
- func (x *YamlScalarConf) ProtoReflect() protoreflect.Message
- func (x *YamlScalarConf) Reset()
- func (x *YamlScalarConf) String() string
Constants ¶
This section is empty.
Variables ¶
var ( FruitType_name = map[int32]string{ 0: "FRUIT_TYPE_UNKNOWN", 1: "FRUIT_TYPE_APPLE", 3: "FRUIT_TYPE_ORANGE", 4: "FRUIT_TYPE_BANANA", } FruitType_value = map[string]int32{ "FRUIT_TYPE_UNKNOWN": 0, "FRUIT_TYPE_APPLE": 1, "FRUIT_TYPE_ORANGE": 3, "FRUIT_TYPE_BANANA": 4, } )
Enum value maps for FruitType.
var ( FruitFlavor_name = map[int32]string{ 0: "FRUIT_FLAVOR_UNKNOWN", 1: "FRUIT_FLAVOR_FRAGRANT", 2: "FRUIT_FLAVOR_SOUR", 3: "FRUIT_FLAVOR_SWEET", } FruitFlavor_value = map[string]int32{ "FRUIT_FLAVOR_UNKNOWN": 0, "FRUIT_FLAVOR_FRAGRANT": 1, "FRUIT_FLAVOR_SOUR": 2, "FRUIT_FLAVOR_SWEET": 3, } )
Enum value maps for FruitFlavor.
var ( Target_Type_name = map[int32]string{ 0: "TYPE_NIL", 1: "TYPE_PVP", 2: "TYPE_PVE", } Target_Type_value = map[string]int32{ "TYPE_NIL": 0, "TYPE_PVP": 1, "TYPE_PVE": 2, } )
Enum value maps for Target_Type.
var File_tableau_protobuf_unittest_common_proto protoreflect.FileDescriptor
var File_tableau_protobuf_unittest_unittest_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FruitFlavor ¶
type FruitFlavor int32
const ( FruitFlavor_FRUIT_FLAVOR_UNKNOWN FruitFlavor = 0 FruitFlavor_FRUIT_FLAVOR_FRAGRANT FruitFlavor = 1 FruitFlavor_FRUIT_FLAVOR_SOUR FruitFlavor = 2 FruitFlavor_FRUIT_FLAVOR_SWEET FruitFlavor = 3 )
func (FruitFlavor) Descriptor ¶
func (FruitFlavor) Descriptor() protoreflect.EnumDescriptor
func (FruitFlavor) Enum ¶
func (x FruitFlavor) Enum() *FruitFlavor
func (FruitFlavor) EnumDescriptor
deprecated
func (FruitFlavor) EnumDescriptor() ([]byte, []int)
Deprecated: Use FruitFlavor.Descriptor instead.
func (FruitFlavor) Number ¶
func (x FruitFlavor) Number() protoreflect.EnumNumber
func (FruitFlavor) String ¶
func (x FruitFlavor) String() string
func (FruitFlavor) Type ¶
func (FruitFlavor) Type() protoreflect.EnumType
type FruitType ¶
type FruitType int32
func (FruitType) Descriptor ¶
func (FruitType) Descriptor() protoreflect.EnumDescriptor
func (FruitType) EnumDescriptor
deprecated
func (FruitType) Number ¶
func (x FruitType) Number() protoreflect.EnumNumber
func (FruitType) Type ¶
func (FruitType) Type() protoreflect.EnumType
type IncellList ¶
type IncellList struct { ValueList []int32 `protobuf:"varint,1,rep,packed,name=value_list,json=valueList,proto3" json:"value_list,omitempty"` FlavorList []FruitFlavor `protobuf:"varint,2,rep,packed,name=flavor_list,json=flavorList,proto3,enum=unittest.FruitFlavor" json:"flavor_list,omitempty"` ItemList []*Item `protobuf:"bytes,3,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` // contains filtered or unexported fields }
func (*IncellList) Descriptor
deprecated
func (*IncellList) Descriptor() ([]byte, []int)
Deprecated: Use IncellList.ProtoReflect.Descriptor instead.
func (*IncellList) GetFlavorList ¶
func (x *IncellList) GetFlavorList() []FruitFlavor
func (*IncellList) GetItemList ¶
func (x *IncellList) GetItemList() []*Item
func (*IncellList) GetValueList ¶
func (x *IncellList) GetValueList() []int32
func (*IncellList) ProtoMessage ¶
func (*IncellList) ProtoMessage()
func (*IncellList) ProtoReflect ¶
func (x *IncellList) ProtoReflect() protoreflect.Message
func (*IncellList) Reset ¶
func (x *IncellList) Reset()
func (*IncellList) String ¶
func (x *IncellList) String() string
type IncellMap ¶
type IncellMap struct { FruitMap map[int32]*IncellMap_Fruit `` /* 174-byte string literal not displayed */ FlavorMap map[int64]FruitFlavor `` /* 204-byte string literal not displayed */ ItemMap map[int32]*IncellMap_Item `` /* 171-byte string literal not displayed */ // contains filtered or unexported fields }
func (*IncellMap) Descriptor
deprecated
func (*IncellMap) GetFlavorMap ¶
func (x *IncellMap) GetFlavorMap() map[int64]FruitFlavor
func (*IncellMap) GetFruitMap ¶
func (x *IncellMap) GetFruitMap() map[int32]*IncellMap_Fruit
func (*IncellMap) GetItemMap ¶
func (x *IncellMap) GetItemMap() map[int32]*IncellMap_Item
func (*IncellMap) ProtoMessage ¶
func (*IncellMap) ProtoMessage()
func (*IncellMap) ProtoReflect ¶
func (x *IncellMap) ProtoReflect() protoreflect.Message
type IncellMap_Fruit ¶
type IncellMap_Fruit struct { Key FruitType `protobuf:"varint,1,opt,name=key,proto3,enum=unittest.FruitType" json:"key,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*IncellMap_Fruit) Descriptor
deprecated
func (*IncellMap_Fruit) Descriptor() ([]byte, []int)
Deprecated: Use IncellMap_Fruit.ProtoReflect.Descriptor instead.
func (*IncellMap_Fruit) GetKey ¶
func (x *IncellMap_Fruit) GetKey() FruitType
func (*IncellMap_Fruit) GetValue ¶
func (x *IncellMap_Fruit) GetValue() int64
func (*IncellMap_Fruit) ProtoMessage ¶
func (*IncellMap_Fruit) ProtoMessage()
func (*IncellMap_Fruit) ProtoReflect ¶
func (x *IncellMap_Fruit) ProtoReflect() protoreflect.Message
func (*IncellMap_Fruit) Reset ¶
func (x *IncellMap_Fruit) Reset()
func (*IncellMap_Fruit) String ¶
func (x *IncellMap_Fruit) String() string
type IncellMap_Item ¶
type IncellMap_Item struct { Key FruitType `protobuf:"varint,1,opt,name=key,proto3,enum=unittest.FruitType" json:"key,omitempty"` Value FruitFlavor `protobuf:"varint,2,opt,name=value,proto3,enum=unittest.FruitFlavor" json:"value,omitempty"` // contains filtered or unexported fields }
func (*IncellMap_Item) Descriptor
deprecated
func (*IncellMap_Item) Descriptor() ([]byte, []int)
Deprecated: Use IncellMap_Item.ProtoReflect.Descriptor instead.
func (*IncellMap_Item) GetKey ¶
func (x *IncellMap_Item) GetKey() FruitType
func (*IncellMap_Item) GetValue ¶
func (x *IncellMap_Item) GetValue() FruitFlavor
func (*IncellMap_Item) ProtoMessage ¶
func (*IncellMap_Item) ProtoMessage()
func (*IncellMap_Item) ProtoReflect ¶
func (x *IncellMap_Item) ProtoReflect() protoreflect.Message
func (*IncellMap_Item) Reset ¶
func (x *IncellMap_Item) Reset()
func (*IncellMap_Item) String ¶
func (x *IncellMap_Item) String() string
type Item ¶
type Item struct { Id uint32 `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) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶
func (x *Item) ProtoReflect() protoreflect.Message
type ItemConf ¶
type ItemConf struct { ItemMap map[uint32]*Item `` /* 171-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ItemConf) Descriptor
deprecated
func (*ItemConf) GetItemMap ¶
func (*ItemConf) ProtoMessage ¶
func (*ItemConf) ProtoMessage()
func (*ItemConf) ProtoReflect ¶
func (x *ItemConf) ProtoReflect() protoreflect.Message
type MallConf ¶
type MallConf struct { ShopMap map[uint32]*MallConf_Shop `` /* 171-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MallConf) Descriptor
deprecated
func (*MallConf) GetShopMap ¶
func (x *MallConf) GetShopMap() map[uint32]*MallConf_Shop
func (*MallConf) ProtoMessage ¶
func (*MallConf) ProtoMessage()
func (*MallConf) ProtoReflect ¶
func (x *MallConf) ProtoReflect() protoreflect.Message
type MallConf_Shop ¶
type MallConf_Shop struct { ShopId uint32 `protobuf:"varint,1,opt,name=shop_id,json=shopId,proto3" json:"shop_id,omitempty"` GoodsMap map[uint32]*MallConf_Shop_Goods `` /* 174-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MallConf_Shop) Descriptor
deprecated
func (*MallConf_Shop) Descriptor() ([]byte, []int)
Deprecated: Use MallConf_Shop.ProtoReflect.Descriptor instead.
func (*MallConf_Shop) GetGoodsMap ¶
func (x *MallConf_Shop) GetGoodsMap() map[uint32]*MallConf_Shop_Goods
func (*MallConf_Shop) GetShopId ¶
func (x *MallConf_Shop) GetShopId() uint32
func (*MallConf_Shop) ProtoMessage ¶
func (*MallConf_Shop) ProtoMessage()
func (*MallConf_Shop) ProtoReflect ¶
func (x *MallConf_Shop) ProtoReflect() protoreflect.Message
func (*MallConf_Shop) Reset ¶
func (x *MallConf_Shop) Reset()
func (*MallConf_Shop) String ¶
func (x *MallConf_Shop) String() string
type MallConf_Shop_Goods ¶
type MallConf_Shop_Goods struct { GoodsId uint32 `protobuf:"varint,1,opt,name=goods_id,json=goodsId,proto3" json:"goods_id,omitempty"` Price int32 `protobuf:"varint,2,opt,name=price,proto3" json:"price,omitempty"` // contains filtered or unexported fields }
func (*MallConf_Shop_Goods) Descriptor
deprecated
func (*MallConf_Shop_Goods) Descriptor() ([]byte, []int)
Deprecated: Use MallConf_Shop_Goods.ProtoReflect.Descriptor instead.
func (*MallConf_Shop_Goods) GetGoodsId ¶
func (x *MallConf_Shop_Goods) GetGoodsId() uint32
func (*MallConf_Shop_Goods) GetPrice ¶
func (x *MallConf_Shop_Goods) GetPrice() int32
func (*MallConf_Shop_Goods) ProtoMessage ¶
func (*MallConf_Shop_Goods) ProtoMessage()
func (*MallConf_Shop_Goods) ProtoReflect ¶
func (x *MallConf_Shop_Goods) ProtoReflect() protoreflect.Message
func (*MallConf_Shop_Goods) Reset ¶
func (x *MallConf_Shop_Goods) Reset()
func (*MallConf_Shop_Goods) String ¶
func (x *MallConf_Shop_Goods) String() string
type PatchMergeConf ¶
type PatchMergeConf struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` PriceList []int32 `protobuf:"varint,2,rep,packed,name=price_list,json=priceList,proto3" json:"price_list,omitempty"` ReplacePriceList []int32 `protobuf:"varint,3,rep,packed,name=replace_price_list,json=replacePriceList,proto3" json:"replace_price_list,omitempty"` ItemMap map[uint32]*Item `` /* 171-byte string literal not displayed */ ReplaceItemMap map[uint32]*Item `` /* 194-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PatchMergeConf) Descriptor
deprecated
func (*PatchMergeConf) Descriptor() ([]byte, []int)
Deprecated: Use PatchMergeConf.ProtoReflect.Descriptor instead.
func (*PatchMergeConf) GetItemMap ¶
func (x *PatchMergeConf) GetItemMap() map[uint32]*Item
func (*PatchMergeConf) GetName ¶
func (x *PatchMergeConf) GetName() string
func (*PatchMergeConf) GetPriceList ¶
func (x *PatchMergeConf) GetPriceList() []int32
func (*PatchMergeConf) GetReplaceItemMap ¶
func (x *PatchMergeConf) GetReplaceItemMap() map[uint32]*Item
func (*PatchMergeConf) GetReplacePriceList ¶
func (x *PatchMergeConf) GetReplacePriceList() []int32
func (*PatchMergeConf) ProtoMessage ¶
func (*PatchMergeConf) ProtoMessage()
func (*PatchMergeConf) ProtoReflect ¶
func (x *PatchMergeConf) ProtoReflect() protoreflect.Message
func (*PatchMergeConf) Reset ¶
func (x *PatchMergeConf) Reset()
func (*PatchMergeConf) String ¶
func (x *PatchMergeConf) String() string
type PatchReplaceConf ¶
type PatchReplaceConf struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` PriceList []int32 `protobuf:"varint,2,rep,packed,name=price_list,json=priceList,proto3" json:"price_list,omitempty"` // contains filtered or unexported fields }
func (*PatchReplaceConf) Descriptor
deprecated
func (*PatchReplaceConf) Descriptor() ([]byte, []int)
Deprecated: Use PatchReplaceConf.ProtoReflect.Descriptor instead.
func (*PatchReplaceConf) GetName ¶
func (x *PatchReplaceConf) GetName() string
func (*PatchReplaceConf) GetPriceList ¶
func (x *PatchReplaceConf) GetPriceList() []int32
func (*PatchReplaceConf) ProtoMessage ¶
func (*PatchReplaceConf) ProtoMessage()
func (*PatchReplaceConf) ProtoReflect ¶
func (x *PatchReplaceConf) ProtoReflect() protoreflect.Message
func (*PatchReplaceConf) Reset ¶
func (x *PatchReplaceConf) Reset()
func (*PatchReplaceConf) String ¶
func (x *PatchReplaceConf) String() string
type RewardConf ¶
type RewardConf struct { RewardMap map[uint32]*RewardConf_Reward `` /* 177-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RewardConf) Descriptor
deprecated
func (*RewardConf) Descriptor() ([]byte, []int)
Deprecated: Use RewardConf.ProtoReflect.Descriptor instead.
func (*RewardConf) GetRewardMap ¶
func (x *RewardConf) GetRewardMap() map[uint32]*RewardConf_Reward
func (*RewardConf) ProtoMessage ¶
func (*RewardConf) ProtoMessage()
func (*RewardConf) ProtoReflect ¶
func (x *RewardConf) ProtoReflect() protoreflect.Message
func (*RewardConf) Reset ¶
func (x *RewardConf) Reset()
func (*RewardConf) String ¶
func (x *RewardConf) String() string
type RewardConf_Reward ¶
type RewardConf_Reward struct { RewardId uint32 `protobuf:"varint,1,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` ItemMap map[uint32]*Item `` /* 171-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RewardConf_Reward) Descriptor
deprecated
func (*RewardConf_Reward) Descriptor() ([]byte, []int)
Deprecated: Use RewardConf_Reward.ProtoReflect.Descriptor instead.
func (*RewardConf_Reward) GetItemMap ¶
func (x *RewardConf_Reward) GetItemMap() map[uint32]*Item
func (*RewardConf_Reward) GetRewardId ¶
func (x *RewardConf_Reward) GetRewardId() uint32
func (*RewardConf_Reward) ProtoMessage ¶
func (*RewardConf_Reward) ProtoMessage()
func (*RewardConf_Reward) ProtoReflect ¶
func (x *RewardConf_Reward) ProtoReflect() protoreflect.Message
func (*RewardConf_Reward) Reset ¶
func (x *RewardConf_Reward) Reset()
func (*RewardConf_Reward) String ¶
func (x *RewardConf_Reward) String() string
type Target ¶
type Target struct { Type Target_Type `protobuf:"varint,9999,opt,name=type,proto3,enum=unittest.Target_Type" json:"type,omitempty"` // Types that are assignable to Value: // // *Target_Pvp_ // *Target_Pve_ Value isTarget_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Target) Descriptor
deprecated
func (*Target) GetPve ¶
func (x *Target) GetPve() *Target_Pve
func (*Target) GetPvp ¶
func (x *Target) GetPvp() *Target_Pvp
func (*Target) GetType ¶
func (x *Target) GetType() Target_Type
func (*Target) ProtoMessage ¶
func (*Target) ProtoMessage()
func (*Target) ProtoReflect ¶
func (x *Target) ProtoReflect() protoreflect.Message
type Target_Pve ¶
type Target_Pve struct { Mission *Target_Pve_Mission `protobuf:"bytes,1,opt,name=mission,proto3" json:"mission,omitempty"` // incell struct Heros []int32 `protobuf:"varint,2,rep,packed,name=heros,proto3" json:"heros,omitempty"` // incell list Dungeons map[int32]int64 `` // incell map /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Target_Pve) Descriptor
deprecated
func (*Target_Pve) Descriptor() ([]byte, []int)
Deprecated: Use Target_Pve.ProtoReflect.Descriptor instead.
func (*Target_Pve) GetDungeons ¶
func (x *Target_Pve) GetDungeons() map[int32]int64
func (*Target_Pve) GetHeros ¶
func (x *Target_Pve) GetHeros() []int32
func (*Target_Pve) GetMission ¶
func (x *Target_Pve) GetMission() *Target_Pve_Mission
func (*Target_Pve) ProtoMessage ¶
func (*Target_Pve) ProtoMessage()
func (*Target_Pve) ProtoReflect ¶
func (x *Target_Pve) ProtoReflect() protoreflect.Message
func (*Target_Pve) Reset ¶
func (x *Target_Pve) Reset()
func (*Target_Pve) String ¶
func (x *Target_Pve) String() string
type Target_Pve_ ¶
type Target_Pve_ struct {
Pve *Target_Pve `protobuf:"bytes,2,opt,name=pve,proto3,oneof"` // Bound to enum value: TYPE_PVP.
}
type Target_Pve_Mission ¶
type Target_Pve_Mission struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Level uint32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"` Damage int64 `protobuf:"varint,3,opt,name=damage,proto3" json:"damage,omitempty"` // contains filtered or unexported fields }
func (*Target_Pve_Mission) Descriptor
deprecated
func (*Target_Pve_Mission) Descriptor() ([]byte, []int)
Deprecated: Use Target_Pve_Mission.ProtoReflect.Descriptor instead.
func (*Target_Pve_Mission) GetDamage ¶
func (x *Target_Pve_Mission) GetDamage() int64
func (*Target_Pve_Mission) GetId ¶
func (x *Target_Pve_Mission) GetId() int32
func (*Target_Pve_Mission) GetLevel ¶
func (x *Target_Pve_Mission) GetLevel() uint32
func (*Target_Pve_Mission) ProtoMessage ¶
func (*Target_Pve_Mission) ProtoMessage()
func (*Target_Pve_Mission) ProtoReflect ¶
func (x *Target_Pve_Mission) ProtoReflect() protoreflect.Message
func (*Target_Pve_Mission) Reset ¶
func (x *Target_Pve_Mission) Reset()
func (*Target_Pve_Mission) String ¶
func (x *Target_Pve_Mission) String() string
type Target_Pvp ¶
type Target_Pvp struct { Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Health uint32 `protobuf:"varint,2,opt,name=health,proto3" json:"health,omitempty"` Damage int64 `protobuf:"varint,3,opt,name=damage,proto3" json:"damage,omitempty"` // contains filtered or unexported fields }
func (*Target_Pvp) Descriptor
deprecated
func (*Target_Pvp) Descriptor() ([]byte, []int)
Deprecated: Use Target_Pvp.ProtoReflect.Descriptor instead.
func (*Target_Pvp) GetDamage ¶
func (x *Target_Pvp) GetDamage() int64
func (*Target_Pvp) GetHealth ¶
func (x *Target_Pvp) GetHealth() uint32
func (*Target_Pvp) GetType ¶
func (x *Target_Pvp) GetType() int32
func (*Target_Pvp) ProtoMessage ¶
func (*Target_Pvp) ProtoMessage()
func (*Target_Pvp) ProtoReflect ¶
func (x *Target_Pvp) ProtoReflect() protoreflect.Message
func (*Target_Pvp) Reset ¶
func (x *Target_Pvp) Reset()
func (*Target_Pvp) String ¶
func (x *Target_Pvp) String() string
type Target_Pvp_ ¶
type Target_Pvp_ struct {
Pvp *Target_Pvp `protobuf:"bytes,1,opt,name=pvp,proto3,oneof"` // Bound to enum value: TYPE_PVP.
}
type Target_Type ¶
type Target_Type int32
const ( Target_TYPE_NIL Target_Type = 0 Target_TYPE_PVP Target_Type = 1 Target_TYPE_PVE Target_Type = 2 )
func (Target_Type) Descriptor ¶
func (Target_Type) Descriptor() protoreflect.EnumDescriptor
func (Target_Type) Enum ¶
func (x Target_Type) Enum() *Target_Type
func (Target_Type) EnumDescriptor
deprecated
func (Target_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Target_Type.Descriptor instead.
func (Target_Type) Number ¶
func (x Target_Type) Number() protoreflect.EnumNumber
func (Target_Type) String ¶
func (x Target_Type) String() string
func (Target_Type) Type ¶
func (Target_Type) Type() protoreflect.EnumType
type YamlScalarConf ¶
type YamlScalarConf struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Num int32 `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"` Value uint64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` Weight int64 `protobuf:"varint,4,opt,name=weight,proto3" json:"weight,omitempty"` Percentage float32 `protobuf:"fixed32,5,opt,name=percentage,proto3" json:"percentage,omitempty"` Ratio float64 `protobuf:"fixed64,6,opt,name=ratio,proto3" json:"ratio,omitempty"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` Blob []byte `protobuf:"bytes,8,opt,name=blob,proto3" json:"blob,omitempty"` Ok bool `protobuf:"varint,9,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*YamlScalarConf) Descriptor
deprecated
func (*YamlScalarConf) Descriptor() ([]byte, []int)
Deprecated: Use YamlScalarConf.ProtoReflect.Descriptor instead.
func (*YamlScalarConf) GetBlob ¶
func (x *YamlScalarConf) GetBlob() []byte
func (*YamlScalarConf) GetId ¶
func (x *YamlScalarConf) GetId() uint32
func (*YamlScalarConf) GetName ¶
func (x *YamlScalarConf) GetName() string
func (*YamlScalarConf) GetNum ¶
func (x *YamlScalarConf) GetNum() int32
func (*YamlScalarConf) GetOk ¶
func (x *YamlScalarConf) GetOk() bool
func (*YamlScalarConf) GetPercentage ¶
func (x *YamlScalarConf) GetPercentage() float32
func (*YamlScalarConf) GetRatio ¶
func (x *YamlScalarConf) GetRatio() float64
func (*YamlScalarConf) GetValue ¶
func (x *YamlScalarConf) GetValue() uint64
func (*YamlScalarConf) GetWeight ¶
func (x *YamlScalarConf) GetWeight() int64
func (*YamlScalarConf) ProtoMessage ¶
func (*YamlScalarConf) ProtoMessage()
func (*YamlScalarConf) ProtoReflect ¶
func (x *YamlScalarConf) ProtoReflect() protoreflect.Message
func (*YamlScalarConf) Reset ¶
func (x *YamlScalarConf) Reset()
func (*YamlScalarConf) String ¶
func (x *YamlScalarConf) String() string