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