Files
bd2/go/gen/state/v1/state.pb.go
T
2026-09-21 09:53:46 +08:00

3225 lines
98 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.12
// protoc v7.36.0
// source: bd2/state/v1/state.proto
package statev1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Frozen bridge DTO for the nine existing JSON persistence files. Version 1
// describes today's save; changes require state/v2, never editing old tags.
type Snapshot struct {
state protoimpl.MessageState `protogen:"open.v1"`
FormatVersion uint32 `protobuf:"varint,1,opt,name=format_version,json=formatVersion,proto3" json:"format_version,omitempty"`
ClientVersion string `protobuf:"bytes,2,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
GameDataVersion string `protobuf:"bytes,3,opt,name=game_data_version,json=gameDataVersion,proto3" json:"game_data_version,omitempty"`
Progress *Progress `protobuf:"bytes,10,opt,name=progress,proto3" json:"progress,omitempty"`
Deck *Deck `protobuf:"bytes,11,opt,name=deck,proto3" json:"deck,omitempty"`
Inventory *Inventory `protobuf:"bytes,12,opt,name=inventory,proto3" json:"inventory,omitempty"`
Equipment *EquipmentInventory `protobuf:"bytes,13,opt,name=equipment,proto3" json:"equipment,omitempty"`
Characters *CharacterState `protobuf:"bytes,14,opt,name=characters,proto3" json:"characters,omitempty"`
Collection *Collection `protobuf:"bytes,15,opt,name=collection,proto3" json:"collection,omitempty"`
Wallet *Wallet `protobuf:"bytes,16,opt,name=wallet,proto3" json:"wallet,omitempty"`
Mail *MailState `protobuf:"bytes,17,opt,name=mail,proto3" json:"mail,omitempty"`
Missions *MissionState `protobuf:"bytes,18,opt,name=missions,proto3" json:"missions,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Snapshot) Reset() {
*x = Snapshot{}
mi := &file_bd2_state_v1_state_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Snapshot) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Snapshot) ProtoMessage() {}
func (x *Snapshot) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Snapshot.ProtoReflect.Descriptor instead.
func (*Snapshot) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{0}
}
func (x *Snapshot) GetFormatVersion() uint32 {
if x != nil {
return x.FormatVersion
}
return 0
}
func (x *Snapshot) GetClientVersion() string {
if x != nil {
return x.ClientVersion
}
return ""
}
func (x *Snapshot) GetGameDataVersion() string {
if x != nil {
return x.GameDataVersion
}
return ""
}
func (x *Snapshot) GetProgress() *Progress {
if x != nil {
return x.Progress
}
return nil
}
func (x *Snapshot) GetDeck() *Deck {
if x != nil {
return x.Deck
}
return nil
}
func (x *Snapshot) GetInventory() *Inventory {
if x != nil {
return x.Inventory
}
return nil
}
func (x *Snapshot) GetEquipment() *EquipmentInventory {
if x != nil {
return x.Equipment
}
return nil
}
func (x *Snapshot) GetCharacters() *CharacterState {
if x != nil {
return x.Characters
}
return nil
}
func (x *Snapshot) GetCollection() *Collection {
if x != nil {
return x.Collection
}
return nil
}
func (x *Snapshot) GetWallet() *Wallet {
if x != nil {
return x.Wallet
}
return nil
}
func (x *Snapshot) GetMail() *MailState {
if x != nil {
return x.Mail
}
return nil
}
func (x *Snapshot) GetMissions() *MissionState {
if x != nil {
return x.Missions
}
return nil
}
type QuestKey struct {
state protoimpl.MessageState `protogen:"open.v1"`
PackId uint32 `protobuf:"varint,1,opt,name=pack_id,json=packId,proto3" json:"pack_id,omitempty"`
QuestId uint32 `protobuf:"varint,2,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *QuestKey) Reset() {
*x = QuestKey{}
mi := &file_bd2_state_v1_state_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *QuestKey) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QuestKey) ProtoMessage() {}
func (x *QuestKey) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use QuestKey.ProtoReflect.Descriptor instead.
func (*QuestKey) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{1}
}
func (x *QuestKey) GetPackId() uint32 {
if x != nil {
return x.PackId
}
return 0
}
func (x *QuestKey) GetQuestId() uint32 {
if x != nil {
return x.QuestId
}
return 0
}
type Vector3 struct {
state protoimpl.MessageState `protogen:"open.v1"`
X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"`
Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"`
Z float64 `protobuf:"fixed64,3,opt,name=z,proto3" json:"z,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Vector3) Reset() {
*x = Vector3{}
mi := &file_bd2_state_v1_state_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Vector3) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Vector3) ProtoMessage() {}
func (x *Vector3) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Vector3.ProtoReflect.Descriptor instead.
func (*Vector3) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{2}
}
func (x *Vector3) GetX() float64 {
if x != nil {
return x.X
}
return 0
}
func (x *Vector3) GetY() float64 {
if x != nil {
return x.Y
}
return 0
}
func (x *Vector3) GetZ() float64 {
if x != nil {
return x.Z
}
return 0
}
type Position struct {
state protoimpl.MessageState `protogen:"open.v1"`
PackId uint32 `protobuf:"varint,1,opt,name=pack_id,json=packId,proto3" json:"pack_id,omitempty"`
MapId uint32 `protobuf:"varint,2,opt,name=map_id,json=mapId,proto3" json:"map_id,omitempty"`
Player *Vector3 `protobuf:"bytes,3,opt,name=player,proto3" json:"player,omitempty"`
// Client JSON must be echoed without accidental normalization.
OriginalJson []byte `protobuf:"bytes,10,opt,name=original_json,json=originalJson,proto3" json:"original_json,omitempty"`
ColleaguePositionsJson []byte `protobuf:"bytes,11,opt,name=colleague_positions_json,json=colleaguePositionsJson,proto3" json:"colleague_positions_json,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Position) Reset() {
*x = Position{}
mi := &file_bd2_state_v1_state_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Position) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Position) ProtoMessage() {}
func (x *Position) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Position.ProtoReflect.Descriptor instead.
func (*Position) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{3}
}
func (x *Position) GetPackId() uint32 {
if x != nil {
return x.PackId
}
return 0
}
func (x *Position) GetMapId() uint32 {
if x != nil {
return x.MapId
}
return 0
}
func (x *Position) GetPlayer() *Vector3 {
if x != nil {
return x.Player
}
return nil
}
func (x *Position) GetOriginalJson() []byte {
if x != nil {
return x.OriginalJson
}
return nil
}
func (x *Position) GetColleaguePositionsJson() []byte {
if x != nil {
return x.ColleaguePositionsJson
}
return nil
}
type QuestProgress struct {
state protoimpl.MessageState `protogen:"open.v1"`
Key *QuestKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Values []uint32 `protobuf:"varint,2,rep,packed,name=values,proto3" json:"values,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *QuestProgress) Reset() {
*x = QuestProgress{}
mi := &file_bd2_state_v1_state_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *QuestProgress) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QuestProgress) ProtoMessage() {}
func (x *QuestProgress) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use QuestProgress.ProtoReflect.Descriptor instead.
func (*QuestProgress) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{4}
}
func (x *QuestProgress) GetKey() *QuestKey {
if x != nil {
return x.Key
}
return nil
}
func (x *QuestProgress) GetValues() []uint32 {
if x != nil {
return x.Values
}
return nil
}
type Progress struct {
state protoimpl.MessageState `protogen:"open.v1"`
SourceFormatVersion uint32 `protobuf:"varint,1,opt,name=source_format_version,json=sourceFormatVersion,proto3" json:"source_format_version,omitempty"`
Position *Position `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
ClearedTutorialIds []uint32 `protobuf:"varint,3,rep,packed,name=cleared_tutorial_ids,json=clearedTutorialIds,proto3" json:"cleared_tutorial_ids,omitempty"`
Quests []*QuestProgress `protobuf:"bytes,4,rep,name=quests,proto3" json:"quests,omitempty"`
ClearedQuests []*QuestKey `protobuf:"bytes,5,rep,name=cleared_quests,json=clearedQuests,proto3" json:"cleared_quests,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Progress) Reset() {
*x = Progress{}
mi := &file_bd2_state_v1_state_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Progress) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Progress) ProtoMessage() {}
func (x *Progress) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Progress.ProtoReflect.Descriptor instead.
func (*Progress) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{5}
}
func (x *Progress) GetSourceFormatVersion() uint32 {
if x != nil {
return x.SourceFormatVersion
}
return 0
}
func (x *Progress) GetPosition() *Position {
if x != nil {
return x.Position
}
return nil
}
func (x *Progress) GetClearedTutorialIds() []uint32 {
if x != nil {
return x.ClearedTutorialIds
}
return nil
}
func (x *Progress) GetQuests() []*QuestProgress {
if x != nil {
return x.Quests
}
return nil
}
func (x *Progress) GetClearedQuests() []*QuestKey {
if x != nil {
return x.ClearedQuests
}
return nil
}
type DeckSlot struct {
state protoimpl.MessageState `protogen:"open.v1"`
CharacterIndex uint64 `protobuf:"varint,1,opt,name=character_index,json=characterIndex,proto3" json:"character_index,omitempty"`
CostumeIndex uint64 `protobuf:"varint,2,opt,name=costume_index,json=costumeIndex,proto3" json:"costume_index,omitempty"`
Slot uint64 `protobuf:"varint,3,opt,name=slot,proto3" json:"slot,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeckSlot) Reset() {
*x = DeckSlot{}
mi := &file_bd2_state_v1_state_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeckSlot) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeckSlot) ProtoMessage() {}
func (x *DeckSlot) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeckSlot.ProtoReflect.Descriptor instead.
func (*DeckSlot) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{6}
}
func (x *DeckSlot) GetCharacterIndex() uint64 {
if x != nil {
return x.CharacterIndex
}
return 0
}
func (x *DeckSlot) GetCostumeIndex() uint64 {
if x != nil {
return x.CostumeIndex
}
return 0
}
func (x *DeckSlot) GetSlot() uint64 {
if x != nil {
return x.Slot
}
return 0
}
type Pair struct {
state protoimpl.MessageState `protogen:"open.v1"`
Key uint64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Pair) Reset() {
*x = Pair{}
mi := &file_bd2_state_v1_state_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Pair) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Pair) ProtoMessage() {}
func (x *Pair) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Pair.ProtoReflect.Descriptor instead.
func (*Pair) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{7}
}
func (x *Pair) GetKey() uint64 {
if x != nil {
return x.Key
}
return 0
}
func (x *Pair) GetValue() uint64 {
if x != nil {
return x.Value
}
return 0
}
type Deck struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClientVersion string `protobuf:"bytes,1,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
Battle []*DeckSlot `protobuf:"bytes,2,rep,name=battle,proto3" json:"battle,omitempty"`
Field []*DeckSlot `protobuf:"bytes,3,rep,name=field,proto3" json:"field,omitempty"`
FieldControlType uint64 `protobuf:"varint,4,opt,name=field_control_type,json=fieldControlType,proto3" json:"field_control_type,omitempty"`
Waypoints []*Pair `protobuf:"bytes,5,rep,name=waypoints,proto3" json:"waypoints,omitempty"`
SelectedCostumes []*Pair `protobuf:"bytes,6,rep,name=selected_costumes,json=selectedCostumes,proto3" json:"selected_costumes,omitempty"`
BoughtPacks []*Pair `protobuf:"bytes,7,rep,name=bought_packs,json=boughtPacks,proto3" json:"bought_packs,omitempty"`
HighestBattlePower uint64 `protobuf:"varint,8,opt,name=highest_battle_power,json=highestBattlePower,proto3" json:"highest_battle_power,omitempty"`
PortraitCostumeId uint64 `protobuf:"varint,9,opt,name=portrait_costume_id,json=portraitCostumeId,proto3" json:"portrait_costume_id,omitempty"`
AutoReviveCatalyst uint64 `protobuf:"varint,10,opt,name=auto_revive_catalyst,json=autoReviveCatalyst,proto3" json:"auto_revive_catalyst,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Deck) Reset() {
*x = Deck{}
mi := &file_bd2_state_v1_state_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Deck) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Deck) ProtoMessage() {}
func (x *Deck) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Deck.ProtoReflect.Descriptor instead.
func (*Deck) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{8}
}
func (x *Deck) GetClientVersion() string {
if x != nil {
return x.ClientVersion
}
return ""
}
func (x *Deck) GetBattle() []*DeckSlot {
if x != nil {
return x.Battle
}
return nil
}
func (x *Deck) GetField() []*DeckSlot {
if x != nil {
return x.Field
}
return nil
}
func (x *Deck) GetFieldControlType() uint64 {
if x != nil {
return x.FieldControlType
}
return 0
}
func (x *Deck) GetWaypoints() []*Pair {
if x != nil {
return x.Waypoints
}
return nil
}
func (x *Deck) GetSelectedCostumes() []*Pair {
if x != nil {
return x.SelectedCostumes
}
return nil
}
func (x *Deck) GetBoughtPacks() []*Pair {
if x != nil {
return x.BoughtPacks
}
return nil
}
func (x *Deck) GetHighestBattlePower() uint64 {
if x != nil {
return x.HighestBattlePower
}
return 0
}
func (x *Deck) GetPortraitCostumeId() uint64 {
if x != nil {
return x.PortraitCostumeId
}
return 0
}
func (x *Deck) GetAutoReviveCatalyst() uint64 {
if x != nil {
return x.AutoReviveCatalyst
}
return 0
}
type Pictorial struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
GroupId uint64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Pictorial) Reset() {
*x = Pictorial{}
mi := &file_bd2_state_v1_state_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Pictorial) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Pictorial) ProtoMessage() {}
func (x *Pictorial) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Pictorial.ProtoReflect.Descriptor instead.
func (*Pictorial) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{9}
}
func (x *Pictorial) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
func (x *Pictorial) GetGroupId() uint64 {
if x != nil {
return x.GroupId
}
return 0
}
type Item struct {
state protoimpl.MessageState `protogen:"open.v1"`
InventoryIndex uint64 `protobuf:"varint,1,opt,name=inventory_index,json=inventoryIndex,proto3" json:"inventory_index,omitempty"`
Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
Type uint64 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
Count uint64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
KeepFlag uint64 `protobuf:"varint,5,opt,name=keep_flag,json=keepFlag,proto3" json:"keep_flag,omitempty"`
TimeValue uint64 `protobuf:"varint,6,opt,name=time_value,json=timeValue,proto3" json:"time_value,omitempty"`
Pictorial *Pictorial `protobuf:"bytes,7,opt,name=pictorial,proto3" json:"pictorial,omitempty"`
SortId uint64 `protobuf:"varint,8,opt,name=sort_id,json=sortId,proto3" json:"sort_id,omitempty"`
UseCount uint64 `protobuf:"varint,9,opt,name=use_count,json=useCount,proto3" json:"use_count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Item) Reset() {
*x = Item{}
mi := &file_bd2_state_v1_state_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Item) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Item) ProtoMessage() {}
func (x *Item) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Item.ProtoReflect.Descriptor instead.
func (*Item) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{10}
}
func (x *Item) GetInventoryIndex() uint64 {
if x != nil {
return x.InventoryIndex
}
return 0
}
func (x *Item) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
func (x *Item) GetType() uint64 {
if x != nil {
return x.Type
}
return 0
}
func (x *Item) GetCount() uint64 {
if x != nil {
return x.Count
}
return 0
}
func (x *Item) GetKeepFlag() uint64 {
if x != nil {
return x.KeepFlag
}
return 0
}
func (x *Item) GetTimeValue() uint64 {
if x != nil {
return x.TimeValue
}
return 0
}
func (x *Item) GetPictorial() *Pictorial {
if x != nil {
return x.Pictorial
}
return nil
}
func (x *Item) GetSortId() uint64 {
if x != nil {
return x.SortId
}
return 0
}
func (x *Item) GetUseCount() uint64 {
if x != nil {
return x.UseCount
}
return 0
}
type IndexedGrant struct {
state protoimpl.MessageState `protogen:"open.v1"`
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
InventoryIndices []uint64 `protobuf:"varint,2,rep,packed,name=inventory_indices,json=inventoryIndices,proto3" json:"inventory_indices,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IndexedGrant) Reset() {
*x = IndexedGrant{}
mi := &file_bd2_state_v1_state_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IndexedGrant) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IndexedGrant) ProtoMessage() {}
func (x *IndexedGrant) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use IndexedGrant.ProtoReflect.Descriptor instead.
func (*IndexedGrant) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{11}
}
func (x *IndexedGrant) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *IndexedGrant) GetInventoryIndices() []uint64 {
if x != nil {
return x.InventoryIndices
}
return nil
}
type Inventory struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClientVersion string `protobuf:"bytes,1,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
NextIndex uint64 `protobuf:"varint,2,opt,name=next_index,json=nextIndex,proto3" json:"next_index,omitempty"`
Items []*Item `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
GrantedIdentities []string `protobuf:"bytes,4,rep,name=granted_identities,json=grantedIdentities,proto3" json:"granted_identities,omitempty"`
GrantItems []*IndexedGrant `protobuf:"bytes,5,rep,name=grant_items,json=grantItems,proto3" json:"grant_items,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Inventory) Reset() {
*x = Inventory{}
mi := &file_bd2_state_v1_state_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Inventory) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Inventory) ProtoMessage() {}
func (x *Inventory) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Inventory.ProtoReflect.Descriptor instead.
func (*Inventory) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{12}
}
func (x *Inventory) GetClientVersion() string {
if x != nil {
return x.ClientVersion
}
return ""
}
func (x *Inventory) GetNextIndex() uint64 {
if x != nil {
return x.NextIndex
}
return 0
}
func (x *Inventory) GetItems() []*Item {
if x != nil {
return x.Items
}
return nil
}
func (x *Inventory) GetGrantedIdentities() []string {
if x != nil {
return x.GrantedIdentities
}
return nil
}
func (x *Inventory) GetGrantItems() []*IndexedGrant {
if x != nil {
return x.GrantItems
}
return nil
}
type EquipmentOption struct {
state protoimpl.MessageState `protogen:"open.v1"`
GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EquipmentOption) Reset() {
*x = EquipmentOption{}
mi := &file_bd2_state_v1_state_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EquipmentOption) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EquipmentOption) ProtoMessage() {}
func (x *EquipmentOption) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EquipmentOption.ProtoReflect.Descriptor instead.
func (*EquipmentOption) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{13}
}
func (x *EquipmentOption) GetGroupId() uint64 {
if x != nil {
return x.GroupId
}
return 0
}
func (x *EquipmentOption) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
type Equipment struct {
state protoimpl.MessageState `protogen:"open.v1"`
InventoryIndex uint64 `protobuf:"varint,1,opt,name=inventory_index,json=inventoryIndex,proto3" json:"inventory_index,omitempty"`
Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
Level uint64 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
UseChar uint64 `protobuf:"varint,4,opt,name=use_char,json=useChar,proto3" json:"use_char,omitempty"`
KeepFlag uint64 `protobuf:"varint,5,opt,name=keep_flag,json=keepFlag,proto3" json:"keep_flag,omitempty"`
LockFlag uint64 `protobuf:"varint,6,opt,name=lock_flag,json=lockFlag,proto3" json:"lock_flag,omitempty"`
SortId uint64 `protobuf:"varint,7,opt,name=sort_id,json=sortId,proto3" json:"sort_id,omitempty"`
MainOptions []*EquipmentOption `protobuf:"bytes,8,rep,name=main_options,json=mainOptions,proto3" json:"main_options,omitempty"`
SubOptions []*EquipmentOption `protobuf:"bytes,9,rep,name=sub_options,json=subOptions,proto3" json:"sub_options,omitempty"`
PrivateOption *EquipmentOption `protobuf:"bytes,10,opt,name=private_option,json=privateOption,proto3" json:"private_option,omitempty"`
Ranks []uint64 `protobuf:"varint,11,rep,packed,name=ranks,proto3" json:"ranks,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Equipment) Reset() {
*x = Equipment{}
mi := &file_bd2_state_v1_state_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Equipment) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Equipment) ProtoMessage() {}
func (x *Equipment) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Equipment.ProtoReflect.Descriptor instead.
func (*Equipment) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{14}
}
func (x *Equipment) GetInventoryIndex() uint64 {
if x != nil {
return x.InventoryIndex
}
return 0
}
func (x *Equipment) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
func (x *Equipment) GetLevel() uint64 {
if x != nil {
return x.Level
}
return 0
}
func (x *Equipment) GetUseChar() uint64 {
if x != nil {
return x.UseChar
}
return 0
}
func (x *Equipment) GetKeepFlag() uint64 {
if x != nil {
return x.KeepFlag
}
return 0
}
func (x *Equipment) GetLockFlag() uint64 {
if x != nil {
return x.LockFlag
}
return 0
}
func (x *Equipment) GetSortId() uint64 {
if x != nil {
return x.SortId
}
return 0
}
func (x *Equipment) GetMainOptions() []*EquipmentOption {
if x != nil {
return x.MainOptions
}
return nil
}
func (x *Equipment) GetSubOptions() []*EquipmentOption {
if x != nil {
return x.SubOptions
}
return nil
}
func (x *Equipment) GetPrivateOption() *EquipmentOption {
if x != nil {
return x.PrivateOption
}
return nil
}
func (x *Equipment) GetRanks() []uint64 {
if x != nil {
return x.Ranks
}
return nil
}
type NamedIndex struct {
state protoimpl.MessageState `protogen:"open.v1"`
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
InventoryIndex uint64 `protobuf:"varint,2,opt,name=inventory_index,json=inventoryIndex,proto3" json:"inventory_index,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NamedIndex) Reset() {
*x = NamedIndex{}
mi := &file_bd2_state_v1_state_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NamedIndex) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NamedIndex) ProtoMessage() {}
func (x *NamedIndex) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NamedIndex.ProtoReflect.Descriptor instead.
func (*NamedIndex) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{15}
}
func (x *NamedIndex) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *NamedIndex) GetInventoryIndex() uint64 {
if x != nil {
return x.InventoryIndex
}
return 0
}
type EquipmentInventory struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClientVersion string `protobuf:"bytes,1,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
NextIndex uint64 `protobuf:"varint,2,opt,name=next_index,json=nextIndex,proto3" json:"next_index,omitempty"`
Equipment []*Equipment `protobuf:"bytes,3,rep,name=equipment,proto3" json:"equipment,omitempty"`
Grants []*NamedIndex `protobuf:"bytes,4,rep,name=grants,proto3" json:"grants,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EquipmentInventory) Reset() {
*x = EquipmentInventory{}
mi := &file_bd2_state_v1_state_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EquipmentInventory) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EquipmentInventory) ProtoMessage() {}
func (x *EquipmentInventory) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EquipmentInventory.ProtoReflect.Descriptor instead.
func (*EquipmentInventory) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{16}
}
func (x *EquipmentInventory) GetClientVersion() string {
if x != nil {
return x.ClientVersion
}
return ""
}
func (x *EquipmentInventory) GetNextIndex() uint64 {
if x != nil {
return x.NextIndex
}
return 0
}
func (x *EquipmentInventory) GetEquipment() []*Equipment {
if x != nil {
return x.Equipment
}
return nil
}
func (x *EquipmentInventory) GetGrants() []*NamedIndex {
if x != nil {
return x.Grants
}
return nil
}
type Character struct {
state protoimpl.MessageState `protogen:"open.v1"`
InventoryIndex uint64 `protobuf:"varint,1,opt,name=inventory_index,json=inventoryIndex,proto3" json:"inventory_index,omitempty"`
Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
Hp uint64 `protobuf:"varint,3,opt,name=hp,proto3" json:"hp,omitempty"`
Level uint64 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
CostumeId uint64 `protobuf:"varint,5,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"`
Exp uint64 `protobuf:"varint,6,opt,name=exp,proto3" json:"exp,omitempty"`
UseCostume uint64 `protobuf:"varint,7,opt,name=use_costume,json=useCostume,proto3" json:"use_costume,omitempty"`
TalentLevel uint64 `protobuf:"varint,8,opt,name=talent_level,json=talentLevel,proto3" json:"talent_level,omitempty"`
TalentExp uint64 `protobuf:"varint,9,opt,name=talent_exp,json=talentExp,proto3" json:"talent_exp,omitempty"`
SolidarityReward uint64 `protobuf:"varint,10,opt,name=solidarity_reward,json=solidarityReward,proto3" json:"solidarity_reward,omitempty"`
ExpiryTime uint64 `protobuf:"varint,11,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"`
ConnectPotentialCostume uint64 `protobuf:"varint,12,opt,name=connect_potential_costume,json=connectPotentialCostume,proto3" json:"connect_potential_costume,omitempty"`
Pictorial []*Pictorial `protobuf:"bytes,13,rep,name=pictorial,proto3" json:"pictorial,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Character) Reset() {
*x = Character{}
mi := &file_bd2_state_v1_state_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Character) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Character) ProtoMessage() {}
func (x *Character) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Character.ProtoReflect.Descriptor instead.
func (*Character) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{17}
}
func (x *Character) GetInventoryIndex() uint64 {
if x != nil {
return x.InventoryIndex
}
return 0
}
func (x *Character) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
func (x *Character) GetHp() uint64 {
if x != nil {
return x.Hp
}
return 0
}
func (x *Character) GetLevel() uint64 {
if x != nil {
return x.Level
}
return 0
}
func (x *Character) GetCostumeId() uint64 {
if x != nil {
return x.CostumeId
}
return 0
}
func (x *Character) GetExp() uint64 {
if x != nil {
return x.Exp
}
return 0
}
func (x *Character) GetUseCostume() uint64 {
if x != nil {
return x.UseCostume
}
return 0
}
func (x *Character) GetTalentLevel() uint64 {
if x != nil {
return x.TalentLevel
}
return 0
}
func (x *Character) GetTalentExp() uint64 {
if x != nil {
return x.TalentExp
}
return 0
}
func (x *Character) GetSolidarityReward() uint64 {
if x != nil {
return x.SolidarityReward
}
return 0
}
func (x *Character) GetExpiryTime() uint64 {
if x != nil {
return x.ExpiryTime
}
return 0
}
func (x *Character) GetConnectPotentialCostume() uint64 {
if x != nil {
return x.ConnectPotentialCostume
}
return 0
}
func (x *Character) GetPictorial() []*Pictorial {
if x != nil {
return x.Pictorial
}
return nil
}
type Costume struct {
state protoimpl.MessageState `protogen:"open.v1"`
InventoryIndex uint64 `protobuf:"varint,1,opt,name=inventory_index,json=inventoryIndex,proto3" json:"inventory_index,omitempty"`
Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
Level uint64 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
UseChar uint64 `protobuf:"varint,4,opt,name=use_char,json=useChar,proto3" json:"use_char,omitempty"`
SortId uint64 `protobuf:"varint,5,opt,name=sort_id,json=sortId,proto3" json:"sort_id,omitempty"`
PotentialId uint64 `protobuf:"varint,6,opt,name=potential_id,json=potentialId,proto3" json:"potential_id,omitempty"`
DesignId uint64 `protobuf:"varint,7,opt,name=design_id,json=designId,proto3" json:"design_id,omitempty"`
BurstLevel uint64 `protobuf:"varint,8,opt,name=burst_level,json=burstLevel,proto3" json:"burst_level,omitempty"`
TimeValue uint64 `protobuf:"varint,9,opt,name=time_value,json=timeValue,proto3" json:"time_value,omitempty"`
Pictorial []*Pictorial `protobuf:"bytes,10,rep,name=pictorial,proto3" json:"pictorial,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Costume) Reset() {
*x = Costume{}
mi := &file_bd2_state_v1_state_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Costume) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Costume) ProtoMessage() {}
func (x *Costume) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Costume.ProtoReflect.Descriptor instead.
func (*Costume) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{18}
}
func (x *Costume) GetInventoryIndex() uint64 {
if x != nil {
return x.InventoryIndex
}
return 0
}
func (x *Costume) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
func (x *Costume) GetLevel() uint64 {
if x != nil {
return x.Level
}
return 0
}
func (x *Costume) GetUseChar() uint64 {
if x != nil {
return x.UseChar
}
return 0
}
func (x *Costume) GetSortId() uint64 {
if x != nil {
return x.SortId
}
return 0
}
func (x *Costume) GetPotentialId() uint64 {
if x != nil {
return x.PotentialId
}
return 0
}
func (x *Costume) GetDesignId() uint64 {
if x != nil {
return x.DesignId
}
return 0
}
func (x *Costume) GetBurstLevel() uint64 {
if x != nil {
return x.BurstLevel
}
return 0
}
func (x *Costume) GetTimeValue() uint64 {
if x != nil {
return x.TimeValue
}
return 0
}
func (x *Costume) GetPictorial() []*Pictorial {
if x != nil {
return x.Pictorial
}
return nil
}
type CharacterState struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClientVersion string `protobuf:"bytes,1,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
Characters []*Character `protobuf:"bytes,2,rep,name=characters,proto3" json:"characters,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CharacterState) Reset() {
*x = CharacterState{}
mi := &file_bd2_state_v1_state_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CharacterState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CharacterState) ProtoMessage() {}
func (x *CharacterState) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CharacterState.ProtoReflect.Descriptor instead.
func (*CharacterState) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{19}
}
func (x *CharacterState) GetClientVersion() string {
if x != nil {
return x.ClientVersion
}
return ""
}
func (x *CharacterState) GetCharacters() []*Character {
if x != nil {
return x.Characters
}
return nil
}
type NamedCount struct {
state protoimpl.MessageState `protogen:"open.v1"`
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NamedCount) Reset() {
*x = NamedCount{}
mi := &file_bd2_state_v1_state_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NamedCount) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NamedCount) ProtoMessage() {}
func (x *NamedCount) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NamedCount.ProtoReflect.Descriptor instead.
func (*NamedCount) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{20}
}
func (x *NamedCount) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *NamedCount) GetValue() uint64 {
if x != nil {
return x.Value
}
return 0
}
type GachaSelection struct {
state protoimpl.MessageState `protogen:"open.v1"`
GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Slot uint64 `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty"`
ItemId uint64 `protobuf:"varint,3,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GachaSelection) Reset() {
*x = GachaSelection{}
mi := &file_bd2_state_v1_state_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GachaSelection) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GachaSelection) ProtoMessage() {}
func (x *GachaSelection) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GachaSelection.ProtoReflect.Descriptor instead.
func (*GachaSelection) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{21}
}
func (x *GachaSelection) GetGroupId() uint64 {
if x != nil {
return x.GroupId
}
return 0
}
func (x *GachaSelection) GetSlot() uint64 {
if x != nil {
return x.Slot
}
return 0
}
func (x *GachaSelection) GetItemId() uint64 {
if x != nil {
return x.ItemId
}
return 0
}
type NamedSelections struct {
state protoimpl.MessageState `protogen:"open.v1"`
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
Selections []*GachaSelection `protobuf:"bytes,2,rep,name=selections,proto3" json:"selections,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NamedSelections) Reset() {
*x = NamedSelections{}
mi := &file_bd2_state_v1_state_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NamedSelections) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NamedSelections) ProtoMessage() {}
func (x *NamedSelections) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NamedSelections.ProtoReflect.Descriptor instead.
func (*NamedSelections) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{22}
}
func (x *NamedSelections) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *NamedSelections) GetSelections() []*GachaSelection {
if x != nil {
return x.Selections
}
return nil
}
type GachaUser struct {
state protoimpl.MessageState `protogen:"open.v1"`
GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Point uint64 `protobuf:"varint,2,opt,name=point,proto3" json:"point,omitempty"`
TotalBuyCount uint64 `protobuf:"varint,3,opt,name=total_buy_count,json=totalBuyCount,proto3" json:"total_buy_count,omitempty"`
OneFreePickCount uint64 `protobuf:"varint,4,opt,name=one_free_pick_count,json=oneFreePickCount,proto3" json:"one_free_pick_count,omitempty"`
OneCashPickCount uint64 `protobuf:"varint,5,opt,name=one_cash_pick_count,json=oneCashPickCount,proto3" json:"one_cash_pick_count,omitempty"`
TenFreePickCount uint64 `protobuf:"varint,6,opt,name=ten_free_pick_count,json=tenFreePickCount,proto3" json:"ten_free_pick_count,omitempty"`
TenCashPickCount uint64 `protobuf:"varint,7,opt,name=ten_cash_pick_count,json=tenCashPickCount,proto3" json:"ten_cash_pick_count,omitempty"`
ExchangeItemCount uint64 `protobuf:"varint,8,opt,name=exchange_item_count,json=exchangeItemCount,proto3" json:"exchange_item_count,omitempty"`
ExchangeMileageCount uint64 `protobuf:"varint,9,opt,name=exchange_mileage_count,json=exchangeMileageCount,proto3" json:"exchange_mileage_count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GachaUser) Reset() {
*x = GachaUser{}
mi := &file_bd2_state_v1_state_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GachaUser) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GachaUser) ProtoMessage() {}
func (x *GachaUser) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GachaUser.ProtoReflect.Descriptor instead.
func (*GachaUser) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{23}
}
func (x *GachaUser) GetGroupId() uint64 {
if x != nil {
return x.GroupId
}
return 0
}
func (x *GachaUser) GetPoint() uint64 {
if x != nil {
return x.Point
}
return 0
}
func (x *GachaUser) GetTotalBuyCount() uint64 {
if x != nil {
return x.TotalBuyCount
}
return 0
}
func (x *GachaUser) GetOneFreePickCount() uint64 {
if x != nil {
return x.OneFreePickCount
}
return 0
}
func (x *GachaUser) GetOneCashPickCount() uint64 {
if x != nil {
return x.OneCashPickCount
}
return 0
}
func (x *GachaUser) GetTenFreePickCount() uint64 {
if x != nil {
return x.TenFreePickCount
}
return 0
}
func (x *GachaUser) GetTenCashPickCount() uint64 {
if x != nil {
return x.TenCashPickCount
}
return 0
}
func (x *GachaUser) GetExchangeItemCount() uint64 {
if x != nil {
return x.ExchangeItemCount
}
return 0
}
func (x *GachaUser) GetExchangeMileageCount() uint64 {
if x != nil {
return x.ExchangeMileageCount
}
return 0
}
type NamedGachaUser struct {
state protoimpl.MessageState `protogen:"open.v1"`
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
User *GachaUser `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NamedGachaUser) Reset() {
*x = NamedGachaUser{}
mi := &file_bd2_state_v1_state_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NamedGachaUser) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NamedGachaUser) ProtoMessage() {}
func (x *NamedGachaUser) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NamedGachaUser.ProtoReflect.Descriptor instead.
func (*NamedGachaUser) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{24}
}
func (x *NamedGachaUser) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *NamedGachaUser) GetUser() *GachaUser {
if x != nil {
return x.User
}
return nil
}
type GachaFixed struct {
state protoimpl.MessageState `protogen:"open.v1"`
FixedId uint64 `protobuf:"varint,1,opt,name=fixed_id,json=fixedId,proto3" json:"fixed_id,omitempty"`
Type uint64 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
Count uint64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
ApplySortId int32 `protobuf:"varint,4,opt,name=apply_sort_id,json=applySortId,proto3" json:"apply_sort_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GachaFixed) Reset() {
*x = GachaFixed{}
mi := &file_bd2_state_v1_state_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GachaFixed) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GachaFixed) ProtoMessage() {}
func (x *GachaFixed) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GachaFixed.ProtoReflect.Descriptor instead.
func (*GachaFixed) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{25}
}
func (x *GachaFixed) GetFixedId() uint64 {
if x != nil {
return x.FixedId
}
return 0
}
func (x *GachaFixed) GetType() uint64 {
if x != nil {
return x.Type
}
return 0
}
func (x *GachaFixed) GetCount() uint64 {
if x != nil {
return x.Count
}
return 0
}
func (x *GachaFixed) GetApplySortId() int32 {
if x != nil {
return x.ApplySortId
}
return 0
}
type NamedGachaFixed struct {
state protoimpl.MessageState `protogen:"open.v1"`
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
Fixed *GachaFixed `protobuf:"bytes,2,opt,name=fixed,proto3" json:"fixed,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NamedGachaFixed) Reset() {
*x = NamedGachaFixed{}
mi := &file_bd2_state_v1_state_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NamedGachaFixed) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NamedGachaFixed) ProtoMessage() {}
func (x *NamedGachaFixed) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NamedGachaFixed.ProtoReflect.Descriptor instead.
func (*NamedGachaFixed) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{26}
}
func (x *NamedGachaFixed) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *NamedGachaFixed) GetFixed() *GachaFixed {
if x != nil {
return x.Fixed
}
return nil
}
type GachaPointExchange struct {
state protoimpl.MessageState `protogen:"open.v1"`
GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GachaPointExchange) Reset() {
*x = GachaPointExchange{}
mi := &file_bd2_state_v1_state_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GachaPointExchange) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GachaPointExchange) ProtoMessage() {}
func (x *GachaPointExchange) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GachaPointExchange.ProtoReflect.Descriptor instead.
func (*GachaPointExchange) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{27}
}
func (x *GachaPointExchange) GetGroupId() uint64 {
if x != nil {
return x.GroupId
}
return 0
}
func (x *GachaPointExchange) GetCount() uint64 {
if x != nil {
return x.Count
}
return 0
}
type NamedGachaPointExchange struct {
state protoimpl.MessageState `protogen:"open.v1"`
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
Exchange *GachaPointExchange `protobuf:"bytes,2,opt,name=exchange,proto3" json:"exchange,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NamedGachaPointExchange) Reset() {
*x = NamedGachaPointExchange{}
mi := &file_bd2_state_v1_state_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NamedGachaPointExchange) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NamedGachaPointExchange) ProtoMessage() {}
func (x *NamedGachaPointExchange) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NamedGachaPointExchange.ProtoReflect.Descriptor instead.
func (*NamedGachaPointExchange) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{28}
}
func (x *NamedGachaPointExchange) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *NamedGachaPointExchange) GetExchange() *GachaPointExchange {
if x != nil {
return x.Exchange
}
return nil
}
type CostumeUpgrade struct {
state protoimpl.MessageState `protogen:"open.v1"`
InventoryIndex uint64 `protobuf:"varint,1,opt,name=inventory_index,json=inventoryIndex,proto3" json:"inventory_index,omitempty"`
CostumeId uint64 `protobuf:"varint,2,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"`
Before uint64 `protobuf:"varint,3,opt,name=before,proto3" json:"before,omitempty"`
After uint64 `protobuf:"varint,4,opt,name=after,proto3" json:"after,omitempty"`
SortId uint64 `protobuf:"varint,5,opt,name=sort_id,json=sortId,proto3" json:"sort_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CostumeUpgrade) Reset() {
*x = CostumeUpgrade{}
mi := &file_bd2_state_v1_state_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CostumeUpgrade) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CostumeUpgrade) ProtoMessage() {}
func (x *CostumeUpgrade) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CostumeUpgrade.ProtoReflect.Descriptor instead.
func (*CostumeUpgrade) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{29}
}
func (x *CostumeUpgrade) GetInventoryIndex() uint64 {
if x != nil {
return x.InventoryIndex
}
return 0
}
func (x *CostumeUpgrade) GetCostumeId() uint64 {
if x != nil {
return x.CostumeId
}
return 0
}
func (x *CostumeUpgrade) GetBefore() uint64 {
if x != nil {
return x.Before
}
return 0
}
func (x *CostumeUpgrade) GetAfter() uint64 {
if x != nil {
return x.After
}
return 0
}
func (x *CostumeUpgrade) GetSortId() uint64 {
if x != nil {
return x.SortId
}
return 0
}
type CostumeExchange struct {
state protoimpl.MessageState `protogen:"open.v1"`
InventoryIndex uint64 `protobuf:"varint,1,opt,name=inventory_index,json=inventoryIndex,proto3" json:"inventory_index,omitempty"`
OriginalItemType uint64 `protobuf:"varint,2,opt,name=original_item_type,json=originalItemType,proto3" json:"original_item_type,omitempty"`
OriginalItemId uint64 `protobuf:"varint,3,opt,name=original_item_id,json=originalItemId,proto3" json:"original_item_id,omitempty"`
OriginalCount uint64 `protobuf:"varint,4,opt,name=original_count,json=originalCount,proto3" json:"original_count,omitempty"`
ExchangeItemType uint64 `protobuf:"varint,5,opt,name=exchange_item_type,json=exchangeItemType,proto3" json:"exchange_item_type,omitempty"`
ExchangeItemId uint64 `protobuf:"varint,6,opt,name=exchange_item_id,json=exchangeItemId,proto3" json:"exchange_item_id,omitempty"`
ExchangeCount uint64 `protobuf:"varint,7,opt,name=exchange_count,json=exchangeCount,proto3" json:"exchange_count,omitempty"`
SortId uint64 `protobuf:"varint,8,opt,name=sort_id,json=sortId,proto3" json:"sort_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CostumeExchange) Reset() {
*x = CostumeExchange{}
mi := &file_bd2_state_v1_state_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CostumeExchange) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CostumeExchange) ProtoMessage() {}
func (x *CostumeExchange) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CostumeExchange.ProtoReflect.Descriptor instead.
func (*CostumeExchange) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{30}
}
func (x *CostumeExchange) GetInventoryIndex() uint64 {
if x != nil {
return x.InventoryIndex
}
return 0
}
func (x *CostumeExchange) GetOriginalItemType() uint64 {
if x != nil {
return x.OriginalItemType
}
return 0
}
func (x *CostumeExchange) GetOriginalItemId() uint64 {
if x != nil {
return x.OriginalItemId
}
return 0
}
func (x *CostumeExchange) GetOriginalCount() uint64 {
if x != nil {
return x.OriginalCount
}
return 0
}
func (x *CostumeExchange) GetExchangeItemType() uint64 {
if x != nil {
return x.ExchangeItemType
}
return 0
}
func (x *CostumeExchange) GetExchangeItemId() uint64 {
if x != nil {
return x.ExchangeItemId
}
return 0
}
func (x *CostumeExchange) GetExchangeCount() uint64 {
if x != nil {
return x.ExchangeCount
}
return 0
}
func (x *CostumeExchange) GetSortId() uint64 {
if x != nil {
return x.SortId
}
return 0
}
type CollectionGrant struct {
state protoimpl.MessageState `protogen:"open.v1"`
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
CharacterIndices []uint64 `protobuf:"varint,2,rep,packed,name=character_indices,json=characterIndices,proto3" json:"character_indices,omitempty"`
CostumeIndices []uint64 `protobuf:"varint,3,rep,packed,name=costume_indices,json=costumeIndices,proto3" json:"costume_indices,omitempty"`
Upgrades []*CostumeUpgrade `protobuf:"bytes,4,rep,name=upgrades,proto3" json:"upgrades,omitempty"`
Exchanges []*CostumeExchange `protobuf:"bytes,5,rep,name=exchanges,proto3" json:"exchanges,omitempty"`
ViewCostumeIds []uint64 `protobuf:"varint,6,rep,packed,name=view_costume_ids,json=viewCostumeIds,proto3" json:"view_costume_ids,omitempty"`
GachaGroupId uint64 `protobuf:"varint,7,opt,name=gacha_group_id,json=gachaGroupId,proto3" json:"gacha_group_id,omitempty"`
GachaPoint uint64 `protobuf:"varint,8,opt,name=gacha_point,json=gachaPoint,proto3" json:"gacha_point,omitempty"`
GachaFixed []*GachaFixed `protobuf:"bytes,9,rep,name=gacha_fixed,json=gachaFixed,proto3" json:"gacha_fixed,omitempty"`
SelectionApplySortIds []uint64 `protobuf:"varint,10,rep,packed,name=selection_apply_sort_ids,json=selectionApplySortIds,proto3" json:"selection_apply_sort_ids,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CollectionGrant) Reset() {
*x = CollectionGrant{}
mi := &file_bd2_state_v1_state_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CollectionGrant) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CollectionGrant) ProtoMessage() {}
func (x *CollectionGrant) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[31]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CollectionGrant.ProtoReflect.Descriptor instead.
func (*CollectionGrant) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{31}
}
func (x *CollectionGrant) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *CollectionGrant) GetCharacterIndices() []uint64 {
if x != nil {
return x.CharacterIndices
}
return nil
}
func (x *CollectionGrant) GetCostumeIndices() []uint64 {
if x != nil {
return x.CostumeIndices
}
return nil
}
func (x *CollectionGrant) GetUpgrades() []*CostumeUpgrade {
if x != nil {
return x.Upgrades
}
return nil
}
func (x *CollectionGrant) GetExchanges() []*CostumeExchange {
if x != nil {
return x.Exchanges
}
return nil
}
func (x *CollectionGrant) GetViewCostumeIds() []uint64 {
if x != nil {
return x.ViewCostumeIds
}
return nil
}
func (x *CollectionGrant) GetGachaGroupId() uint64 {
if x != nil {
return x.GachaGroupId
}
return 0
}
func (x *CollectionGrant) GetGachaPoint() uint64 {
if x != nil {
return x.GachaPoint
}
return 0
}
func (x *CollectionGrant) GetGachaFixed() []*GachaFixed {
if x != nil {
return x.GachaFixed
}
return nil
}
func (x *CollectionGrant) GetSelectionApplySortIds() []uint64 {
if x != nil {
return x.SelectionApplySortIds
}
return nil
}
type Collection struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClientVersion string `protobuf:"bytes,1,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
NextCharacterIndex uint64 `protobuf:"varint,2,opt,name=next_character_index,json=nextCharacterIndex,proto3" json:"next_character_index,omitempty"`
NextCostumeIndex uint64 `protobuf:"varint,3,opt,name=next_costume_index,json=nextCostumeIndex,proto3" json:"next_costume_index,omitempty"`
LatestPreview []uint64 `protobuf:"varint,4,rep,packed,name=latest_preview,json=latestPreview,proto3" json:"latest_preview,omitempty"`
PreviewEventIndex uint64 `protobuf:"varint,5,opt,name=preview_event_index,json=previewEventIndex,proto3" json:"preview_event_index,omitempty"`
PreviewLocked bool `protobuf:"varint,6,opt,name=preview_locked,json=previewLocked,proto3" json:"preview_locked,omitempty"`
Characters []*Character `protobuf:"bytes,7,rep,name=characters,proto3" json:"characters,omitempty"`
Costumes []*Costume `protobuf:"bytes,8,rep,name=costumes,proto3" json:"costumes,omitempty"`
BaseCostumeLevels []*NamedCount `protobuf:"bytes,9,rep,name=base_costume_levels,json=baseCostumeLevels,proto3" json:"base_costume_levels,omitempty"`
GachaSelections []*NamedSelections `protobuf:"bytes,10,rep,name=gacha_selections,json=gachaSelections,proto3" json:"gacha_selections,omitempty"`
StepUpProgress []*NamedCount `protobuf:"bytes,11,rep,name=step_up_progress,json=stepUpProgress,proto3" json:"step_up_progress,omitempty"`
GachaUsers []*NamedGachaUser `protobuf:"bytes,12,rep,name=gacha_users,json=gachaUsers,proto3" json:"gacha_users,omitempty"`
GachaFixed []*NamedGachaFixed `protobuf:"bytes,13,rep,name=gacha_fixed,json=gachaFixed,proto3" json:"gacha_fixed,omitempty"`
GachaApplied []string `protobuf:"bytes,14,rep,name=gacha_applied,json=gachaApplied,proto3" json:"gacha_applied,omitempty"`
GachaPointExchanges []*NamedGachaPointExchange `protobuf:"bytes,15,rep,name=gacha_point_exchanges,json=gachaPointExchanges,proto3" json:"gacha_point_exchanges,omitempty"`
GachaCountCorrected bool `protobuf:"varint,16,opt,name=gacha_count_corrected,json=gachaCountCorrected,proto3" json:"gacha_count_corrected,omitempty"`
Grants []*CollectionGrant `protobuf:"bytes,17,rep,name=grants,proto3" json:"grants,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Collection) Reset() {
*x = Collection{}
mi := &file_bd2_state_v1_state_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Collection) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Collection) ProtoMessage() {}
func (x *Collection) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[32]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Collection.ProtoReflect.Descriptor instead.
func (*Collection) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{32}
}
func (x *Collection) GetClientVersion() string {
if x != nil {
return x.ClientVersion
}
return ""
}
func (x *Collection) GetNextCharacterIndex() uint64 {
if x != nil {
return x.NextCharacterIndex
}
return 0
}
func (x *Collection) GetNextCostumeIndex() uint64 {
if x != nil {
return x.NextCostumeIndex
}
return 0
}
func (x *Collection) GetLatestPreview() []uint64 {
if x != nil {
return x.LatestPreview
}
return nil
}
func (x *Collection) GetPreviewEventIndex() uint64 {
if x != nil {
return x.PreviewEventIndex
}
return 0
}
func (x *Collection) GetPreviewLocked() bool {
if x != nil {
return x.PreviewLocked
}
return false
}
func (x *Collection) GetCharacters() []*Character {
if x != nil {
return x.Characters
}
return nil
}
func (x *Collection) GetCostumes() []*Costume {
if x != nil {
return x.Costumes
}
return nil
}
func (x *Collection) GetBaseCostumeLevels() []*NamedCount {
if x != nil {
return x.BaseCostumeLevels
}
return nil
}
func (x *Collection) GetGachaSelections() []*NamedSelections {
if x != nil {
return x.GachaSelections
}
return nil
}
func (x *Collection) GetStepUpProgress() []*NamedCount {
if x != nil {
return x.StepUpProgress
}
return nil
}
func (x *Collection) GetGachaUsers() []*NamedGachaUser {
if x != nil {
return x.GachaUsers
}
return nil
}
func (x *Collection) GetGachaFixed() []*NamedGachaFixed {
if x != nil {
return x.GachaFixed
}
return nil
}
func (x *Collection) GetGachaApplied() []string {
if x != nil {
return x.GachaApplied
}
return nil
}
func (x *Collection) GetGachaPointExchanges() []*NamedGachaPointExchange {
if x != nil {
return x.GachaPointExchanges
}
return nil
}
func (x *Collection) GetGachaCountCorrected() bool {
if x != nil {
return x.GachaCountCorrected
}
return false
}
func (x *Collection) GetGrants() []*CollectionGrant {
if x != nil {
return x.Grants
}
return nil
}
type Wallet struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClientVersion string `protobuf:"bytes,1,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
Gold uint64 `protobuf:"varint,2,opt,name=gold,proto3" json:"gold,omitempty"`
FreeJewelry uint64 `protobuf:"varint,3,opt,name=free_jewelry,json=freeJewelry,proto3" json:"free_jewelry,omitempty"`
Jewelry uint64 `protobuf:"varint,4,opt,name=jewelry,proto3" json:"jewelry,omitempty"`
Mileage uint64 `protobuf:"varint,5,opt,name=mileage,proto3" json:"mileage,omitempty"`
HopePowder uint64 `protobuf:"varint,6,opt,name=hope_powder,json=hopePowder,proto3" json:"hope_powder,omitempty"`
GrantedIdentities []string `protobuf:"bytes,7,rep,name=granted_identities,json=grantedIdentities,proto3" json:"granted_identities,omitempty"`
SpentIdentities []string `protobuf:"bytes,8,rep,name=spent_identities,json=spentIdentities,proto3" json:"spent_identities,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Wallet) Reset() {
*x = Wallet{}
mi := &file_bd2_state_v1_state_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Wallet) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Wallet) ProtoMessage() {}
func (x *Wallet) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[33]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Wallet.ProtoReflect.Descriptor instead.
func (*Wallet) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{33}
}
func (x *Wallet) GetClientVersion() string {
if x != nil {
return x.ClientVersion
}
return ""
}
func (x *Wallet) GetGold() uint64 {
if x != nil {
return x.Gold
}
return 0
}
func (x *Wallet) GetFreeJewelry() uint64 {
if x != nil {
return x.FreeJewelry
}
return 0
}
func (x *Wallet) GetJewelry() uint64 {
if x != nil {
return x.Jewelry
}
return 0
}
func (x *Wallet) GetMileage() uint64 {
if x != nil {
return x.Mileage
}
return 0
}
func (x *Wallet) GetHopePowder() uint64 {
if x != nil {
return x.HopePowder
}
return 0
}
func (x *Wallet) GetGrantedIdentities() []string {
if x != nil {
return x.GrantedIdentities
}
return nil
}
func (x *Wallet) GetSpentIdentities() []string {
if x != nil {
return x.SpentIdentities
}
return nil
}
type MailState struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClientVersion string `protobuf:"bytes,1,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
OpenedMailIds []uint64 `protobuf:"varint,2,rep,packed,name=opened_mail_ids,json=openedMailIds,proto3" json:"opened_mail_ids,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MailState) Reset() {
*x = MailState{}
mi := &file_bd2_state_v1_state_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MailState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MailState) ProtoMessage() {}
func (x *MailState) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[34]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MailState.ProtoReflect.Descriptor instead.
func (*MailState) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{34}
}
func (x *MailState) GetClientVersion() string {
if x != nil {
return x.ClientVersion
}
return ""
}
func (x *MailState) GetOpenedMailIds() []uint64 {
if x != nil {
return x.OpenedMailIds
}
return nil
}
type MissionState struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClientVersion string `protobuf:"bytes,1,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
Completed []string `protobuf:"bytes,2,rep,name=completed,proto3" json:"completed,omitempty"`
Claimed []string `protobuf:"bytes,3,rep,name=claimed,proto3" json:"claimed,omitempty"`
Progress []*NamedCount `protobuf:"bytes,4,rep,name=progress,proto3" json:"progress,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MissionState) Reset() {
*x = MissionState{}
mi := &file_bd2_state_v1_state_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MissionState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MissionState) ProtoMessage() {}
func (x *MissionState) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v1_state_proto_msgTypes[35]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MissionState.ProtoReflect.Descriptor instead.
func (*MissionState) Descriptor() ([]byte, []int) {
return file_bd2_state_v1_state_proto_rawDescGZIP(), []int{35}
}
func (x *MissionState) GetClientVersion() string {
if x != nil {
return x.ClientVersion
}
return ""
}
func (x *MissionState) GetCompleted() []string {
if x != nil {
return x.Completed
}
return nil
}
func (x *MissionState) GetClaimed() []string {
if x != nil {
return x.Claimed
}
return nil
}
func (x *MissionState) GetProgress() []*NamedCount {
if x != nil {
return x.Progress
}
return nil
}
var File_bd2_state_v1_state_proto protoreflect.FileDescriptor
const file_bd2_state_v1_state_proto_rawDesc = "" +
"\n" +
"\x18bd2/state/v1/state.proto\x12\fbd2.state.v1\"\xe2\x04\n" +
"\bSnapshot\x12%\n" +
"\x0eformat_version\x18\x01 \x01(\rR\rformatVersion\x12%\n" +
"\x0eclient_version\x18\x02 \x01(\tR\rclientVersion\x12*\n" +
"\x11game_data_version\x18\x03 \x01(\tR\x0fgameDataVersion\x122\n" +
"\bprogress\x18\n" +
" \x01(\v2\x16.bd2.state.v1.ProgressR\bprogress\x12&\n" +
"\x04deck\x18\v \x01(\v2\x12.bd2.state.v1.DeckR\x04deck\x125\n" +
"\tinventory\x18\f \x01(\v2\x17.bd2.state.v1.InventoryR\tinventory\x12>\n" +
"\tequipment\x18\r \x01(\v2 .bd2.state.v1.EquipmentInventoryR\tequipment\x12<\n" +
"\n" +
"characters\x18\x0e \x01(\v2\x1c.bd2.state.v1.CharacterStateR\n" +
"characters\x128\n" +
"\n" +
"collection\x18\x0f \x01(\v2\x18.bd2.state.v1.CollectionR\n" +
"collection\x12,\n" +
"\x06wallet\x18\x10 \x01(\v2\x14.bd2.state.v1.WalletR\x06wallet\x12+\n" +
"\x04mail\x18\x11 \x01(\v2\x17.bd2.state.v1.MailStateR\x04mail\x126\n" +
"\bmissions\x18\x12 \x01(\v2\x1a.bd2.state.v1.MissionStateR\bmissions\">\n" +
"\bQuestKey\x12\x17\n" +
"\apack_id\x18\x01 \x01(\rR\x06packId\x12\x19\n" +
"\bquest_id\x18\x02 \x01(\rR\aquestId\"3\n" +
"\aVector3\x12\f\n" +
"\x01x\x18\x01 \x01(\x01R\x01x\x12\f\n" +
"\x01y\x18\x02 \x01(\x01R\x01y\x12\f\n" +
"\x01z\x18\x03 \x01(\x01R\x01z\"\xc8\x01\n" +
"\bPosition\x12\x17\n" +
"\apack_id\x18\x01 \x01(\rR\x06packId\x12\x15\n" +
"\x06map_id\x18\x02 \x01(\rR\x05mapId\x12-\n" +
"\x06player\x18\x03 \x01(\v2\x15.bd2.state.v1.Vector3R\x06player\x12#\n" +
"\roriginal_json\x18\n" +
" \x01(\fR\foriginalJson\x128\n" +
"\x18colleague_positions_json\x18\v \x01(\fR\x16colleaguePositionsJson\"Q\n" +
"\rQuestProgress\x12(\n" +
"\x03key\x18\x01 \x01(\v2\x16.bd2.state.v1.QuestKeyR\x03key\x12\x16\n" +
"\x06values\x18\x02 \x03(\rR\x06values\"\x98\x02\n" +
"\bProgress\x122\n" +
"\x15source_format_version\x18\x01 \x01(\rR\x13sourceFormatVersion\x122\n" +
"\bposition\x18\x02 \x01(\v2\x16.bd2.state.v1.PositionR\bposition\x120\n" +
"\x14cleared_tutorial_ids\x18\x03 \x03(\rR\x12clearedTutorialIds\x123\n" +
"\x06quests\x18\x04 \x03(\v2\x1b.bd2.state.v1.QuestProgressR\x06quests\x12=\n" +
"\x0ecleared_quests\x18\x05 \x03(\v2\x16.bd2.state.v1.QuestKeyR\rclearedQuests\"l\n" +
"\bDeckSlot\x12'\n" +
"\x0fcharacter_index\x18\x01 \x01(\x04R\x0echaracterIndex\x12#\n" +
"\rcostume_index\x18\x02 \x01(\x04R\fcostumeIndex\x12\x12\n" +
"\x04slot\x18\x03 \x01(\x04R\x04slot\".\n" +
"\x04Pair\x12\x10\n" +
"\x03key\x18\x01 \x01(\x04R\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\x04R\x05value\"\xf7\x03\n" +
"\x04Deck\x12%\n" +
"\x0eclient_version\x18\x01 \x01(\tR\rclientVersion\x12.\n" +
"\x06battle\x18\x02 \x03(\v2\x16.bd2.state.v1.DeckSlotR\x06battle\x12,\n" +
"\x05field\x18\x03 \x03(\v2\x16.bd2.state.v1.DeckSlotR\x05field\x12,\n" +
"\x12field_control_type\x18\x04 \x01(\x04R\x10fieldControlType\x120\n" +
"\twaypoints\x18\x05 \x03(\v2\x12.bd2.state.v1.PairR\twaypoints\x12?\n" +
"\x11selected_costumes\x18\x06 \x03(\v2\x12.bd2.state.v1.PairR\x10selectedCostumes\x125\n" +
"\fbought_packs\x18\a \x03(\v2\x12.bd2.state.v1.PairR\vboughtPacks\x120\n" +
"\x14highest_battle_power\x18\b \x01(\x04R\x12highestBattlePower\x12.\n" +
"\x13portrait_costume_id\x18\t \x01(\x04R\x11portraitCostumeId\x120\n" +
"\x14auto_revive_catalyst\x18\n" +
" \x01(\x04R\x12autoReviveCatalyst\"6\n" +
"\tPictorial\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x04R\x02id\x12\x19\n" +
"\bgroup_id\x18\x02 \x01(\x04R\agroupId\"\x92\x02\n" +
"\x04Item\x12'\n" +
"\x0finventory_index\x18\x01 \x01(\x04R\x0einventoryIndex\x12\x0e\n" +
"\x02id\x18\x02 \x01(\x04R\x02id\x12\x12\n" +
"\x04type\x18\x03 \x01(\x04R\x04type\x12\x14\n" +
"\x05count\x18\x04 \x01(\x04R\x05count\x12\x1b\n" +
"\tkeep_flag\x18\x05 \x01(\x04R\bkeepFlag\x12\x1d\n" +
"\n" +
"time_value\x18\x06 \x01(\x04R\ttimeValue\x125\n" +
"\tpictorial\x18\a \x01(\v2\x17.bd2.state.v1.PictorialR\tpictorial\x12\x17\n" +
"\asort_id\x18\b \x01(\x04R\x06sortId\x12\x1b\n" +
"\tuse_count\x18\t \x01(\x04R\buseCount\"W\n" +
"\fIndexedGrant\x12\x1a\n" +
"\bidentity\x18\x01 \x01(\tR\bidentity\x12+\n" +
"\x11inventory_indices\x18\x02 \x03(\x04R\x10inventoryIndices\"\xe7\x01\n" +
"\tInventory\x12%\n" +
"\x0eclient_version\x18\x01 \x01(\tR\rclientVersion\x12\x1d\n" +
"\n" +
"next_index\x18\x02 \x01(\x04R\tnextIndex\x12(\n" +
"\x05items\x18\x03 \x03(\v2\x12.bd2.state.v1.ItemR\x05items\x12-\n" +
"\x12granted_identities\x18\x04 \x03(\tR\x11grantedIdentities\x12;\n" +
"\vgrant_items\x18\x05 \x03(\v2\x1a.bd2.state.v1.IndexedGrantR\n" +
"grantItems\"<\n" +
"\x0fEquipmentOption\x12\x19\n" +
"\bgroup_id\x18\x01 \x01(\x04R\agroupId\x12\x0e\n" +
"\x02id\x18\x02 \x01(\x04R\x02id\"\xa6\x03\n" +
"\tEquipment\x12'\n" +
"\x0finventory_index\x18\x01 \x01(\x04R\x0einventoryIndex\x12\x0e\n" +
"\x02id\x18\x02 \x01(\x04R\x02id\x12\x14\n" +
"\x05level\x18\x03 \x01(\x04R\x05level\x12\x19\n" +
"\buse_char\x18\x04 \x01(\x04R\auseChar\x12\x1b\n" +
"\tkeep_flag\x18\x05 \x01(\x04R\bkeepFlag\x12\x1b\n" +
"\tlock_flag\x18\x06 \x01(\x04R\blockFlag\x12\x17\n" +
"\asort_id\x18\a \x01(\x04R\x06sortId\x12@\n" +
"\fmain_options\x18\b \x03(\v2\x1d.bd2.state.v1.EquipmentOptionR\vmainOptions\x12>\n" +
"\vsub_options\x18\t \x03(\v2\x1d.bd2.state.v1.EquipmentOptionR\n" +
"subOptions\x12D\n" +
"\x0eprivate_option\x18\n" +
" \x01(\v2\x1d.bd2.state.v1.EquipmentOptionR\rprivateOption\x12\x14\n" +
"\x05ranks\x18\v \x03(\x04R\x05ranks\"Q\n" +
"\n" +
"NamedIndex\x12\x1a\n" +
"\bidentity\x18\x01 \x01(\tR\bidentity\x12'\n" +
"\x0finventory_index\x18\x02 \x01(\x04R\x0einventoryIndex\"\xc3\x01\n" +
"\x12EquipmentInventory\x12%\n" +
"\x0eclient_version\x18\x01 \x01(\tR\rclientVersion\x12\x1d\n" +
"\n" +
"next_index\x18\x02 \x01(\x04R\tnextIndex\x125\n" +
"\tequipment\x18\x03 \x03(\v2\x17.bd2.state.v1.EquipmentR\tequipment\x120\n" +
"\x06grants\x18\x04 \x03(\v2\x18.bd2.state.v1.NamedIndexR\x06grants\"\xbf\x03\n" +
"\tCharacter\x12'\n" +
"\x0finventory_index\x18\x01 \x01(\x04R\x0einventoryIndex\x12\x0e\n" +
"\x02id\x18\x02 \x01(\x04R\x02id\x12\x0e\n" +
"\x02hp\x18\x03 \x01(\x04R\x02hp\x12\x14\n" +
"\x05level\x18\x04 \x01(\x04R\x05level\x12\x1d\n" +
"\n" +
"costume_id\x18\x05 \x01(\x04R\tcostumeId\x12\x10\n" +
"\x03exp\x18\x06 \x01(\x04R\x03exp\x12\x1f\n" +
"\vuse_costume\x18\a \x01(\x04R\n" +
"useCostume\x12!\n" +
"\ftalent_level\x18\b \x01(\x04R\vtalentLevel\x12\x1d\n" +
"\n" +
"talent_exp\x18\t \x01(\x04R\ttalentExp\x12+\n" +
"\x11solidarity_reward\x18\n" +
" \x01(\x04R\x10solidarityReward\x12\x1f\n" +
"\vexpiry_time\x18\v \x01(\x04R\n" +
"expiryTime\x12:\n" +
"\x19connect_potential_costume\x18\f \x01(\x04R\x17connectPotentialCostume\x125\n" +
"\tpictorial\x18\r \x03(\v2\x17.bd2.state.v1.PictorialR\tpictorial\"\xc3\x02\n" +
"\aCostume\x12'\n" +
"\x0finventory_index\x18\x01 \x01(\x04R\x0einventoryIndex\x12\x0e\n" +
"\x02id\x18\x02 \x01(\x04R\x02id\x12\x14\n" +
"\x05level\x18\x03 \x01(\x04R\x05level\x12\x19\n" +
"\buse_char\x18\x04 \x01(\x04R\auseChar\x12\x17\n" +
"\asort_id\x18\x05 \x01(\x04R\x06sortId\x12!\n" +
"\fpotential_id\x18\x06 \x01(\x04R\vpotentialId\x12\x1b\n" +
"\tdesign_id\x18\a \x01(\x04R\bdesignId\x12\x1f\n" +
"\vburst_level\x18\b \x01(\x04R\n" +
"burstLevel\x12\x1d\n" +
"\n" +
"time_value\x18\t \x01(\x04R\ttimeValue\x125\n" +
"\tpictorial\x18\n" +
" \x03(\v2\x17.bd2.state.v1.PictorialR\tpictorial\"p\n" +
"\x0eCharacterState\x12%\n" +
"\x0eclient_version\x18\x01 \x01(\tR\rclientVersion\x127\n" +
"\n" +
"characters\x18\x02 \x03(\v2\x17.bd2.state.v1.CharacterR\n" +
"characters\">\n" +
"\n" +
"NamedCount\x12\x1a\n" +
"\bidentity\x18\x01 \x01(\tR\bidentity\x12\x14\n" +
"\x05value\x18\x02 \x01(\x04R\x05value\"X\n" +
"\x0eGachaSelection\x12\x19\n" +
"\bgroup_id\x18\x01 \x01(\x04R\agroupId\x12\x12\n" +
"\x04slot\x18\x02 \x01(\x04R\x04slot\x12\x17\n" +
"\aitem_id\x18\x03 \x01(\x04R\x06itemId\"k\n" +
"\x0fNamedSelections\x12\x1a\n" +
"\bidentity\x18\x01 \x01(\tR\bidentity\x12<\n" +
"\n" +
"selections\x18\x02 \x03(\v2\x1c.bd2.state.v1.GachaSelectionR\n" +
"selections\"\x86\x03\n" +
"\tGachaUser\x12\x19\n" +
"\bgroup_id\x18\x01 \x01(\x04R\agroupId\x12\x14\n" +
"\x05point\x18\x02 \x01(\x04R\x05point\x12&\n" +
"\x0ftotal_buy_count\x18\x03 \x01(\x04R\rtotalBuyCount\x12-\n" +
"\x13one_free_pick_count\x18\x04 \x01(\x04R\x10oneFreePickCount\x12-\n" +
"\x13one_cash_pick_count\x18\x05 \x01(\x04R\x10oneCashPickCount\x12-\n" +
"\x13ten_free_pick_count\x18\x06 \x01(\x04R\x10tenFreePickCount\x12-\n" +
"\x13ten_cash_pick_count\x18\a \x01(\x04R\x10tenCashPickCount\x12.\n" +
"\x13exchange_item_count\x18\b \x01(\x04R\x11exchangeItemCount\x124\n" +
"\x16exchange_mileage_count\x18\t \x01(\x04R\x14exchangeMileageCount\"Y\n" +
"\x0eNamedGachaUser\x12\x1a\n" +
"\bidentity\x18\x01 \x01(\tR\bidentity\x12+\n" +
"\x04user\x18\x02 \x01(\v2\x17.bd2.state.v1.GachaUserR\x04user\"u\n" +
"\n" +
"GachaFixed\x12\x19\n" +
"\bfixed_id\x18\x01 \x01(\x04R\afixedId\x12\x12\n" +
"\x04type\x18\x02 \x01(\x04R\x04type\x12\x14\n" +
"\x05count\x18\x03 \x01(\x04R\x05count\x12\"\n" +
"\rapply_sort_id\x18\x04 \x01(\x05R\vapplySortId\"]\n" +
"\x0fNamedGachaFixed\x12\x1a\n" +
"\bidentity\x18\x01 \x01(\tR\bidentity\x12.\n" +
"\x05fixed\x18\x02 \x01(\v2\x18.bd2.state.v1.GachaFixedR\x05fixed\"E\n" +
"\x12GachaPointExchange\x12\x19\n" +
"\bgroup_id\x18\x01 \x01(\x04R\agroupId\x12\x14\n" +
"\x05count\x18\x02 \x01(\x04R\x05count\"s\n" +
"\x17NamedGachaPointExchange\x12\x1a\n" +
"\bidentity\x18\x01 \x01(\tR\bidentity\x12<\n" +
"\bexchange\x18\x02 \x01(\v2 .bd2.state.v1.GachaPointExchangeR\bexchange\"\x9f\x01\n" +
"\x0eCostumeUpgrade\x12'\n" +
"\x0finventory_index\x18\x01 \x01(\x04R\x0einventoryIndex\x12\x1d\n" +
"\n" +
"costume_id\x18\x02 \x01(\x04R\tcostumeId\x12\x16\n" +
"\x06before\x18\x03 \x01(\x04R\x06before\x12\x14\n" +
"\x05after\x18\x04 \x01(\x04R\x05after\x12\x17\n" +
"\asort_id\x18\x05 \x01(\x04R\x06sortId\"\xd1\x02\n" +
"\x0fCostumeExchange\x12'\n" +
"\x0finventory_index\x18\x01 \x01(\x04R\x0einventoryIndex\x12,\n" +
"\x12original_item_type\x18\x02 \x01(\x04R\x10originalItemType\x12(\n" +
"\x10original_item_id\x18\x03 \x01(\x04R\x0eoriginalItemId\x12%\n" +
"\x0eoriginal_count\x18\x04 \x01(\x04R\roriginalCount\x12,\n" +
"\x12exchange_item_type\x18\x05 \x01(\x04R\x10exchangeItemType\x12(\n" +
"\x10exchange_item_id\x18\x06 \x01(\x04R\x0eexchangeItemId\x12%\n" +
"\x0eexchange_count\x18\a \x01(\x04R\rexchangeCount\x12\x17\n" +
"\asort_id\x18\b \x01(\x04R\x06sortId\"\xdf\x03\n" +
"\x0fCollectionGrant\x12\x1a\n" +
"\bidentity\x18\x01 \x01(\tR\bidentity\x12+\n" +
"\x11character_indices\x18\x02 \x03(\x04R\x10characterIndices\x12'\n" +
"\x0fcostume_indices\x18\x03 \x03(\x04R\x0ecostumeIndices\x128\n" +
"\bupgrades\x18\x04 \x03(\v2\x1c.bd2.state.v1.CostumeUpgradeR\bupgrades\x12;\n" +
"\texchanges\x18\x05 \x03(\v2\x1d.bd2.state.v1.CostumeExchangeR\texchanges\x12(\n" +
"\x10view_costume_ids\x18\x06 \x03(\x04R\x0eviewCostumeIds\x12$\n" +
"\x0egacha_group_id\x18\a \x01(\x04R\fgachaGroupId\x12\x1f\n" +
"\vgacha_point\x18\b \x01(\x04R\n" +
"gachaPoint\x129\n" +
"\vgacha_fixed\x18\t \x03(\v2\x18.bd2.state.v1.GachaFixedR\n" +
"gachaFixed\x127\n" +
"\x18selection_apply_sort_ids\x18\n" +
" \x03(\x04R\x15selectionApplySortIds\"\xbf\a\n" +
"\n" +
"Collection\x12%\n" +
"\x0eclient_version\x18\x01 \x01(\tR\rclientVersion\x120\n" +
"\x14next_character_index\x18\x02 \x01(\x04R\x12nextCharacterIndex\x12,\n" +
"\x12next_costume_index\x18\x03 \x01(\x04R\x10nextCostumeIndex\x12%\n" +
"\x0elatest_preview\x18\x04 \x03(\x04R\rlatestPreview\x12.\n" +
"\x13preview_event_index\x18\x05 \x01(\x04R\x11previewEventIndex\x12%\n" +
"\x0epreview_locked\x18\x06 \x01(\bR\rpreviewLocked\x127\n" +
"\n" +
"characters\x18\a \x03(\v2\x17.bd2.state.v1.CharacterR\n" +
"characters\x121\n" +
"\bcostumes\x18\b \x03(\v2\x15.bd2.state.v1.CostumeR\bcostumes\x12H\n" +
"\x13base_costume_levels\x18\t \x03(\v2\x18.bd2.state.v1.NamedCountR\x11baseCostumeLevels\x12H\n" +
"\x10gacha_selections\x18\n" +
" \x03(\v2\x1d.bd2.state.v1.NamedSelectionsR\x0fgachaSelections\x12B\n" +
"\x10step_up_progress\x18\v \x03(\v2\x18.bd2.state.v1.NamedCountR\x0estepUpProgress\x12=\n" +
"\vgacha_users\x18\f \x03(\v2\x1c.bd2.state.v1.NamedGachaUserR\n" +
"gachaUsers\x12>\n" +
"\vgacha_fixed\x18\r \x03(\v2\x1d.bd2.state.v1.NamedGachaFixedR\n" +
"gachaFixed\x12#\n" +
"\rgacha_applied\x18\x0e \x03(\tR\fgachaApplied\x12Y\n" +
"\x15gacha_point_exchanges\x18\x0f \x03(\v2%.bd2.state.v1.NamedGachaPointExchangeR\x13gachaPointExchanges\x122\n" +
"\x15gacha_count_corrected\x18\x10 \x01(\bR\x13gachaCountCorrected\x125\n" +
"\x06grants\x18\x11 \x03(\v2\x1d.bd2.state.v1.CollectionGrantR\x06grants\"\x95\x02\n" +
"\x06Wallet\x12%\n" +
"\x0eclient_version\x18\x01 \x01(\tR\rclientVersion\x12\x12\n" +
"\x04gold\x18\x02 \x01(\x04R\x04gold\x12!\n" +
"\ffree_jewelry\x18\x03 \x01(\x04R\vfreeJewelry\x12\x18\n" +
"\ajewelry\x18\x04 \x01(\x04R\ajewelry\x12\x18\n" +
"\amileage\x18\x05 \x01(\x04R\amileage\x12\x1f\n" +
"\vhope_powder\x18\x06 \x01(\x04R\n" +
"hopePowder\x12-\n" +
"\x12granted_identities\x18\a \x03(\tR\x11grantedIdentities\x12)\n" +
"\x10spent_identities\x18\b \x03(\tR\x0fspentIdentities\"Z\n" +
"\tMailState\x12%\n" +
"\x0eclient_version\x18\x01 \x01(\tR\rclientVersion\x12&\n" +
"\x0fopened_mail_ids\x18\x02 \x03(\x04R\ropenedMailIds\"\xa3\x01\n" +
"\fMissionState\x12%\n" +
"\x0eclient_version\x18\x01 \x01(\tR\rclientVersion\x12\x1c\n" +
"\tcompleted\x18\x02 \x03(\tR\tcompleted\x12\x18\n" +
"\aclaimed\x18\x03 \x03(\tR\aclaimed\x124\n" +
"\bprogress\x18\x04 \x03(\v2\x18.bd2.state.v1.NamedCountR\bprogressB Z\x1ebd2server/gen/state/v1;statev1b\x06proto3"
var (
file_bd2_state_v1_state_proto_rawDescOnce sync.Once
file_bd2_state_v1_state_proto_rawDescData []byte
)
func file_bd2_state_v1_state_proto_rawDescGZIP() []byte {
file_bd2_state_v1_state_proto_rawDescOnce.Do(func() {
file_bd2_state_v1_state_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_bd2_state_v1_state_proto_rawDesc), len(file_bd2_state_v1_state_proto_rawDesc)))
})
return file_bd2_state_v1_state_proto_rawDescData
}
var file_bd2_state_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 36)
var file_bd2_state_v1_state_proto_goTypes = []any{
(*Snapshot)(nil), // 0: bd2.state.v1.Snapshot
(*QuestKey)(nil), // 1: bd2.state.v1.QuestKey
(*Vector3)(nil), // 2: bd2.state.v1.Vector3
(*Position)(nil), // 3: bd2.state.v1.Position
(*QuestProgress)(nil), // 4: bd2.state.v1.QuestProgress
(*Progress)(nil), // 5: bd2.state.v1.Progress
(*DeckSlot)(nil), // 6: bd2.state.v1.DeckSlot
(*Pair)(nil), // 7: bd2.state.v1.Pair
(*Deck)(nil), // 8: bd2.state.v1.Deck
(*Pictorial)(nil), // 9: bd2.state.v1.Pictorial
(*Item)(nil), // 10: bd2.state.v1.Item
(*IndexedGrant)(nil), // 11: bd2.state.v1.IndexedGrant
(*Inventory)(nil), // 12: bd2.state.v1.Inventory
(*EquipmentOption)(nil), // 13: bd2.state.v1.EquipmentOption
(*Equipment)(nil), // 14: bd2.state.v1.Equipment
(*NamedIndex)(nil), // 15: bd2.state.v1.NamedIndex
(*EquipmentInventory)(nil), // 16: bd2.state.v1.EquipmentInventory
(*Character)(nil), // 17: bd2.state.v1.Character
(*Costume)(nil), // 18: bd2.state.v1.Costume
(*CharacterState)(nil), // 19: bd2.state.v1.CharacterState
(*NamedCount)(nil), // 20: bd2.state.v1.NamedCount
(*GachaSelection)(nil), // 21: bd2.state.v1.GachaSelection
(*NamedSelections)(nil), // 22: bd2.state.v1.NamedSelections
(*GachaUser)(nil), // 23: bd2.state.v1.GachaUser
(*NamedGachaUser)(nil), // 24: bd2.state.v1.NamedGachaUser
(*GachaFixed)(nil), // 25: bd2.state.v1.GachaFixed
(*NamedGachaFixed)(nil), // 26: bd2.state.v1.NamedGachaFixed
(*GachaPointExchange)(nil), // 27: bd2.state.v1.GachaPointExchange
(*NamedGachaPointExchange)(nil), // 28: bd2.state.v1.NamedGachaPointExchange
(*CostumeUpgrade)(nil), // 29: bd2.state.v1.CostumeUpgrade
(*CostumeExchange)(nil), // 30: bd2.state.v1.CostumeExchange
(*CollectionGrant)(nil), // 31: bd2.state.v1.CollectionGrant
(*Collection)(nil), // 32: bd2.state.v1.Collection
(*Wallet)(nil), // 33: bd2.state.v1.Wallet
(*MailState)(nil), // 34: bd2.state.v1.MailState
(*MissionState)(nil), // 35: bd2.state.v1.MissionState
}
var file_bd2_state_v1_state_proto_depIdxs = []int32{
5, // 0: bd2.state.v1.Snapshot.progress:type_name -> bd2.state.v1.Progress
8, // 1: bd2.state.v1.Snapshot.deck:type_name -> bd2.state.v1.Deck
12, // 2: bd2.state.v1.Snapshot.inventory:type_name -> bd2.state.v1.Inventory
16, // 3: bd2.state.v1.Snapshot.equipment:type_name -> bd2.state.v1.EquipmentInventory
19, // 4: bd2.state.v1.Snapshot.characters:type_name -> bd2.state.v1.CharacterState
32, // 5: bd2.state.v1.Snapshot.collection:type_name -> bd2.state.v1.Collection
33, // 6: bd2.state.v1.Snapshot.wallet:type_name -> bd2.state.v1.Wallet
34, // 7: bd2.state.v1.Snapshot.mail:type_name -> bd2.state.v1.MailState
35, // 8: bd2.state.v1.Snapshot.missions:type_name -> bd2.state.v1.MissionState
2, // 9: bd2.state.v1.Position.player:type_name -> bd2.state.v1.Vector3
1, // 10: bd2.state.v1.QuestProgress.key:type_name -> bd2.state.v1.QuestKey
3, // 11: bd2.state.v1.Progress.position:type_name -> bd2.state.v1.Position
4, // 12: bd2.state.v1.Progress.quests:type_name -> bd2.state.v1.QuestProgress
1, // 13: bd2.state.v1.Progress.cleared_quests:type_name -> bd2.state.v1.QuestKey
6, // 14: bd2.state.v1.Deck.battle:type_name -> bd2.state.v1.DeckSlot
6, // 15: bd2.state.v1.Deck.field:type_name -> bd2.state.v1.DeckSlot
7, // 16: bd2.state.v1.Deck.waypoints:type_name -> bd2.state.v1.Pair
7, // 17: bd2.state.v1.Deck.selected_costumes:type_name -> bd2.state.v1.Pair
7, // 18: bd2.state.v1.Deck.bought_packs:type_name -> bd2.state.v1.Pair
9, // 19: bd2.state.v1.Item.pictorial:type_name -> bd2.state.v1.Pictorial
10, // 20: bd2.state.v1.Inventory.items:type_name -> bd2.state.v1.Item
11, // 21: bd2.state.v1.Inventory.grant_items:type_name -> bd2.state.v1.IndexedGrant
13, // 22: bd2.state.v1.Equipment.main_options:type_name -> bd2.state.v1.EquipmentOption
13, // 23: bd2.state.v1.Equipment.sub_options:type_name -> bd2.state.v1.EquipmentOption
13, // 24: bd2.state.v1.Equipment.private_option:type_name -> bd2.state.v1.EquipmentOption
14, // 25: bd2.state.v1.EquipmentInventory.equipment:type_name -> bd2.state.v1.Equipment
15, // 26: bd2.state.v1.EquipmentInventory.grants:type_name -> bd2.state.v1.NamedIndex
9, // 27: bd2.state.v1.Character.pictorial:type_name -> bd2.state.v1.Pictorial
9, // 28: bd2.state.v1.Costume.pictorial:type_name -> bd2.state.v1.Pictorial
17, // 29: bd2.state.v1.CharacterState.characters:type_name -> bd2.state.v1.Character
21, // 30: bd2.state.v1.NamedSelections.selections:type_name -> bd2.state.v1.GachaSelection
23, // 31: bd2.state.v1.NamedGachaUser.user:type_name -> bd2.state.v1.GachaUser
25, // 32: bd2.state.v1.NamedGachaFixed.fixed:type_name -> bd2.state.v1.GachaFixed
27, // 33: bd2.state.v1.NamedGachaPointExchange.exchange:type_name -> bd2.state.v1.GachaPointExchange
29, // 34: bd2.state.v1.CollectionGrant.upgrades:type_name -> bd2.state.v1.CostumeUpgrade
30, // 35: bd2.state.v1.CollectionGrant.exchanges:type_name -> bd2.state.v1.CostumeExchange
25, // 36: bd2.state.v1.CollectionGrant.gacha_fixed:type_name -> bd2.state.v1.GachaFixed
17, // 37: bd2.state.v1.Collection.characters:type_name -> bd2.state.v1.Character
18, // 38: bd2.state.v1.Collection.costumes:type_name -> bd2.state.v1.Costume
20, // 39: bd2.state.v1.Collection.base_costume_levels:type_name -> bd2.state.v1.NamedCount
22, // 40: bd2.state.v1.Collection.gacha_selections:type_name -> bd2.state.v1.NamedSelections
20, // 41: bd2.state.v1.Collection.step_up_progress:type_name -> bd2.state.v1.NamedCount
24, // 42: bd2.state.v1.Collection.gacha_users:type_name -> bd2.state.v1.NamedGachaUser
26, // 43: bd2.state.v1.Collection.gacha_fixed:type_name -> bd2.state.v1.NamedGachaFixed
28, // 44: bd2.state.v1.Collection.gacha_point_exchanges:type_name -> bd2.state.v1.NamedGachaPointExchange
31, // 45: bd2.state.v1.Collection.grants:type_name -> bd2.state.v1.CollectionGrant
20, // 46: bd2.state.v1.MissionState.progress:type_name -> bd2.state.v1.NamedCount
47, // [47:47] is the sub-list for method output_type
47, // [47:47] is the sub-list for method input_type
47, // [47:47] is the sub-list for extension type_name
47, // [47:47] is the sub-list for extension extendee
0, // [0:47] is the sub-list for field type_name
}
func init() { file_bd2_state_v1_state_proto_init() }
func file_bd2_state_v1_state_proto_init() {
if File_bd2_state_v1_state_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_bd2_state_v1_state_proto_rawDesc), len(file_bd2_state_v1_state_proto_rawDesc)),
NumEnums: 0,
NumMessages: 36,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_bd2_state_v1_state_proto_goTypes,
DependencyIndexes: file_bd2_state_v1_state_proto_depIdxs,
MessageInfos: file_bd2_state_v1_state_proto_msgTypes,
}.Build()
File_bd2_state_v1_state_proto = out.File
file_bd2_state_v1_state_proto_goTypes = nil
file_bd2_state_v1_state_proto_depIdxs = nil
}