style: more consistent naming removing underscores

There were less places with underscores in field names than
places without them, so we now are consistent with the most
abundant occurrence.
This commit is contained in:
Andres G. Aragoneses 2020-01-31 14:39:19 +08:00 committed by Afshin Arani
parent c00b48ede0
commit 440e5e3172
8 changed files with 96 additions and 97 deletions

View file

@ -7,19 +7,19 @@ namespace TLSharp.Core.Network.Requests
{
public class AckRequest : TLMethod
{
private readonly List<ulong> _msgs;
private readonly List<ulong> msgs;
public AckRequest(List<ulong> msgs)
{
_msgs = msgs;
this.msgs = msgs;
}
public override void SerializeBody(BinaryWriter writer)
{
writer.Write(0x62d6b459); // msgs_ack
writer.Write(0x1cb5c415); // Vector
writer.Write(_msgs.Count);
foreach (ulong messageId in _msgs)
writer.Write(msgs.Count);
foreach (ulong messageId in msgs)
{
writer.Write(messageId);
}