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

606 lines
22 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/v2/state.proto
package statev2
import (
v1 "bd2server/gen/state/v1"
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)
)
type CharacterOrigin int32
const (
CharacterOrigin_CHARACTER_ORIGIN_UNSPECIFIED CharacterOrigin = 0
// Character supplied by story/bootstrap state (V1 CharacterState).
CharacterOrigin_CHARACTER_ORIGIN_BASE CharacterOrigin = 1
// Durable account-owned character (V1 Collection.characters).
CharacterOrigin_CHARACTER_ORIGIN_ACQUIRED CharacterOrigin = 2
)
// Enum value maps for CharacterOrigin.
var (
CharacterOrigin_name = map[int32]string{
0: "CHARACTER_ORIGIN_UNSPECIFIED",
1: "CHARACTER_ORIGIN_BASE",
2: "CHARACTER_ORIGIN_ACQUIRED",
}
CharacterOrigin_value = map[string]int32{
"CHARACTER_ORIGIN_UNSPECIFIED": 0,
"CHARACTER_ORIGIN_BASE": 1,
"CHARACTER_ORIGIN_ACQUIRED": 2,
}
)
func (x CharacterOrigin) Enum() *CharacterOrigin {
p := new(CharacterOrigin)
*p = x
return p
}
func (x CharacterOrigin) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CharacterOrigin) Descriptor() protoreflect.EnumDescriptor {
return file_bd2_state_v2_state_proto_enumTypes[0].Descriptor()
}
func (CharacterOrigin) Type() protoreflect.EnumType {
return &file_bd2_state_v2_state_proto_enumTypes[0]
}
func (x CharacterOrigin) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use CharacterOrigin.Descriptor instead.
func (CharacterOrigin) EnumDescriptor() ([]byte, []int) {
return file_bd2_state_v2_state_proto_rawDescGZIP(), []int{0}
}
// Version 2 is an incremental semantic schema. Unchanged frozen V1 value
// messages are reused deliberately; the ownership layout below is V2-owned.
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 *v1.Progress `protobuf:"bytes,10,opt,name=progress,proto3" json:"progress,omitempty"`
Deck *v1.Deck `protobuf:"bytes,11,opt,name=deck,proto3" json:"deck,omitempty"`
Inventory *v1.Inventory `protobuf:"bytes,12,opt,name=inventory,proto3" json:"inventory,omitempty"`
Equipment *v1.EquipmentInventory `protobuf:"bytes,13,opt,name=equipment,proto3" json:"equipment,omitempty"`
Roster *CharacterRoster `protobuf:"bytes,14,opt,name=roster,proto3" json:"roster,omitempty"`
Collection *CollectionLedger `protobuf:"bytes,15,opt,name=collection,proto3" json:"collection,omitempty"`
Wallet *v1.Wallet `protobuf:"bytes,16,opt,name=wallet,proto3" json:"wallet,omitempty"`
Mail *v1.MailState `protobuf:"bytes,17,opt,name=mail,proto3" json:"mail,omitempty"`
Missions *v1.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_v2_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_v2_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_v2_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() *v1.Progress {
if x != nil {
return x.Progress
}
return nil
}
func (x *Snapshot) GetDeck() *v1.Deck {
if x != nil {
return x.Deck
}
return nil
}
func (x *Snapshot) GetInventory() *v1.Inventory {
if x != nil {
return x.Inventory
}
return nil
}
func (x *Snapshot) GetEquipment() *v1.EquipmentInventory {
if x != nil {
return x.Equipment
}
return nil
}
func (x *Snapshot) GetRoster() *CharacterRoster {
if x != nil {
return x.Roster
}
return nil
}
func (x *Snapshot) GetCollection() *CollectionLedger {
if x != nil {
return x.Collection
}
return nil
}
func (x *Snapshot) GetWallet() *v1.Wallet {
if x != nil {
return x.Wallet
}
return nil
}
func (x *Snapshot) GetMail() *v1.MailState {
if x != nil {
return x.Mail
}
return nil
}
func (x *Snapshot) GetMissions() *v1.MissionState {
if x != nil {
return x.Missions
}
return nil
}
type CharacterRecord struct {
state protoimpl.MessageState `protogen:"open.v1"`
Character *v1.Character `protobuf:"bytes,1,opt,name=character,proto3" json:"character,omitempty"`
Origin CharacterOrigin `protobuf:"varint,2,opt,name=origin,proto3,enum=bd2.state.v2.CharacterOrigin" json:"origin,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CharacterRecord) Reset() {
*x = CharacterRecord{}
mi := &file_bd2_state_v2_state_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CharacterRecord) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CharacterRecord) ProtoMessage() {}
func (x *CharacterRecord) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v2_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 CharacterRecord.ProtoReflect.Descriptor instead.
func (*CharacterRecord) Descriptor() ([]byte, []int) {
return file_bd2_state_v2_state_proto_rawDescGZIP(), []int{1}
}
func (x *CharacterRecord) GetCharacter() *v1.Character {
if x != nil {
return x.Character
}
return nil
}
func (x *CharacterRecord) GetOrigin() CharacterOrigin {
if x != nil {
return x.Origin
}
return CharacterOrigin_CHARACTER_ORIGIN_UNSPECIFIED
}
type CharacterRoster struct {
state protoimpl.MessageState `protogen:"open.v1"`
// These allocators apply only to acquired characters and costumes. Base
// character identities are allocated by the bootstrap source.
NextAcquiredCharacterIndex uint64 `protobuf:"varint,1,opt,name=next_acquired_character_index,json=nextAcquiredCharacterIndex,proto3" json:"next_acquired_character_index,omitempty"`
NextCostumeIndex uint64 `protobuf:"varint,2,opt,name=next_costume_index,json=nextCostumeIndex,proto3" json:"next_costume_index,omitempty"`
Characters []*CharacterRecord `protobuf:"bytes,3,rep,name=characters,proto3" json:"characters,omitempty"`
Costumes []*v1.Costume `protobuf:"bytes,4,rep,name=costumes,proto3" json:"costumes,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CharacterRoster) Reset() {
*x = CharacterRoster{}
mi := &file_bd2_state_v2_state_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CharacterRoster) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CharacterRoster) ProtoMessage() {}
func (x *CharacterRoster) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v2_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 CharacterRoster.ProtoReflect.Descriptor instead.
func (*CharacterRoster) Descriptor() ([]byte, []int) {
return file_bd2_state_v2_state_proto_rawDescGZIP(), []int{2}
}
func (x *CharacterRoster) GetNextAcquiredCharacterIndex() uint64 {
if x != nil {
return x.NextAcquiredCharacterIndex
}
return 0
}
func (x *CharacterRoster) GetNextCostumeIndex() uint64 {
if x != nil {
return x.NextCostumeIndex
}
return 0
}
func (x *CharacterRoster) GetCharacters() []*CharacterRecord {
if x != nil {
return x.Characters
}
return nil
}
func (x *CharacterRoster) GetCostumes() []*v1.Costume {
if x != nil {
return x.Costumes
}
return nil
}
// Collection no longer owns character entities. It contains only preview,
// gacha accounting and idempotent grant history.
type CollectionLedger struct {
state protoimpl.MessageState `protogen:"open.v1"`
LatestPreview []uint64 `protobuf:"varint,1,rep,packed,name=latest_preview,json=latestPreview,proto3" json:"latest_preview,omitempty"`
PreviewEventIndex uint64 `protobuf:"varint,2,opt,name=preview_event_index,json=previewEventIndex,proto3" json:"preview_event_index,omitempty"`
PreviewLocked bool `protobuf:"varint,3,opt,name=preview_locked,json=previewLocked,proto3" json:"preview_locked,omitempty"`
BaseCostumeLevels []*v1.NamedCount `protobuf:"bytes,4,rep,name=base_costume_levels,json=baseCostumeLevels,proto3" json:"base_costume_levels,omitempty"`
GachaSelections []*v1.NamedSelections `protobuf:"bytes,5,rep,name=gacha_selections,json=gachaSelections,proto3" json:"gacha_selections,omitempty"`
StepUpProgress []*v1.NamedCount `protobuf:"bytes,6,rep,name=step_up_progress,json=stepUpProgress,proto3" json:"step_up_progress,omitempty"`
GachaUsers []*v1.NamedGachaUser `protobuf:"bytes,7,rep,name=gacha_users,json=gachaUsers,proto3" json:"gacha_users,omitempty"`
GachaFixed []*v1.NamedGachaFixed `protobuf:"bytes,8,rep,name=gacha_fixed,json=gachaFixed,proto3" json:"gacha_fixed,omitempty"`
GachaApplied []string `protobuf:"bytes,9,rep,name=gacha_applied,json=gachaApplied,proto3" json:"gacha_applied,omitempty"`
GachaPointExchanges []*v1.NamedGachaPointExchange `protobuf:"bytes,10,rep,name=gacha_point_exchanges,json=gachaPointExchanges,proto3" json:"gacha_point_exchanges,omitempty"`
GachaCountCorrected bool `protobuf:"varint,11,opt,name=gacha_count_corrected,json=gachaCountCorrected,proto3" json:"gacha_count_corrected,omitempty"`
Grants []*v1.CollectionGrant `protobuf:"bytes,12,rep,name=grants,proto3" json:"grants,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CollectionLedger) Reset() {
*x = CollectionLedger{}
mi := &file_bd2_state_v2_state_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CollectionLedger) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CollectionLedger) ProtoMessage() {}
func (x *CollectionLedger) ProtoReflect() protoreflect.Message {
mi := &file_bd2_state_v2_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 CollectionLedger.ProtoReflect.Descriptor instead.
func (*CollectionLedger) Descriptor() ([]byte, []int) {
return file_bd2_state_v2_state_proto_rawDescGZIP(), []int{3}
}
func (x *CollectionLedger) GetLatestPreview() []uint64 {
if x != nil {
return x.LatestPreview
}
return nil
}
func (x *CollectionLedger) GetPreviewEventIndex() uint64 {
if x != nil {
return x.PreviewEventIndex
}
return 0
}
func (x *CollectionLedger) GetPreviewLocked() bool {
if x != nil {
return x.PreviewLocked
}
return false
}
func (x *CollectionLedger) GetBaseCostumeLevels() []*v1.NamedCount {
if x != nil {
return x.BaseCostumeLevels
}
return nil
}
func (x *CollectionLedger) GetGachaSelections() []*v1.NamedSelections {
if x != nil {
return x.GachaSelections
}
return nil
}
func (x *CollectionLedger) GetStepUpProgress() []*v1.NamedCount {
if x != nil {
return x.StepUpProgress
}
return nil
}
func (x *CollectionLedger) GetGachaUsers() []*v1.NamedGachaUser {
if x != nil {
return x.GachaUsers
}
return nil
}
func (x *CollectionLedger) GetGachaFixed() []*v1.NamedGachaFixed {
if x != nil {
return x.GachaFixed
}
return nil
}
func (x *CollectionLedger) GetGachaApplied() []string {
if x != nil {
return x.GachaApplied
}
return nil
}
func (x *CollectionLedger) GetGachaPointExchanges() []*v1.NamedGachaPointExchange {
if x != nil {
return x.GachaPointExchanges
}
return nil
}
func (x *CollectionLedger) GetGachaCountCorrected() bool {
if x != nil {
return x.GachaCountCorrected
}
return false
}
func (x *CollectionLedger) GetGrants() []*v1.CollectionGrant {
if x != nil {
return x.Grants
}
return nil
}
var File_bd2_state_v2_state_proto protoreflect.FileDescriptor
const file_bd2_state_v2_state_proto_rawDesc = "" +
"\n" +
"\x18bd2/state/v2/state.proto\x12\fbd2.state.v2\x1a\x18bd2/state/v1/state.proto\"\xe1\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\x125\n" +
"\x06roster\x18\x0e \x01(\v2\x1d.bd2.state.v2.CharacterRosterR\x06roster\x12>\n" +
"\n" +
"collection\x18\x0f \x01(\v2\x1e.bd2.state.v2.CollectionLedgerR\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\"\x7f\n" +
"\x0fCharacterRecord\x125\n" +
"\tcharacter\x18\x01 \x01(\v2\x17.bd2.state.v1.CharacterR\tcharacter\x125\n" +
"\x06origin\x18\x02 \x01(\x0e2\x1d.bd2.state.v2.CharacterOriginR\x06origin\"\xf4\x01\n" +
"\x0fCharacterRoster\x12A\n" +
"\x1dnext_acquired_character_index\x18\x01 \x01(\x04R\x1anextAcquiredCharacterIndex\x12,\n" +
"\x12next_costume_index\x18\x02 \x01(\x04R\x10nextCostumeIndex\x12=\n" +
"\n" +
"characters\x18\x03 \x03(\v2\x1d.bd2.state.v2.CharacterRecordR\n" +
"characters\x121\n" +
"\bcostumes\x18\x04 \x03(\v2\x15.bd2.state.v1.CostumeR\bcostumes\"\xd2\x05\n" +
"\x10CollectionLedger\x12%\n" +
"\x0elatest_preview\x18\x01 \x03(\x04R\rlatestPreview\x12.\n" +
"\x13preview_event_index\x18\x02 \x01(\x04R\x11previewEventIndex\x12%\n" +
"\x0epreview_locked\x18\x03 \x01(\bR\rpreviewLocked\x12H\n" +
"\x13base_costume_levels\x18\x04 \x03(\v2\x18.bd2.state.v1.NamedCountR\x11baseCostumeLevels\x12H\n" +
"\x10gacha_selections\x18\x05 \x03(\v2\x1d.bd2.state.v1.NamedSelectionsR\x0fgachaSelections\x12B\n" +
"\x10step_up_progress\x18\x06 \x03(\v2\x18.bd2.state.v1.NamedCountR\x0estepUpProgress\x12=\n" +
"\vgacha_users\x18\a \x03(\v2\x1c.bd2.state.v1.NamedGachaUserR\n" +
"gachaUsers\x12>\n" +
"\vgacha_fixed\x18\b \x03(\v2\x1d.bd2.state.v1.NamedGachaFixedR\n" +
"gachaFixed\x12#\n" +
"\rgacha_applied\x18\t \x03(\tR\fgachaApplied\x12Y\n" +
"\x15gacha_point_exchanges\x18\n" +
" \x03(\v2%.bd2.state.v1.NamedGachaPointExchangeR\x13gachaPointExchanges\x122\n" +
"\x15gacha_count_corrected\x18\v \x01(\bR\x13gachaCountCorrected\x125\n" +
"\x06grants\x18\f \x03(\v2\x1d.bd2.state.v1.CollectionGrantR\x06grants*m\n" +
"\x0fCharacterOrigin\x12 \n" +
"\x1cCHARACTER_ORIGIN_UNSPECIFIED\x10\x00\x12\x19\n" +
"\x15CHARACTER_ORIGIN_BASE\x10\x01\x12\x1d\n" +
"\x19CHARACTER_ORIGIN_ACQUIRED\x10\x02B Z\x1ebd2server/gen/state/v2;statev2b\x06proto3"
var (
file_bd2_state_v2_state_proto_rawDescOnce sync.Once
file_bd2_state_v2_state_proto_rawDescData []byte
)
func file_bd2_state_v2_state_proto_rawDescGZIP() []byte {
file_bd2_state_v2_state_proto_rawDescOnce.Do(func() {
file_bd2_state_v2_state_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_bd2_state_v2_state_proto_rawDesc), len(file_bd2_state_v2_state_proto_rawDesc)))
})
return file_bd2_state_v2_state_proto_rawDescData
}
var file_bd2_state_v2_state_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_bd2_state_v2_state_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_bd2_state_v2_state_proto_goTypes = []any{
(CharacterOrigin)(0), // 0: bd2.state.v2.CharacterOrigin
(*Snapshot)(nil), // 1: bd2.state.v2.Snapshot
(*CharacterRecord)(nil), // 2: bd2.state.v2.CharacterRecord
(*CharacterRoster)(nil), // 3: bd2.state.v2.CharacterRoster
(*CollectionLedger)(nil), // 4: bd2.state.v2.CollectionLedger
(*v1.Progress)(nil), // 5: bd2.state.v1.Progress
(*v1.Deck)(nil), // 6: bd2.state.v1.Deck
(*v1.Inventory)(nil), // 7: bd2.state.v1.Inventory
(*v1.EquipmentInventory)(nil), // 8: bd2.state.v1.EquipmentInventory
(*v1.Wallet)(nil), // 9: bd2.state.v1.Wallet
(*v1.MailState)(nil), // 10: bd2.state.v1.MailState
(*v1.MissionState)(nil), // 11: bd2.state.v1.MissionState
(*v1.Character)(nil), // 12: bd2.state.v1.Character
(*v1.Costume)(nil), // 13: bd2.state.v1.Costume
(*v1.NamedCount)(nil), // 14: bd2.state.v1.NamedCount
(*v1.NamedSelections)(nil), // 15: bd2.state.v1.NamedSelections
(*v1.NamedGachaUser)(nil), // 16: bd2.state.v1.NamedGachaUser
(*v1.NamedGachaFixed)(nil), // 17: bd2.state.v1.NamedGachaFixed
(*v1.NamedGachaPointExchange)(nil), // 18: bd2.state.v1.NamedGachaPointExchange
(*v1.CollectionGrant)(nil), // 19: bd2.state.v1.CollectionGrant
}
var file_bd2_state_v2_state_proto_depIdxs = []int32{
5, // 0: bd2.state.v2.Snapshot.progress:type_name -> bd2.state.v1.Progress
6, // 1: bd2.state.v2.Snapshot.deck:type_name -> bd2.state.v1.Deck
7, // 2: bd2.state.v2.Snapshot.inventory:type_name -> bd2.state.v1.Inventory
8, // 3: bd2.state.v2.Snapshot.equipment:type_name -> bd2.state.v1.EquipmentInventory
3, // 4: bd2.state.v2.Snapshot.roster:type_name -> bd2.state.v2.CharacterRoster
4, // 5: bd2.state.v2.Snapshot.collection:type_name -> bd2.state.v2.CollectionLedger
9, // 6: bd2.state.v2.Snapshot.wallet:type_name -> bd2.state.v1.Wallet
10, // 7: bd2.state.v2.Snapshot.mail:type_name -> bd2.state.v1.MailState
11, // 8: bd2.state.v2.Snapshot.missions:type_name -> bd2.state.v1.MissionState
12, // 9: bd2.state.v2.CharacterRecord.character:type_name -> bd2.state.v1.Character
0, // 10: bd2.state.v2.CharacterRecord.origin:type_name -> bd2.state.v2.CharacterOrigin
2, // 11: bd2.state.v2.CharacterRoster.characters:type_name -> bd2.state.v2.CharacterRecord
13, // 12: bd2.state.v2.CharacterRoster.costumes:type_name -> bd2.state.v1.Costume
14, // 13: bd2.state.v2.CollectionLedger.base_costume_levels:type_name -> bd2.state.v1.NamedCount
15, // 14: bd2.state.v2.CollectionLedger.gacha_selections:type_name -> bd2.state.v1.NamedSelections
14, // 15: bd2.state.v2.CollectionLedger.step_up_progress:type_name -> bd2.state.v1.NamedCount
16, // 16: bd2.state.v2.CollectionLedger.gacha_users:type_name -> bd2.state.v1.NamedGachaUser
17, // 17: bd2.state.v2.CollectionLedger.gacha_fixed:type_name -> bd2.state.v1.NamedGachaFixed
18, // 18: bd2.state.v2.CollectionLedger.gacha_point_exchanges:type_name -> bd2.state.v1.NamedGachaPointExchange
19, // 19: bd2.state.v2.CollectionLedger.grants:type_name -> bd2.state.v1.CollectionGrant
20, // [20:20] is the sub-list for method output_type
20, // [20:20] is the sub-list for method input_type
20, // [20:20] is the sub-list for extension type_name
20, // [20:20] is the sub-list for extension extendee
0, // [0:20] is the sub-list for field type_name
}
func init() { file_bd2_state_v2_state_proto_init() }
func file_bd2_state_v2_state_proto_init() {
if File_bd2_state_v2_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_v2_state_proto_rawDesc), len(file_bd2_state_v2_state_proto_rawDesc)),
NumEnums: 1,
NumMessages: 4,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_bd2_state_v2_state_proto_goTypes,
DependencyIndexes: file_bd2_state_v2_state_proto_depIdxs,
EnumInfos: file_bd2_state_v2_state_proto_enumTypes,
MessageInfos: file_bd2_state_v2_state_proto_msgTypes,
}.Build()
File_bd2_state_v2_state_proto = out.File
file_bd2_state_v2_state_proto_goTypes = nil
file_bd2_state_v2_state_proto_depIdxs = nil
}