blob: 41988bb173f366d281318e0e91a15070f0623d3d (
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
36
37
|
using System;
using System.IO;
using KKSG;
using ProtoBuf;
namespace XMainClient
{
internal class PtcC2G_SkillBulletFireReport : Protocol
{
public BulletUnitData Data = new BulletUnitData();
public PtcC2G_SkillBulletFireReport()
{
this.Data.Pos = new Vec3();
}
public override uint GetProtoType()
{
return 54744u;
}
public override void Serialize(MemoryStream stream)
{
Serializer.Serialize<BulletUnitData>(stream, this.Data);
}
public override void DeSerialize(MemoryStream stream)
{
this.Data = Serializer.Deserialize<BulletUnitData>(stream);
}
public override void Process()
{
throw new Exception("Send only protocol can not call process");
}
}
}
|