diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PTC/PtcG2C_ReviveNotify.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/PTC/PtcG2C_ReviveNotify.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/PTC/PtcG2C_ReviveNotify.cs b/Client/Assets/Scripts/XMainClient/PTC/PtcG2C_ReviveNotify.cs new file mode 100644 index 00000000..ba1c8d34 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/PTC/PtcG2C_ReviveNotify.cs @@ -0,0 +1,32 @@ +using System;
+using System.IO;
+using KKSG;
+using ProtoBuf;
+
+namespace XMainClient
+{
+ internal class PtcG2C_ReviveNotify : Protocol
+ {
+ public ReviveInfo Data = new ReviveInfo();
+
+ public override uint GetProtoType()
+ {
+ return 16213u;
+ }
+
+ public override void Serialize(MemoryStream stream)
+ {
+ Serializer.Serialize<ReviveInfo>(stream, this.Data);
+ }
+
+ public override void DeSerialize(MemoryStream stream)
+ {
+ this.Data = Serializer.Deserialize<ReviveInfo>(stream);
+ }
+
+ public override void Process()
+ {
+ Process_PtcG2C_ReviveNotify.Process(this);
+ }
+ }
+}
|