Skip to content

Commit

Permalink
- field ReplyRequest.is_fold_comment_req due to lumina37/aiotieba#1…
Browse files Browse the repository at this point in the history
…23 (comment) @ tbm & interested
  • Loading branch information
n0099 committed May 19, 2023
1 parent b4941a8 commit ef8287f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 76 deletions.
1 change: 0 additions & 1 deletion interested/Api/Request/ReplyRequest.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ message ReplyRequest {
Common common = 25;
int32 is_jumpfloor = 34;
int32 jumpfloor_num = 35;
int32 is_fold_comment_req = 78;
};
Data data = 1;
}
1 change: 0 additions & 1 deletion tbm/Api/Request/ReplyRequest.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ message ReplyRequest {
int32 rn = 13;
int32 pn = 18;
Common common = 25;
int32 is_fold_comment_req = 78;
};
Data data = 1;
}
46 changes: 4 additions & 42 deletions tbm_cs/Api/Request/ReplyRequest.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,15 @@ static ReplyRequestReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch5BcGkvUmVxdWVzdC9SZXBseVJlcXVlc3QucHJvdG8SFHRiQ2xpZW50LmFw",
"aS5yZXF1ZXN0GhhBcGkvUmVxdWVzdC9Db21tb24ucHJvdG8ivAEKDFJlcGx5",
"aS5yZXF1ZXN0GhhBcGkvUmVxdWVzdC9Db21tb24ucHJvdG8inwEKDFJlcGx5",
"UmVxdWVzdBI1CgRkYXRhGAEgASgLMicudGJDbGllbnQuYXBpLnJlcXVlc3Qu",
"UmVwbHlSZXF1ZXN0LkRhdGEadQoERGF0YRIKCgJrehgEIAEoAxIKCgJybhgN",
"UmVwbHlSZXF1ZXN0LkRhdGEaWAoERGF0YRIKCgJrehgEIAEoAxIKCgJybhgN",
"IAEoBRIKCgJwbhgSIAEoBRIsCgZjb21tb24YGSABKAsyHC50YkNsaWVudC5h",
"cGkucmVxdWVzdC5Db21tb24SGwoTaXNfZm9sZF9jb21tZW50X3JlcRhOIAEo",
"BWIGcHJvdG8z"));
"cGkucmVxdWVzdC5Db21tb25iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::TbClient.Api.Request.CommonReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::TbClient.Api.Request.ReplyRequest), global::TbClient.Api.Request.ReplyRequest.Parser, new[]{ "Data" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::TbClient.Api.Request.ReplyRequest.Types.Data), global::TbClient.Api.Request.ReplyRequest.Types.Data.Parser, new[]{ "Kz", "Rn", "Pn", "Common", "IsFoldCommentReq" }, null, null, null, null)})
new pbr::GeneratedClrTypeInfo(typeof(global::TbClient.Api.Request.ReplyRequest), global::TbClient.Api.Request.ReplyRequest.Parser, new[]{ "Data" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::TbClient.Api.Request.ReplyRequest.Types.Data), global::TbClient.Api.Request.ReplyRequest.Types.Data.Parser, new[]{ "Kz", "Rn", "Pn", "Common" }, null, null, null, null)})
}));
}
#endregion
Expand Down Expand Up @@ -280,7 +279,6 @@ public Data(Data other) : this() {
rn_ = other.rn_;
pn_ = other.pn_;
common_ = other.common_ != null ? other.common_.Clone() : null;
isFoldCommentReq_ = other.isFoldCommentReq_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}

Expand Down Expand Up @@ -338,18 +336,6 @@ public int Pn {
}
}

/// <summary>Field number for the "is_fold_comment_req" field.</summary>
public const int IsFoldCommentReqFieldNumber = 78;
private int isFoldCommentReq_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int IsFoldCommentReq {
get { return isFoldCommentReq_; }
set {
isFoldCommentReq_ = value;
}
}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
Expand All @@ -369,7 +355,6 @@ public bool Equals(Data other) {
if (Rn != other.Rn) return false;
if (Pn != other.Pn) return false;
if (!object.Equals(Common, other.Common)) return false;
if (IsFoldCommentReq != other.IsFoldCommentReq) return false;
return Equals(_unknownFields, other._unknownFields);
}

Expand All @@ -381,7 +366,6 @@ public override int GetHashCode() {
if (Rn != 0) hash ^= Rn.GetHashCode();
if (Pn != 0) hash ^= Pn.GetHashCode();
if (common_ != null) hash ^= Common.GetHashCode();
if (IsFoldCommentReq != 0) hash ^= IsFoldCommentReq.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
Expand Down Expand Up @@ -416,10 +400,6 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(202, 1);
output.WriteMessage(Common);
}
if (IsFoldCommentReq != 0) {
output.WriteRawTag(240, 4);
output.WriteInt32(IsFoldCommentReq);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
Expand All @@ -446,10 +426,6 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(202, 1);
output.WriteMessage(Common);
}
if (IsFoldCommentReq != 0) {
output.WriteRawTag(240, 4);
output.WriteInt32(IsFoldCommentReq);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
Expand All @@ -472,9 +448,6 @@ public int CalculateSize() {
if (common_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(Common);
}
if (IsFoldCommentReq != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(IsFoldCommentReq);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
Expand Down Expand Up @@ -502,9 +475,6 @@ public void MergeFrom(Data other) {
}
Common.MergeFrom(other.Common);
}
if (other.IsFoldCommentReq != 0) {
IsFoldCommentReq = other.IsFoldCommentReq;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}

Expand Down Expand Up @@ -539,10 +509,6 @@ public void MergeFrom(pb::CodedInputStream input) {
input.ReadMessage(Common);
break;
}
case 624: {
IsFoldCommentReq = input.ReadInt32();
break;
}
}
}
#endif
Expand Down Expand Up @@ -577,10 +543,6 @@ public void MergeFrom(pb::CodedInputStream input) {
input.ReadMessage(Common);
break;
}
case 624: {
IsFoldCommentReq = input.ReadInt32();
break;
}
}
}
}
Expand Down
9 changes: 4 additions & 5 deletions tbm_php/GPBMetadata/Api/Request/ReplyRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 0 additions & 27 deletions tbm_php/TbClient/Api/Request/ReplyRequest/Data.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ef8287f

Please sign in to comment.