mirror of
https://github.com/thebreaddev/Supercell.GUT.git
synced 2024-11-14 01:14:37 +00:00
38 lines
648 B
C#
38 lines
648 B
C#
|
using Supercell.GUT.Logic.Message.Attributes;
|
|||
|
using Supercell.GUT.Titan.Logic.Message;
|
|||
|
|
|||
|
namespace Supercell.GUT.Logic.Message.Avatar;
|
|||
|
|
|||
|
[VersionedMessage(20105)]
|
|||
|
public class FriendListMessage : VersionedMessage
|
|||
|
{
|
|||
|
public FriendListMessage() : base(0)
|
|||
|
{
|
|||
|
;
|
|||
|
}
|
|||
|
|
|||
|
public override void Encode()
|
|||
|
{
|
|||
|
base.Encode();
|
|||
|
|
|||
|
this.ByteStream.WriteInt(-1);
|
|||
|
}
|
|||
|
|
|||
|
public override void Decode()
|
|||
|
{
|
|||
|
base.Decode();
|
|||
|
|
|||
|
this.ByteStream.ReadInt();
|
|||
|
}
|
|||
|
|
|||
|
public override int GetMessageType()
|
|||
|
{
|
|||
|
return 20105;
|
|||
|
}
|
|||
|
|
|||
|
public override int GetServiceNodeType()
|
|||
|
{
|
|||
|
return 3;
|
|||
|
}
|
|||
|
}
|