// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: star_tower_apply.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; namespace Proto { /// Holder for reflection information generated from star_tower_apply.proto public static partial class StarTowerApplyReflection { #region Descriptor /// File descriptor for star_tower_apply.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static StarTowerApplyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChZzdGFyX3Rvd2VyX2FwcGx5LnByb3RvEgVwcm90bxoMcHVibGljLnByb3Rv", "GhdwdWJsaWNfc3Rhcl90b3dlci5wcm90byKvAQoRU3RhclRvd2VyQXBwbHlS", "ZXESCgoCSWQYASABKA0SEwoLRm9ybWF0aW9uSWQYAiABKA0SDgoGQ2hhckhw", "GAMgASgNEg0KBU1hcElkGAQgASgNEg8KB1BhcmFtSWQYBSABKA0SEAoITWFw", "UGFyYW0YBiABKAkSEgoKTWFwVGFibGVJZBgHIAEoDRINCgVTd2VlcBgPIAEo", "CBIUCgtOZXh0UGFja2FnZRj/DyABKAwi8QEKElN0YXJUb3dlckFwcGx5UmVz", "cBIiCgRJbmZvGAEgASgLMhQucHJvdG8uU3RhclRvd2VySW5mbxIOCgZMYXN0", "SWQYAiABKA0SEAoIUmVwb3J0SWQYAyABKAQSDwoHQ29pblF0eRgEIAEoDRIN", "CgVOb3RlcxgFIAMoDRISCgpGYXRlQ2FyZElkGAYgASgNEhMKC05ld0ZhdGVD", "YXJkGAcgASgIEhMKC1N3ZWVwVGlja2V0GAggASgNEiEKBkNoYW5nZRgPIAEo", "CzIRLnByb3RvLkNoYW5nZUluZm8SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABi", "BnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.PublicStarTowerReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerApplyReq), global::Proto.StarTowerApplyReq.Parser, new[]{ "Id", "FormationId", "CharHp", "MapId", "ParamId", "MapParam", "MapTableId", "Sweep", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerApplyResp), global::Proto.StarTowerApplyResp.Parser, new[]{ "Info", "LastId", "ReportId", "CoinQty", "Notes", "FateCardId", "NewFateCard", "SweepTicket", "Change", "NextPackage" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class StarTowerApplyReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StarTowerApplyReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Proto.StarTowerApplyReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StarTowerApplyReq() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StarTowerApplyReq(StarTowerApplyReq other) : this() { id_ = other.id_; formationId_ = other.formationId_; charHp_ = other.charHp_; mapId_ = other.mapId_; paramId_ = other.paramId_; mapParam_ = other.mapParam_; mapTableId_ = other.mapTableId_; sweep_ = other.sweep_; nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StarTowerApplyReq Clone() { return new StarTowerApplyReq(this); } /// Field number for the "Id" field. public const int IdFieldNumber = 1; private uint id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Id { get { return id_; } set { id_ = value; } } /// Field number for the "FormationId" field. public const int FormationIdFieldNumber = 2; private uint formationId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint FormationId { get { return formationId_; } set { formationId_ = value; } } /// Field number for the "CharHp" field. public const int CharHpFieldNumber = 3; private uint charHp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CharHp { get { return charHp_; } set { charHp_ = value; } } /// Field number for the "MapId" field. public const int MapIdFieldNumber = 4; private uint mapId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint MapId { get { return mapId_; } set { mapId_ = value; } } /// Field number for the "ParamId" field. public const int ParamIdFieldNumber = 5; private uint paramId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ParamId { get { return paramId_; } set { paramId_ = value; } } /// Field number for the "MapParam" field. public const int MapParamFieldNumber = 6; private string mapParam_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string MapParam { get { return mapParam_; } set { mapParam_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "MapTableId" field. public const int MapTableIdFieldNumber = 7; private uint mapTableId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint MapTableId { get { return mapTableId_; } set { mapTableId_ = value; } } /// Field number for the "Sweep" field. public const int SweepFieldNumber = 15; private bool sweep_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Sweep { get { return sweep_; } set { sweep_ = value; } } /// Field number for the "NextPackage" field. public const int NextPackageFieldNumber = 2047; private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString NextPackage { get { return nextPackage_; } set { nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as StarTowerApplyReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(StarTowerApplyReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (FormationId != other.FormationId) return false; if (CharHp != other.CharHp) return false; if (MapId != other.MapId) return false; if (ParamId != other.ParamId) return false; if (MapParam != other.MapParam) return false; if (MapTableId != other.MapTableId) return false; if (Sweep != other.Sweep) return false; if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Id != 0) hash ^= Id.GetHashCode(); if (FormationId != 0) hash ^= FormationId.GetHashCode(); if (CharHp != 0) hash ^= CharHp.GetHashCode(); if (MapId != 0) hash ^= MapId.GetHashCode(); if (ParamId != 0) hash ^= ParamId.GetHashCode(); if (MapParam.Length != 0) hash ^= MapParam.GetHashCode(); if (MapTableId != 0) hash ^= MapTableId.GetHashCode(); if (Sweep != false) hash ^= Sweep.GetHashCode(); if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (Id != 0) { output.WriteRawTag(8); output.WriteUInt32(Id); } if (FormationId != 0) { output.WriteRawTag(16); output.WriteUInt32(FormationId); } if (CharHp != 0) { output.WriteRawTag(24); output.WriteUInt32(CharHp); } if (MapId != 0) { output.WriteRawTag(32); output.WriteUInt32(MapId); } if (ParamId != 0) { output.WriteRawTag(40); output.WriteUInt32(ParamId); } if (MapParam.Length != 0) { output.WriteRawTag(50); output.WriteString(MapParam); } if (MapTableId != 0) { output.WriteRawTag(56); output.WriteUInt32(MapTableId); } if (Sweep != false) { output.WriteRawTag(120); output.WriteBool(Sweep); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Id != 0) { output.WriteRawTag(8); output.WriteUInt32(Id); } if (FormationId != 0) { output.WriteRawTag(16); output.WriteUInt32(FormationId); } if (CharHp != 0) { output.WriteRawTag(24); output.WriteUInt32(CharHp); } if (MapId != 0) { output.WriteRawTag(32); output.WriteUInt32(MapId); } if (ParamId != 0) { output.WriteRawTag(40); output.WriteUInt32(ParamId); } if (MapParam.Length != 0) { output.WriteRawTag(50); output.WriteString(MapParam); } if (MapTableId != 0) { output.WriteRawTag(56); output.WriteUInt32(MapTableId); } if (Sweep != false) { output.WriteRawTag(120); output.WriteBool(Sweep); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (Id != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); } if (FormationId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FormationId); } if (CharHp != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharHp); } if (MapId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MapId); } if (ParamId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ParamId); } if (MapParam.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(MapParam); } if (MapTableId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MapTableId); } if (Sweep != false) { size += 1 + 1; } if (NextPackage.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(StarTowerApplyReq other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.FormationId != 0) { FormationId = other.FormationId; } if (other.CharHp != 0) { CharHp = other.CharHp; } if (other.MapId != 0) { MapId = other.MapId; } if (other.ParamId != 0) { ParamId = other.ParamId; } if (other.MapParam.Length != 0) { MapParam = other.MapParam; } if (other.MapTableId != 0) { MapTableId = other.MapTableId; } if (other.Sweep != false) { Sweep = other.Sweep; } if (other.NextPackage.Length != 0) { NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Id = input.ReadUInt32(); break; } case 16: { FormationId = input.ReadUInt32(); break; } case 24: { CharHp = input.ReadUInt32(); break; } case 32: { MapId = input.ReadUInt32(); break; } case 40: { ParamId = input.ReadUInt32(); break; } case 50: { MapParam = input.ReadString(); break; } case 56: { MapTableId = input.ReadUInt32(); break; } case 120: { Sweep = input.ReadBool(); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Id = input.ReadUInt32(); break; } case 16: { FormationId = input.ReadUInt32(); break; } case 24: { CharHp = input.ReadUInt32(); break; } case 32: { MapId = input.ReadUInt32(); break; } case 40: { ParamId = input.ReadUInt32(); break; } case 50: { MapParam = input.ReadString(); break; } case 56: { MapTableId = input.ReadUInt32(); break; } case 120: { Sweep = input.ReadBool(); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class StarTowerApplyResp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StarTowerApplyResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Proto.StarTowerApplyReflection.Descriptor.MessageTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StarTowerApplyResp() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StarTowerApplyResp(StarTowerApplyResp other) : this() { info_ = other.info_ != null ? other.info_.Clone() : null; lastId_ = other.lastId_; reportId_ = other.reportId_; coinQty_ = other.coinQty_; notes_ = other.notes_.Clone(); fateCardId_ = other.fateCardId_; newFateCard_ = other.newFateCard_; sweepTicket_ = other.sweepTicket_; change_ = other.change_ != null ? other.change_.Clone() : null; nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StarTowerApplyResp Clone() { return new StarTowerApplyResp(this); } /// Field number for the "Info" field. public const int InfoFieldNumber = 1; private global::Proto.StarTowerInfo info_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Proto.StarTowerInfo Info { get { return info_; } set { info_ = value; } } /// Field number for the "LastId" field. public const int LastIdFieldNumber = 2; private uint lastId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint LastId { get { return lastId_; } set { lastId_ = value; } } /// Field number for the "ReportId" field. public const int ReportIdFieldNumber = 3; private ulong reportId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong ReportId { get { return reportId_; } set { reportId_ = value; } } /// Field number for the "CoinQty" field. public const int CoinQtyFieldNumber = 4; private uint coinQty_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CoinQty { get { return coinQty_; } set { coinQty_ = value; } } /// Field number for the "Notes" field. public const int NotesFieldNumber = 5; private static readonly pb::FieldCodec _repeated_notes_codec = pb::FieldCodec.ForUInt32(42); private readonly pbc::RepeatedField notes_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Notes { get { return notes_; } } /// Field number for the "FateCardId" field. public const int FateCardIdFieldNumber = 6; private uint fateCardId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint FateCardId { get { return fateCardId_; } set { fateCardId_ = value; } } /// Field number for the "NewFateCard" field. public const int NewFateCardFieldNumber = 7; private bool newFateCard_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool NewFateCard { get { return newFateCard_; } set { newFateCard_ = value; } } /// Field number for the "SweepTicket" field. public const int SweepTicketFieldNumber = 8; private uint sweepTicket_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint SweepTicket { get { return sweepTicket_; } set { sweepTicket_ = value; } } /// Field number for the "Change" field. public const int ChangeFieldNumber = 15; private global::Proto.ChangeInfo change_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Proto.ChangeInfo Change { get { return change_; } set { change_ = value; } } /// Field number for the "NextPackage" field. public const int NextPackageFieldNumber = 2047; private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString NextPackage { get { return nextPackage_; } set { nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as StarTowerApplyResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(StarTowerApplyResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Info, other.Info)) return false; if (LastId != other.LastId) return false; if (ReportId != other.ReportId) return false; if (CoinQty != other.CoinQty) return false; if(!notes_.Equals(other.notes_)) return false; if (FateCardId != other.FateCardId) return false; if (NewFateCard != other.NewFateCard) return false; if (SweepTicket != other.SweepTicket) return false; if (!object.Equals(Change, other.Change)) return false; if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (info_ != null) hash ^= Info.GetHashCode(); if (LastId != 0) hash ^= LastId.GetHashCode(); if (ReportId != 0UL) hash ^= ReportId.GetHashCode(); if (CoinQty != 0) hash ^= CoinQty.GetHashCode(); hash ^= notes_.GetHashCode(); if (FateCardId != 0) hash ^= FateCardId.GetHashCode(); if (NewFateCard != false) hash ^= NewFateCard.GetHashCode(); if (SweepTicket != 0) hash ^= SweepTicket.GetHashCode(); if (change_ != null) hash ^= Change.GetHashCode(); if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (info_ != null) { output.WriteRawTag(10); output.WriteMessage(Info); } if (LastId != 0) { output.WriteRawTag(16); output.WriteUInt32(LastId); } if (ReportId != 0UL) { output.WriteRawTag(24); output.WriteUInt64(ReportId); } if (CoinQty != 0) { output.WriteRawTag(32); output.WriteUInt32(CoinQty); } notes_.WriteTo(output, _repeated_notes_codec); if (FateCardId != 0) { output.WriteRawTag(48); output.WriteUInt32(FateCardId); } if (NewFateCard != false) { output.WriteRawTag(56); output.WriteBool(NewFateCard); } if (SweepTicket != 0) { output.WriteRawTag(64); output.WriteUInt32(SweepTicket); } if (change_ != null) { output.WriteRawTag(122); output.WriteMessage(Change); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (info_ != null) { output.WriteRawTag(10); output.WriteMessage(Info); } if (LastId != 0) { output.WriteRawTag(16); output.WriteUInt32(LastId); } if (ReportId != 0UL) { output.WriteRawTag(24); output.WriteUInt64(ReportId); } if (CoinQty != 0) { output.WriteRawTag(32); output.WriteUInt32(CoinQty); } notes_.WriteTo(ref output, _repeated_notes_codec); if (FateCardId != 0) { output.WriteRawTag(48); output.WriteUInt32(FateCardId); } if (NewFateCard != false) { output.WriteRawTag(56); output.WriteBool(NewFateCard); } if (SweepTicket != 0) { output.WriteRawTag(64); output.WriteUInt32(SweepTicket); } if (change_ != null) { output.WriteRawTag(122); output.WriteMessage(Change); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (info_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Info); } if (LastId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LastId); } if (ReportId != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ReportId); } if (CoinQty != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CoinQty); } size += notes_.CalculateSize(_repeated_notes_codec); if (FateCardId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FateCardId); } if (NewFateCard != false) { size += 1 + 1; } if (SweepTicket != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SweepTicket); } if (change_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); } if (NextPackage.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(StarTowerApplyResp other) { if (other == null) { return; } if (other.info_ != null) { if (info_ == null) { Info = new global::Proto.StarTowerInfo(); } Info.MergeFrom(other.Info); } if (other.LastId != 0) { LastId = other.LastId; } if (other.ReportId != 0UL) { ReportId = other.ReportId; } if (other.CoinQty != 0) { CoinQty = other.CoinQty; } notes_.Add(other.notes_); if (other.FateCardId != 0) { FateCardId = other.FateCardId; } if (other.NewFateCard != false) { NewFateCard = other.NewFateCard; } if (other.SweepTicket != 0) { SweepTicket = other.SweepTicket; } if (other.change_ != null) { if (change_ == null) { Change = new global::Proto.ChangeInfo(); } Change.MergeFrom(other.Change); } if (other.NextPackage.Length != 0) { NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (info_ == null) { Info = new global::Proto.StarTowerInfo(); } input.ReadMessage(Info); break; } case 16: { LastId = input.ReadUInt32(); break; } case 24: { ReportId = input.ReadUInt64(); break; } case 32: { CoinQty = input.ReadUInt32(); break; } case 42: case 40: { notes_.AddEntriesFrom(input, _repeated_notes_codec); break; } case 48: { FateCardId = input.ReadUInt32(); break; } case 56: { NewFateCard = input.ReadBool(); break; } case 64: { SweepTicket = input.ReadUInt32(); break; } case 122: { if (change_ == null) { Change = new global::Proto.ChangeInfo(); } input.ReadMessage(Change); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (info_ == null) { Info = new global::Proto.StarTowerInfo(); } input.ReadMessage(Info); break; } case 16: { LastId = input.ReadUInt32(); break; } case 24: { ReportId = input.ReadUInt64(); break; } case 32: { CoinQty = input.ReadUInt32(); break; } case 42: case 40: { notes_.AddEntriesFrom(ref input, _repeated_notes_codec); break; } case 48: { FateCardId = input.ReadUInt32(); break; } case 56: { NewFateCard = input.ReadBool(); break; } case 64: { SweepTicket = input.ReadUInt32(); break; } case 122: { if (change_ == null) { Change = new global::Proto.ChangeInfo(); } input.ReadMessage(Change); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } #endregion } #endregion Designer generated code