blob: 38300284cb0b79402d090a74a0c502aaa0b2865d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
using System;
using System.IO;
using KKSG;
using ProtoBuf;
namespace XMainClient
{
internal class PtcG2C_SyncStepNotify : Protocol
{
public StepSyncInfo Data = new StepSyncInfo();
public override uint GetProtoType()
{
return 37999u;
}
public override void Serialize(MemoryStream stream)
{
Serializer.Serialize<StepSyncInfo>(stream, this.Data);
}
public override void DeSerialize(MemoryStream stream)
{
this.Data.StepFrame = 0u;
this.Data.StepFrameSpecified = false;
this.Data.DataList.Clear();
Serializer.Merge<StepSyncInfo>(stream, this.Data);
}
public override void Process()
{
Process_PtcG2C_SyncStepNotify.Process(this);
}
}
}
|