// <auto-generated/>
using System;
using System.Collections.Generic;
using A.Net;
namespace A.Proto;
public partial record ChatMsgReq : IDecodePacket<ChatMsgReq>, IEncodePacket
{
public static ChatMsgReq DecodePacket(ref PacketReader r)
{
return new ChatMsgReq
{
Ticks = r.ReadInt(),
Msg = r.ReadString(),
OnlyBalloon = r.ReadBool(),
};
}
public void EncodePacket(ref PacketWriter w)
{
w.WriteInt(Ticks);
w.WriteString(Msg);
w.WriteBool(OnlyBalloon);
}
}
// <auto-generated/>
using System;
using System.Collections.Generic;
using A.Net;
namespace A.Proto;
public partial record ChatMsgReq : IDecodePacket<ChatMsgReq>, IEncodePacket
{
public static ChatMsgReq DecodePacket(ref PacketReader r)
{
return new ChatMsgReq
{
Ticks = r.ReadInt(),
Msg = r.ReadString(),
OnlyBalloon = r.ReadBool(),
};
}
public void EncodePacket(ref PacketWriter w)
{
w.WriteInt(Ticks);
w.WriteString(Msg);
w.WriteBool(OnlyBalloon);
}
}