mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-06 06:55:06 +00:00
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:
parent
c031fa4f6d
commit
90f9305dd6
8 changed files with 96 additions and 97 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue