diff --git a/Proto/GetVideoVersionKeyScRsp.cs b/Proto/GetVideoVersionKeyScRsp.cs index 4eee2f49..1e8ee951 100644 --- a/Proto/GetVideoVersionKeyScRsp.cs +++ b/Proto/GetVideoVersionKeyScRsp.cs @@ -25,15 +25,15 @@ namespace EggLink.DanhengServer.Proto { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ch1HZXRWaWRlb1ZlcnNpb25LZXlTY1JzcC5wcm90bxoSVmlkZW9LZXlJbmZv", - "LnByb3RvIosBChdHZXRWaWRlb1ZlcnNpb25LZXlTY1JzcBIqChN2aWRlb19r", - "ZXlfaW5mb19saXN0GAsgAygLMg0uVmlkZW9LZXlJbmZvEg8KB3JldGNvZGUY", - "ByABKA0SMwocYWN0aXZpdHlfdmlkZW9fa2V5X2luZm9fbGlzdBgMIAMoCzIN", + "LnByb3RvIosBChdHZXRWaWRlb1ZlcnNpb25LZXlTY1JzcBIzChxhY3Rpdml0", + "eV92aWRlb19rZXlfaW5mb19saXN0GAsgAygLMg0uVmlkZW9LZXlJbmZvEg8K", + "B3JldGNvZGUYByABKA0SKgoTdmlkZW9fa2V5X2luZm9fbGlzdBgMIAMoCzIN", "LlZpZGVvS2V5SW5mb0IeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv", "YgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.VideoKeyInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetVideoVersionKeyScRsp), global::EggLink.DanhengServer.Proto.GetVideoVersionKeyScRsp.Parser, new[]{ "VideoKeyInfoList", "Retcode", "ActivityVideoKeyInfoList" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetVideoVersionKeyScRsp), global::EggLink.DanhengServer.Proto.GetVideoVersionKeyScRsp.Parser, new[]{ "ActivityVideoKeyInfoList", "Retcode", "VideoKeyInfoList" }, null, null, null, null) })); } #endregion @@ -75,9 +75,9 @@ namespace EggLink.DanhengServer.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetVideoVersionKeyScRsp(GetVideoVersionKeyScRsp other) : this() { - videoKeyInfoList_ = other.videoKeyInfoList_.Clone(); - retcode_ = other.retcode_; activityVideoKeyInfoList_ = other.activityVideoKeyInfoList_.Clone(); + retcode_ = other.retcode_; + videoKeyInfoList_ = other.videoKeyInfoList_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -87,18 +87,15 @@ namespace EggLink.DanhengServer.Proto { return new GetVideoVersionKeyScRsp(this); } - /// Field number for the "video_key_info_list" field. - public const int VideoKeyInfoListFieldNumber = 11; - private static readonly pb::FieldCodec _repeated_videoKeyInfoList_codec + /// Field number for the "activity_video_key_info_list" field. + public const int ActivityVideoKeyInfoListFieldNumber = 11; + private static readonly pb::FieldCodec _repeated_activityVideoKeyInfoList_codec = pb::FieldCodec.ForMessage(90, global::EggLink.DanhengServer.Proto.VideoKeyInfo.Parser); - private readonly pbc::RepeatedField videoKeyInfoList_ = new pbc::RepeatedField(); - /// - /// 12 - /// + private readonly pbc::RepeatedField activityVideoKeyInfoList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField VideoKeyInfoList { - get { return videoKeyInfoList_; } + public pbc::RepeatedField ActivityVideoKeyInfoList { + get { return activityVideoKeyInfoList_; } } /// Field number for the "retcode" field. @@ -113,18 +110,15 @@ namespace EggLink.DanhengServer.Proto { } } - /// Field number for the "activity_video_key_info_list" field. - public const int ActivityVideoKeyInfoListFieldNumber = 12; - private static readonly pb::FieldCodec _repeated_activityVideoKeyInfoList_codec + /// Field number for the "video_key_info_list" field. + public const int VideoKeyInfoListFieldNumber = 12; + private static readonly pb::FieldCodec _repeated_videoKeyInfoList_codec = pb::FieldCodec.ForMessage(98, global::EggLink.DanhengServer.Proto.VideoKeyInfo.Parser); - private readonly pbc::RepeatedField activityVideoKeyInfoList_ = new pbc::RepeatedField(); - /// - /// 11 - /// + private readonly pbc::RepeatedField videoKeyInfoList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ActivityVideoKeyInfoList { - get { return activityVideoKeyInfoList_; } + public pbc::RepeatedField VideoKeyInfoList { + get { return videoKeyInfoList_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -142,9 +136,9 @@ namespace EggLink.DanhengServer.Proto { if (ReferenceEquals(other, this)) { return true; } - if(!videoKeyInfoList_.Equals(other.videoKeyInfoList_)) return false; - if (Retcode != other.Retcode) return false; if(!activityVideoKeyInfoList_.Equals(other.activityVideoKeyInfoList_)) return false; + if (Retcode != other.Retcode) return false; + if(!videoKeyInfoList_.Equals(other.videoKeyInfoList_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -152,9 +146,9 @@ namespace EggLink.DanhengServer.Proto { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= videoKeyInfoList_.GetHashCode(); - if (Retcode != 0) hash ^= Retcode.GetHashCode(); hash ^= activityVideoKeyInfoList_.GetHashCode(); + if (Retcode != 0) hash ^= Retcode.GetHashCode(); + hash ^= videoKeyInfoList_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -177,8 +171,8 @@ namespace EggLink.DanhengServer.Proto { output.WriteRawTag(56); output.WriteUInt32(Retcode); } - videoKeyInfoList_.WriteTo(output, _repeated_videoKeyInfoList_codec); activityVideoKeyInfoList_.WriteTo(output, _repeated_activityVideoKeyInfoList_codec); + videoKeyInfoList_.WriteTo(output, _repeated_videoKeyInfoList_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -193,8 +187,8 @@ namespace EggLink.DanhengServer.Proto { output.WriteRawTag(56); output.WriteUInt32(Retcode); } - videoKeyInfoList_.WriteTo(ref output, _repeated_videoKeyInfoList_codec); activityVideoKeyInfoList_.WriteTo(ref output, _repeated_activityVideoKeyInfoList_codec); + videoKeyInfoList_.WriteTo(ref output, _repeated_videoKeyInfoList_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -205,11 +199,11 @@ namespace EggLink.DanhengServer.Proto { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += videoKeyInfoList_.CalculateSize(_repeated_videoKeyInfoList_codec); + size += activityVideoKeyInfoList_.CalculateSize(_repeated_activityVideoKeyInfoList_codec); if (Retcode != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode); } - size += activityVideoKeyInfoList_.CalculateSize(_repeated_activityVideoKeyInfoList_codec); + size += videoKeyInfoList_.CalculateSize(_repeated_videoKeyInfoList_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -222,11 +216,11 @@ namespace EggLink.DanhengServer.Proto { if (other == null) { return; } - videoKeyInfoList_.Add(other.videoKeyInfoList_); + activityVideoKeyInfoList_.Add(other.activityVideoKeyInfoList_); if (other.Retcode != 0) { Retcode = other.Retcode; } - activityVideoKeyInfoList_.Add(other.activityVideoKeyInfoList_); + videoKeyInfoList_.Add(other.videoKeyInfoList_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -247,11 +241,11 @@ namespace EggLink.DanhengServer.Proto { break; } case 90: { - videoKeyInfoList_.AddEntriesFrom(input, _repeated_videoKeyInfoList_codec); + activityVideoKeyInfoList_.AddEntriesFrom(input, _repeated_activityVideoKeyInfoList_codec); break; } case 98: { - activityVideoKeyInfoList_.AddEntriesFrom(input, _repeated_activityVideoKeyInfoList_codec); + videoKeyInfoList_.AddEntriesFrom(input, _repeated_videoKeyInfoList_codec); break; } } @@ -274,11 +268,11 @@ namespace EggLink.DanhengServer.Proto { break; } case 90: { - videoKeyInfoList_.AddEntriesFrom(ref input, _repeated_videoKeyInfoList_codec); + activityVideoKeyInfoList_.AddEntriesFrom(ref input, _repeated_activityVideoKeyInfoList_codec); break; } case 98: { - activityVideoKeyInfoList_.AddEntriesFrom(ref input, _repeated_activityVideoKeyInfoList_codec); + videoKeyInfoList_.AddEntriesFrom(ref input, _repeated_videoKeyInfoList_codec); break; } }