// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: cs.gacha.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 RPG.Network.Proto { /// Holder for reflection information generated from cs.gacha.proto public static partial class CsGachaReflection { #region Descriptor /// File descriptor for cs.gacha.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static CsGachaReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Cg5jcy5nYWNoYS5wcm90bxIFcHJvdG8aD2NzLmNvbW1vbi5wcm90byITChFH", "ZXRHYWNoYUluZm9Dc1JlcSLZAQoJR2FjaGFJbmZvEhkKCGdhY2hhX2lkGAEg", "ASgNUgdnYWNoYUlkEh0KCmJlZ2luX3RpbWUYAiABKA1SCWJlZ2luVGltZRIZ", "CghlbmRfdGltZRgDIAEoDVIHZW5kVGltZRIlCg5kZXRhaWxfd2VidmlldxgE", "IAEoCVINZGV0YWlsV2VidmlldxIoChBuZXdiaWVfZ2FjaGFfY250GAUgASgN", "Ug5uZXdiaWVHYWNoYUNudBImCg90b2RheV9nYWNoYV9jbnQYBiABKA1SDXRv", "ZGF5R2FjaGFDbnQiswIKEUdldEdhY2hhSW5mb1NjUnNwEhgKB3JldGNvZGUY", "ASABKA1SB3JldGNvZGUSOAoPZ2FjaGFfaW5mb19saXN0GAIgAygLMhAucHJv", "dG8uR2FjaGFJbmZvUg1nYWNoYUluZm9MaXN0EiEKDGdhY2hhX3JhbmRvbRgD", "IAEoDVILZ2FjaGFSYW5kb20SMQoVdG9kYXlfdG90YWxfZ2FjaGFfY250GAQg", "ASgNUhJ0b2RheVRvdGFsR2FjaGFDbnQSOgoadG9kYXlfc2luZ2xlX2dhY2hh", "X21heF9jbnQYBSABKA1SFnRvZGF5U2luZ2xlR2FjaGFNYXhDbnQSOAoZdG9k", "YXlfdG90YWxfZ2FjaGFfbWF4X2NudBgGIAEoDVIVdG9kYXlUb3RhbEdhY2hh", "TWF4Q250IpABCgxEb0dhY2hhQ3NSZXESGQoIZ2FjaGFfaWQYASABKA1SB2dh", "Y2hhSWQSGwoJZ2FjaGFfbnVtGAIgASgNUghnYWNoYU51bRIhCgxnYWNoYV9y", "YW5kb20YAyABKA1SC2dhY2hhUmFuZG9tEiUKDnNpbXVsYXRlX21hZ2ljGAQg", "ASgNUg1zaW11bGF0ZU1hZ2ljIr0BCglHYWNoYUl0ZW0SKgoKZ2FjaGFfaXRl", "bRgBIAEoCzILLnByb3RvLkl0ZW1SCWdhY2hhSXRlbRI9ChJ0cmFuc2Zlcl9p", "dGVtX2xpc3QYAiABKAsyDy5wcm90by5JdGVtTGlzdFIQdHJhbnNmZXJJdGVt", "TGlzdBIVCgZpc19uZXcYAyABKAhSBWlzTmV3Ei4KCnRva2VuX2l0ZW0YBCAB", "KAsyDy5wcm90by5JdGVtTGlzdFIJdG9rZW5JdGVtIskCCgxEb0dhY2hhU2NS", "c3ASGAoHcmV0Y29kZRgBIAEoDVIHcmV0Y29kZRIZCghnYWNoYV9pZBgCIAEo", "DVIHZ2FjaGFJZBIbCglnYWNoYV9udW0YAyABKA1SCGdhY2hhTnVtEjgKD2dh", "Y2hhX2l0ZW1fbGlzdBgEIAMoCzIQLnByb3RvLkdhY2hhSXRlbVINZ2FjaGFJ", "dGVtTGlzdBIoChBuZXdfZ2FjaGFfcmFuZG9tGAUgASgNUg5uZXdHYWNoYVJh", "bmRvbRIoChBuZXdiaWVfZ2FjaGFfY250GAYgASgNUg5uZXdiaWVHYWNoYUNu", "dBImCg90b2RheV9nYWNoYV9jbnQYByABKA1SDXRvZGF5R2FjaGFDbnQSMQoV", "dG9kYXlfdG90YWxfZ2FjaGFfY250GAggASgNUhJ0b2RheVRvdGFsR2FjaGFD", "bnQqhgEKDENtZEdhY2hhVHlwZRIUChBDbWRHYWNoYVR5cGVOb25lEAASGQoU", "Q21kR2V0R2FjaGFJbmZvQ3NSZXEQ7Q4SGQoUQ21kR2V0R2FjaGFJbmZvU2NS", "c3AQ7g4SFAoPQ21kRG9HYWNoYUNzUmVxEO8OEhQKD0NtZERvR2FjaGFTY1Jz", "cBDwDmIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::RPG.Network.Proto.CsCommonReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::RPG.Network.Proto.CmdGachaType), }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetGachaInfoCsReq), global::RPG.Network.Proto.GetGachaInfoCsReq.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GachaInfo), global::RPG.Network.Proto.GachaInfo.Parser, new[]{ "GachaId", "BeginTime", "EndTime", "DetailWebview", "NewbieGachaCnt", "TodayGachaCnt" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetGachaInfoScRsp), global::RPG.Network.Proto.GetGachaInfoScRsp.Parser, new[]{ "Retcode", "GachaInfoList", "GachaRandom", "TodayTotalGachaCnt", "TodaySingleGachaMaxCnt", "TodayTotalGachaMaxCnt" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.DoGachaCsReq), global::RPG.Network.Proto.DoGachaCsReq.Parser, new[]{ "GachaId", "GachaNum", "GachaRandom", "SimulateMagic" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GachaItem), global::RPG.Network.Proto.GachaItem.Parser, new[]{ "GachaItem_", "TransferItemList", "IsNew", "TokenItem" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.DoGachaScRsp), global::RPG.Network.Proto.DoGachaScRsp.Parser, new[]{ "Retcode", "GachaId", "GachaNum", "GachaItemList", "NewGachaRandom", "NewbieGachaCnt", "TodayGachaCnt", "TodayTotalGachaCnt" }, null, null, null, null) })); } #endregion } #region Enums public enum CmdGachaType { [pbr::OriginalName("CmdGachaTypeNone")] None = 0, [pbr::OriginalName("CmdGetGachaInfoCsReq")] CmdGetGachaInfoCsReq = 1901, [pbr::OriginalName("CmdGetGachaInfoScRsp")] CmdGetGachaInfoScRsp = 1902, [pbr::OriginalName("CmdDoGachaCsReq")] CmdDoGachaCsReq = 1903, [pbr::OriginalName("CmdDoGachaScRsp")] CmdDoGachaScRsp = 1904, } #endregion #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GetGachaInfoCsReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetGachaInfoCsReq()); 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::RPG.Network.Proto.CsGachaReflection.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 GetGachaInfoCsReq() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetGachaInfoCsReq(GetGachaInfoCsReq other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetGachaInfoCsReq Clone() { return new GetGachaInfoCsReq(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetGachaInfoCsReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetGachaInfoCsReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; 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 (_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 (_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 (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetGachaInfoCsReq other) { if (other == null) { return; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GachaInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GachaInfo()); 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::RPG.Network.Proto.CsGachaReflection.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 GachaInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GachaInfo(GachaInfo other) : this() { gachaId_ = other.gachaId_; beginTime_ = other.beginTime_; endTime_ = other.endTime_; detailWebview_ = other.detailWebview_; newbieGachaCnt_ = other.newbieGachaCnt_; todayGachaCnt_ = other.todayGachaCnt_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GachaInfo Clone() { return new GachaInfo(this); } /// Field number for the "gacha_id" field. public const int GachaIdFieldNumber = 1; private uint gachaId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GachaId { get { return gachaId_; } set { gachaId_ = value; } } /// Field number for the "begin_time" field. public const int BeginTimeFieldNumber = 2; private uint beginTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint BeginTime { get { return beginTime_; } set { beginTime_ = value; } } /// Field number for the "end_time" field. public const int EndTimeFieldNumber = 3; private uint endTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint EndTime { get { return endTime_; } set { endTime_ = value; } } /// Field number for the "detail_webview" field. public const int DetailWebviewFieldNumber = 4; private string detailWebview_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string DetailWebview { get { return detailWebview_; } set { detailWebview_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "newbie_gacha_cnt" field. public const int NewbieGachaCntFieldNumber = 5; private uint newbieGachaCnt_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint NewbieGachaCnt { get { return newbieGachaCnt_; } set { newbieGachaCnt_ = value; } } /// Field number for the "today_gacha_cnt" field. public const int TodayGachaCntFieldNumber = 6; private uint todayGachaCnt_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint TodayGachaCnt { get { return todayGachaCnt_; } set { todayGachaCnt_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GachaInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GachaInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (GachaId != other.GachaId) return false; if (BeginTime != other.BeginTime) return false; if (EndTime != other.EndTime) return false; if (DetailWebview != other.DetailWebview) return false; if (NewbieGachaCnt != other.NewbieGachaCnt) return false; if (TodayGachaCnt != other.TodayGachaCnt) 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 (GachaId != 0) hash ^= GachaId.GetHashCode(); if (BeginTime != 0) hash ^= BeginTime.GetHashCode(); if (EndTime != 0) hash ^= EndTime.GetHashCode(); if (DetailWebview.Length != 0) hash ^= DetailWebview.GetHashCode(); if (NewbieGachaCnt != 0) hash ^= NewbieGachaCnt.GetHashCode(); if (TodayGachaCnt != 0) hash ^= TodayGachaCnt.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 (GachaId != 0) { output.WriteRawTag(8); output.WriteUInt32(GachaId); } if (BeginTime != 0) { output.WriteRawTag(16); output.WriteUInt32(BeginTime); } if (EndTime != 0) { output.WriteRawTag(24); output.WriteUInt32(EndTime); } if (DetailWebview.Length != 0) { output.WriteRawTag(34); output.WriteString(DetailWebview); } if (NewbieGachaCnt != 0) { output.WriteRawTag(40); output.WriteUInt32(NewbieGachaCnt); } if (TodayGachaCnt != 0) { output.WriteRawTag(48); output.WriteUInt32(TodayGachaCnt); } 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 (GachaId != 0) { output.WriteRawTag(8); output.WriteUInt32(GachaId); } if (BeginTime != 0) { output.WriteRawTag(16); output.WriteUInt32(BeginTime); } if (EndTime != 0) { output.WriteRawTag(24); output.WriteUInt32(EndTime); } if (DetailWebview.Length != 0) { output.WriteRawTag(34); output.WriteString(DetailWebview); } if (NewbieGachaCnt != 0) { output.WriteRawTag(40); output.WriteUInt32(NewbieGachaCnt); } if (TodayGachaCnt != 0) { output.WriteRawTag(48); output.WriteUInt32(TodayGachaCnt); } 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 (GachaId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GachaId); } if (BeginTime != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BeginTime); } if (EndTime != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EndTime); } if (DetailWebview.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DetailWebview); } if (NewbieGachaCnt != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NewbieGachaCnt); } if (TodayGachaCnt != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TodayGachaCnt); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GachaInfo other) { if (other == null) { return; } if (other.GachaId != 0) { GachaId = other.GachaId; } if (other.BeginTime != 0) { BeginTime = other.BeginTime; } if (other.EndTime != 0) { EndTime = other.EndTime; } if (other.DetailWebview.Length != 0) { DetailWebview = other.DetailWebview; } if (other.NewbieGachaCnt != 0) { NewbieGachaCnt = other.NewbieGachaCnt; } if (other.TodayGachaCnt != 0) { TodayGachaCnt = other.TodayGachaCnt; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { GachaId = input.ReadUInt32(); break; } case 16: { BeginTime = input.ReadUInt32(); break; } case 24: { EndTime = input.ReadUInt32(); break; } case 34: { DetailWebview = input.ReadString(); break; } case 40: { NewbieGachaCnt = input.ReadUInt32(); break; } case 48: { TodayGachaCnt = input.ReadUInt32(); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { GachaId = input.ReadUInt32(); break; } case 16: { BeginTime = input.ReadUInt32(); break; } case 24: { EndTime = input.ReadUInt32(); break; } case 34: { DetailWebview = input.ReadString(); break; } case 40: { NewbieGachaCnt = input.ReadUInt32(); break; } case 48: { TodayGachaCnt = input.ReadUInt32(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GetGachaInfoScRsp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetGachaInfoScRsp()); 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::RPG.Network.Proto.CsGachaReflection.Descriptor.MessageTypes[2]; } } [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 GetGachaInfoScRsp() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetGachaInfoScRsp(GetGachaInfoScRsp other) : this() { retcode_ = other.retcode_; gachaInfoList_ = other.gachaInfoList_.Clone(); gachaRandom_ = other.gachaRandom_; todayTotalGachaCnt_ = other.todayTotalGachaCnt_; todaySingleGachaMaxCnt_ = other.todaySingleGachaMaxCnt_; todayTotalGachaMaxCnt_ = other.todayTotalGachaMaxCnt_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetGachaInfoScRsp Clone() { return new GetGachaInfoScRsp(this); } /// Field number for the "retcode" field. public const int RetcodeFieldNumber = 1; private uint retcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Retcode { get { return retcode_; } set { retcode_ = value; } } /// Field number for the "gacha_info_list" field. public const int GachaInfoListFieldNumber = 2; private static readonly pb::FieldCodec _repeated_gachaInfoList_codec = pb::FieldCodec.ForMessage(18, global::RPG.Network.Proto.GachaInfo.Parser); private readonly pbc::RepeatedField gachaInfoList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField GachaInfoList { get { return gachaInfoList_; } } /// Field number for the "gacha_random" field. public const int GachaRandomFieldNumber = 3; private uint gachaRandom_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GachaRandom { get { return gachaRandom_; } set { gachaRandom_ = value; } } /// Field number for the "today_total_gacha_cnt" field. public const int TodayTotalGachaCntFieldNumber = 4; private uint todayTotalGachaCnt_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint TodayTotalGachaCnt { get { return todayTotalGachaCnt_; } set { todayTotalGachaCnt_ = value; } } /// Field number for the "today_single_gacha_max_cnt" field. public const int TodaySingleGachaMaxCntFieldNumber = 5; private uint todaySingleGachaMaxCnt_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint TodaySingleGachaMaxCnt { get { return todaySingleGachaMaxCnt_; } set { todaySingleGachaMaxCnt_ = value; } } /// Field number for the "today_total_gacha_max_cnt" field. public const int TodayTotalGachaMaxCntFieldNumber = 6; private uint todayTotalGachaMaxCnt_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint TodayTotalGachaMaxCnt { get { return todayTotalGachaMaxCnt_; } set { todayTotalGachaMaxCnt_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetGachaInfoScRsp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetGachaInfoScRsp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Retcode != other.Retcode) return false; if(!gachaInfoList_.Equals(other.gachaInfoList_)) return false; if (GachaRandom != other.GachaRandom) return false; if (TodayTotalGachaCnt != other.TodayTotalGachaCnt) return false; if (TodaySingleGachaMaxCnt != other.TodaySingleGachaMaxCnt) return false; if (TodayTotalGachaMaxCnt != other.TodayTotalGachaMaxCnt) 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 (Retcode != 0) hash ^= Retcode.GetHashCode(); hash ^= gachaInfoList_.GetHashCode(); if (GachaRandom != 0) hash ^= GachaRandom.GetHashCode(); if (TodayTotalGachaCnt != 0) hash ^= TodayTotalGachaCnt.GetHashCode(); if (TodaySingleGachaMaxCnt != 0) hash ^= TodaySingleGachaMaxCnt.GetHashCode(); if (TodayTotalGachaMaxCnt != 0) hash ^= TodayTotalGachaMaxCnt.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 (Retcode != 0) { output.WriteRawTag(8); output.WriteUInt32(Retcode); } gachaInfoList_.WriteTo(output, _repeated_gachaInfoList_codec); if (GachaRandom != 0) { output.WriteRawTag(24); output.WriteUInt32(GachaRandom); } if (TodayTotalGachaCnt != 0) { output.WriteRawTag(32); output.WriteUInt32(TodayTotalGachaCnt); } if (TodaySingleGachaMaxCnt != 0) { output.WriteRawTag(40); output.WriteUInt32(TodaySingleGachaMaxCnt); } if (TodayTotalGachaMaxCnt != 0) { output.WriteRawTag(48); output.WriteUInt32(TodayTotalGachaMaxCnt); } 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 (Retcode != 0) { output.WriteRawTag(8); output.WriteUInt32(Retcode); } gachaInfoList_.WriteTo(ref output, _repeated_gachaInfoList_codec); if (GachaRandom != 0) { output.WriteRawTag(24); output.WriteUInt32(GachaRandom); } if (TodayTotalGachaCnt != 0) { output.WriteRawTag(32); output.WriteUInt32(TodayTotalGachaCnt); } if (TodaySingleGachaMaxCnt != 0) { output.WriteRawTag(40); output.WriteUInt32(TodaySingleGachaMaxCnt); } if (TodayTotalGachaMaxCnt != 0) { output.WriteRawTag(48); output.WriteUInt32(TodayTotalGachaMaxCnt); } 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 (Retcode != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode); } size += gachaInfoList_.CalculateSize(_repeated_gachaInfoList_codec); if (GachaRandom != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GachaRandom); } if (TodayTotalGachaCnt != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TodayTotalGachaCnt); } if (TodaySingleGachaMaxCnt != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TodaySingleGachaMaxCnt); } if (TodayTotalGachaMaxCnt != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TodayTotalGachaMaxCnt); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetGachaInfoScRsp other) { if (other == null) { return; } if (other.Retcode != 0) { Retcode = other.Retcode; } gachaInfoList_.Add(other.gachaInfoList_); if (other.GachaRandom != 0) { GachaRandom = other.GachaRandom; } if (other.TodayTotalGachaCnt != 0) { TodayTotalGachaCnt = other.TodayTotalGachaCnt; } if (other.TodaySingleGachaMaxCnt != 0) { TodaySingleGachaMaxCnt = other.TodaySingleGachaMaxCnt; } if (other.TodayTotalGachaMaxCnt != 0) { TodayTotalGachaMaxCnt = other.TodayTotalGachaMaxCnt; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Retcode = input.ReadUInt32(); break; } case 18: { gachaInfoList_.AddEntriesFrom(input, _repeated_gachaInfoList_codec); break; } case 24: { GachaRandom = input.ReadUInt32(); break; } case 32: { TodayTotalGachaCnt = input.ReadUInt32(); break; } case 40: { TodaySingleGachaMaxCnt = input.ReadUInt32(); break; } case 48: { TodayTotalGachaMaxCnt = input.ReadUInt32(); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Retcode = input.ReadUInt32(); break; } case 18: { gachaInfoList_.AddEntriesFrom(ref input, _repeated_gachaInfoList_codec); break; } case 24: { GachaRandom = input.ReadUInt32(); break; } case 32: { TodayTotalGachaCnt = input.ReadUInt32(); break; } case 40: { TodaySingleGachaMaxCnt = input.ReadUInt32(); break; } case 48: { TodayTotalGachaMaxCnt = input.ReadUInt32(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class DoGachaCsReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DoGachaCsReq()); 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::RPG.Network.Proto.CsGachaReflection.Descriptor.MessageTypes[3]; } } [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 DoGachaCsReq() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DoGachaCsReq(DoGachaCsReq other) : this() { gachaId_ = other.gachaId_; gachaNum_ = other.gachaNum_; gachaRandom_ = other.gachaRandom_; simulateMagic_ = other.simulateMagic_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DoGachaCsReq Clone() { return new DoGachaCsReq(this); } /// Field number for the "gacha_id" field. public const int GachaIdFieldNumber = 1; private uint gachaId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GachaId { get { return gachaId_; } set { gachaId_ = value; } } /// Field number for the "gacha_num" field. public const int GachaNumFieldNumber = 2; private uint gachaNum_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GachaNum { get { return gachaNum_; } set { gachaNum_ = value; } } /// Field number for the "gacha_random" field. public const int GachaRandomFieldNumber = 3; private uint gachaRandom_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GachaRandom { get { return gachaRandom_; } set { gachaRandom_ = value; } } /// Field number for the "simulate_magic" field. public const int SimulateMagicFieldNumber = 4; private uint simulateMagic_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint SimulateMagic { get { return simulateMagic_; } set { simulateMagic_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as DoGachaCsReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DoGachaCsReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (GachaId != other.GachaId) return false; if (GachaNum != other.GachaNum) return false; if (GachaRandom != other.GachaRandom) return false; if (SimulateMagic != other.SimulateMagic) 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 (GachaId != 0) hash ^= GachaId.GetHashCode(); if (GachaNum != 0) hash ^= GachaNum.GetHashCode(); if (GachaRandom != 0) hash ^= GachaRandom.GetHashCode(); if (SimulateMagic != 0) hash ^= SimulateMagic.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 (GachaId != 0) { output.WriteRawTag(8); output.WriteUInt32(GachaId); } if (GachaNum != 0) { output.WriteRawTag(16); output.WriteUInt32(GachaNum); } if (GachaRandom != 0) { output.WriteRawTag(24); output.WriteUInt32(GachaRandom); } if (SimulateMagic != 0) { output.WriteRawTag(32); output.WriteUInt32(SimulateMagic); } 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 (GachaId != 0) { output.WriteRawTag(8); output.WriteUInt32(GachaId); } if (GachaNum != 0) { output.WriteRawTag(16); output.WriteUInt32(GachaNum); } if (GachaRandom != 0) { output.WriteRawTag(24); output.WriteUInt32(GachaRandom); } if (SimulateMagic != 0) { output.WriteRawTag(32); output.WriteUInt32(SimulateMagic); } 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 (GachaId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GachaId); } if (GachaNum != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GachaNum); } if (GachaRandom != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GachaRandom); } if (SimulateMagic != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SimulateMagic); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DoGachaCsReq other) { if (other == null) { return; } if (other.GachaId != 0) { GachaId = other.GachaId; } if (other.GachaNum != 0) { GachaNum = other.GachaNum; } if (other.GachaRandom != 0) { GachaRandom = other.GachaRandom; } if (other.SimulateMagic != 0) { SimulateMagic = other.SimulateMagic; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { GachaId = input.ReadUInt32(); break; } case 16: { GachaNum = input.ReadUInt32(); break; } case 24: { GachaRandom = input.ReadUInt32(); break; } case 32: { SimulateMagic = input.ReadUInt32(); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { GachaId = input.ReadUInt32(); break; } case 16: { GachaNum = input.ReadUInt32(); break; } case 24: { GachaRandom = input.ReadUInt32(); break; } case 32: { SimulateMagic = input.ReadUInt32(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GachaItem : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GachaItem()); 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::RPG.Network.Proto.CsGachaReflection.Descriptor.MessageTypes[4]; } } [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 GachaItem() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GachaItem(GachaItem other) : this() { gachaItem_ = other.gachaItem_ != null ? other.gachaItem_.Clone() : null; transferItemList_ = other.transferItemList_ != null ? other.transferItemList_.Clone() : null; isNew_ = other.isNew_; tokenItem_ = other.tokenItem_ != null ? other.tokenItem_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GachaItem Clone() { return new GachaItem(this); } /// Field number for the "gacha_item" field. public const int GachaItem_FieldNumber = 1; private global::RPG.Network.Proto.Item gachaItem_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RPG.Network.Proto.Item GachaItem_ { get { return gachaItem_; } set { gachaItem_ = value; } } /// Field number for the "transfer_item_list" field. public const int TransferItemListFieldNumber = 2; private global::RPG.Network.Proto.ItemList transferItemList_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RPG.Network.Proto.ItemList TransferItemList { get { return transferItemList_; } set { transferItemList_ = value; } } /// Field number for the "is_new" field. public const int IsNewFieldNumber = 3; private bool isNew_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsNew { get { return isNew_; } set { isNew_ = value; } } /// Field number for the "token_item" field. public const int TokenItemFieldNumber = 4; private global::RPG.Network.Proto.ItemList tokenItem_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RPG.Network.Proto.ItemList TokenItem { get { return tokenItem_; } set { tokenItem_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GachaItem); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GachaItem other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(GachaItem_, other.GachaItem_)) return false; if (!object.Equals(TransferItemList, other.TransferItemList)) return false; if (IsNew != other.IsNew) return false; if (!object.Equals(TokenItem, other.TokenItem)) 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 (gachaItem_ != null) hash ^= GachaItem_.GetHashCode(); if (transferItemList_ != null) hash ^= TransferItemList.GetHashCode(); if (IsNew != false) hash ^= IsNew.GetHashCode(); if (tokenItem_ != null) hash ^= TokenItem.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 (gachaItem_ != null) { output.WriteRawTag(10); output.WriteMessage(GachaItem_); } if (transferItemList_ != null) { output.WriteRawTag(18); output.WriteMessage(TransferItemList); } if (IsNew != false) { output.WriteRawTag(24); output.WriteBool(IsNew); } if (tokenItem_ != null) { output.WriteRawTag(34); output.WriteMessage(TokenItem); } 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 (gachaItem_ != null) { output.WriteRawTag(10); output.WriteMessage(GachaItem_); } if (transferItemList_ != null) { output.WriteRawTag(18); output.WriteMessage(TransferItemList); } if (IsNew != false) { output.WriteRawTag(24); output.WriteBool(IsNew); } if (tokenItem_ != null) { output.WriteRawTag(34); output.WriteMessage(TokenItem); } 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 (gachaItem_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(GachaItem_); } if (transferItemList_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(TransferItemList); } if (IsNew != false) { size += 1 + 1; } if (tokenItem_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(TokenItem); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GachaItem other) { if (other == null) { return; } if (other.gachaItem_ != null) { if (gachaItem_ == null) { GachaItem_ = new global::RPG.Network.Proto.Item(); } GachaItem_.MergeFrom(other.GachaItem_); } if (other.transferItemList_ != null) { if (transferItemList_ == null) { TransferItemList = new global::RPG.Network.Proto.ItemList(); } TransferItemList.MergeFrom(other.TransferItemList); } if (other.IsNew != false) { IsNew = other.IsNew; } if (other.tokenItem_ != null) { if (tokenItem_ == null) { TokenItem = new global::RPG.Network.Proto.ItemList(); } TokenItem.MergeFrom(other.TokenItem); } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (gachaItem_ == null) { GachaItem_ = new global::RPG.Network.Proto.Item(); } input.ReadMessage(GachaItem_); break; } case 18: { if (transferItemList_ == null) { TransferItemList = new global::RPG.Network.Proto.ItemList(); } input.ReadMessage(TransferItemList); break; } case 24: { IsNew = input.ReadBool(); break; } case 34: { if (tokenItem_ == null) { TokenItem = new global::RPG.Network.Proto.ItemList(); } input.ReadMessage(TokenItem); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (gachaItem_ == null) { GachaItem_ = new global::RPG.Network.Proto.Item(); } input.ReadMessage(GachaItem_); break; } case 18: { if (transferItemList_ == null) { TransferItemList = new global::RPG.Network.Proto.ItemList(); } input.ReadMessage(TransferItemList); break; } case 24: { IsNew = input.ReadBool(); break; } case 34: { if (tokenItem_ == null) { TokenItem = new global::RPG.Network.Proto.ItemList(); } input.ReadMessage(TokenItem); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class DoGachaScRsp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DoGachaScRsp()); 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::RPG.Network.Proto.CsGachaReflection.Descriptor.MessageTypes[5]; } } [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 DoGachaScRsp() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DoGachaScRsp(DoGachaScRsp other) : this() { retcode_ = other.retcode_; gachaId_ = other.gachaId_; gachaNum_ = other.gachaNum_; gachaItemList_ = other.gachaItemList_.Clone(); newGachaRandom_ = other.newGachaRandom_; newbieGachaCnt_ = other.newbieGachaCnt_; todayGachaCnt_ = other.todayGachaCnt_; todayTotalGachaCnt_ = other.todayTotalGachaCnt_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DoGachaScRsp Clone() { return new DoGachaScRsp(this); } /// Field number for the "retcode" field. public const int RetcodeFieldNumber = 1; private uint retcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Retcode { get { return retcode_; } set { retcode_ = value; } } /// Field number for the "gacha_id" field. public const int GachaIdFieldNumber = 2; private uint gachaId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GachaId { get { return gachaId_; } set { gachaId_ = value; } } /// Field number for the "gacha_num" field. public const int GachaNumFieldNumber = 3; private uint gachaNum_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GachaNum { get { return gachaNum_; } set { gachaNum_ = value; } } /// Field number for the "gacha_item_list" field. public const int GachaItemListFieldNumber = 4; private static readonly pb::FieldCodec _repeated_gachaItemList_codec = pb::FieldCodec.ForMessage(34, global::RPG.Network.Proto.GachaItem.Parser); private readonly pbc::RepeatedField gachaItemList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField GachaItemList { get { return gachaItemList_; } } /// Field number for the "new_gacha_random" field. public const int NewGachaRandomFieldNumber = 5; private uint newGachaRandom_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint NewGachaRandom { get { return newGachaRandom_; } set { newGachaRandom_ = value; } } /// Field number for the "newbie_gacha_cnt" field. public const int NewbieGachaCntFieldNumber = 6; private uint newbieGachaCnt_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint NewbieGachaCnt { get { return newbieGachaCnt_; } set { newbieGachaCnt_ = value; } } /// Field number for the "today_gacha_cnt" field. public const int TodayGachaCntFieldNumber = 7; private uint todayGachaCnt_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint TodayGachaCnt { get { return todayGachaCnt_; } set { todayGachaCnt_ = value; } } /// Field number for the "today_total_gacha_cnt" field. public const int TodayTotalGachaCntFieldNumber = 8; private uint todayTotalGachaCnt_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint TodayTotalGachaCnt { get { return todayTotalGachaCnt_; } set { todayTotalGachaCnt_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as DoGachaScRsp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DoGachaScRsp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Retcode != other.Retcode) return false; if (GachaId != other.GachaId) return false; if (GachaNum != other.GachaNum) return false; if(!gachaItemList_.Equals(other.gachaItemList_)) return false; if (NewGachaRandom != other.NewGachaRandom) return false; if (NewbieGachaCnt != other.NewbieGachaCnt) return false; if (TodayGachaCnt != other.TodayGachaCnt) return false; if (TodayTotalGachaCnt != other.TodayTotalGachaCnt) 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 (Retcode != 0) hash ^= Retcode.GetHashCode(); if (GachaId != 0) hash ^= GachaId.GetHashCode(); if (GachaNum != 0) hash ^= GachaNum.GetHashCode(); hash ^= gachaItemList_.GetHashCode(); if (NewGachaRandom != 0) hash ^= NewGachaRandom.GetHashCode(); if (NewbieGachaCnt != 0) hash ^= NewbieGachaCnt.GetHashCode(); if (TodayGachaCnt != 0) hash ^= TodayGachaCnt.GetHashCode(); if (TodayTotalGachaCnt != 0) hash ^= TodayTotalGachaCnt.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 (Retcode != 0) { output.WriteRawTag(8); output.WriteUInt32(Retcode); } if (GachaId != 0) { output.WriteRawTag(16); output.WriteUInt32(GachaId); } if (GachaNum != 0) { output.WriteRawTag(24); output.WriteUInt32(GachaNum); } gachaItemList_.WriteTo(output, _repeated_gachaItemList_codec); if (NewGachaRandom != 0) { output.WriteRawTag(40); output.WriteUInt32(NewGachaRandom); } if (NewbieGachaCnt != 0) { output.WriteRawTag(48); output.WriteUInt32(NewbieGachaCnt); } if (TodayGachaCnt != 0) { output.WriteRawTag(56); output.WriteUInt32(TodayGachaCnt); } if (TodayTotalGachaCnt != 0) { output.WriteRawTag(64); output.WriteUInt32(TodayTotalGachaCnt); } 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 (Retcode != 0) { output.WriteRawTag(8); output.WriteUInt32(Retcode); } if (GachaId != 0) { output.WriteRawTag(16); output.WriteUInt32(GachaId); } if (GachaNum != 0) { output.WriteRawTag(24); output.WriteUInt32(GachaNum); } gachaItemList_.WriteTo(ref output, _repeated_gachaItemList_codec); if (NewGachaRandom != 0) { output.WriteRawTag(40); output.WriteUInt32(NewGachaRandom); } if (NewbieGachaCnt != 0) { output.WriteRawTag(48); output.WriteUInt32(NewbieGachaCnt); } if (TodayGachaCnt != 0) { output.WriteRawTag(56); output.WriteUInt32(TodayGachaCnt); } if (TodayTotalGachaCnt != 0) { output.WriteRawTag(64); output.WriteUInt32(TodayTotalGachaCnt); } 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 (Retcode != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode); } if (GachaId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GachaId); } if (GachaNum != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GachaNum); } size += gachaItemList_.CalculateSize(_repeated_gachaItemList_codec); if (NewGachaRandom != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NewGachaRandom); } if (NewbieGachaCnt != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NewbieGachaCnt); } if (TodayGachaCnt != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TodayGachaCnt); } if (TodayTotalGachaCnt != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TodayTotalGachaCnt); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DoGachaScRsp other) { if (other == null) { return; } if (other.Retcode != 0) { Retcode = other.Retcode; } if (other.GachaId != 0) { GachaId = other.GachaId; } if (other.GachaNum != 0) { GachaNum = other.GachaNum; } gachaItemList_.Add(other.gachaItemList_); if (other.NewGachaRandom != 0) { NewGachaRandom = other.NewGachaRandom; } if (other.NewbieGachaCnt != 0) { NewbieGachaCnt = other.NewbieGachaCnt; } if (other.TodayGachaCnt != 0) { TodayGachaCnt = other.TodayGachaCnt; } if (other.TodayTotalGachaCnt != 0) { TodayTotalGachaCnt = other.TodayTotalGachaCnt; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Retcode = input.ReadUInt32(); break; } case 16: { GachaId = input.ReadUInt32(); break; } case 24: { GachaNum = input.ReadUInt32(); break; } case 34: { gachaItemList_.AddEntriesFrom(input, _repeated_gachaItemList_codec); break; } case 40: { NewGachaRandom = input.ReadUInt32(); break; } case 48: { NewbieGachaCnt = input.ReadUInt32(); break; } case 56: { TodayGachaCnt = input.ReadUInt32(); break; } case 64: { TodayTotalGachaCnt = input.ReadUInt32(); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Retcode = input.ReadUInt32(); break; } case 16: { GachaId = input.ReadUInt32(); break; } case 24: { GachaNum = input.ReadUInt32(); break; } case 34: { gachaItemList_.AddEntriesFrom(ref input, _repeated_gachaItemList_codec); break; } case 40: { NewGachaRandom = input.ReadUInt32(); break; } case 48: { NewbieGachaCnt = input.ReadUInt32(); break; } case 56: { TodayGachaCnt = input.ReadUInt32(); break; } case 64: { TodayTotalGachaCnt = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code