blob: 22d0944c7e4ec6b503bb3f5c3feb3eb174d287fe (
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
|
using System;
using System.IO;
using KKSG;
using ProtoBuf;
namespace XMainClient
{
internal class PtcG2C_TakeRandomTask : Protocol
{
public randomtask Data = new randomtask();
public override uint GetProtoType()
{
return 8442u;
}
public override void Serialize(MemoryStream stream)
{
Serializer.Serialize<randomtask>(stream, this.Data);
}
public override void DeSerialize(MemoryStream stream)
{
this.Data = Serializer.Deserialize<randomtask>(stream);
}
public override void Process()
{
Process_PtcG2C_TakeRandomTask.Process(this);
}
}
}
|