mirror of
https://github.com/thebreaddev/Supercell.GUT.git
synced 2024-11-10 07:44:37 +00:00
281d2789ea
not finished. early wip state
46 lines
852 B
C#
46 lines
852 B
C#
using Supercell.GUT.Logic.Message.Attributes;
|
|
using Supercell.GUT.Titan.Logic.Message;
|
|
|
|
namespace Supercell.GUT.Logic.Message.Avatar;
|
|
|
|
[VersionedMessage(10210)]
|
|
public class TutorialProgressUpdateMessage : VersionedMessage
|
|
{
|
|
public int TutorialFlags { get; set; }
|
|
|
|
public TutorialProgressUpdateMessage() : base(0)
|
|
{
|
|
TutorialFlags = 0;
|
|
}
|
|
|
|
public override void Destruct()
|
|
{
|
|
base.Destruct();
|
|
|
|
TutorialFlags = 0;
|
|
}
|
|
|
|
public override void Encode()
|
|
{
|
|
base.Encode();
|
|
|
|
ByteStream.WriteInt(TutorialFlags);
|
|
}
|
|
|
|
public override void Decode()
|
|
{
|
|
base.Decode();
|
|
|
|
TutorialFlags = ByteStream.ReadInt();
|
|
}
|
|
|
|
public override int GetMessageType()
|
|
{
|
|
return 10210;
|
|
}
|
|
|
|
public override int GetServiceNodeType()
|
|
{
|
|
return 3;
|
|
}
|
|
}
|