using System; using System.IO; using KKSG; using ProtoBuf; namespace XMainClient { internal class PtcC2M_SyncPlatFriend2MS : Protocol { public SyncPlatFriend2MSData Data = new SyncPlatFriend2MSData(); public override uint GetProtoType() { return 38885u; } public override void Serialize(MemoryStream stream) { Serializer.Serialize(stream, this.Data); } public override void DeSerialize(MemoryStream stream) { this.Data = Serializer.Deserialize(stream); } public override void Process() { throw new Exception("Send only protocol can not call process"); } } }