summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/RPC/RpcC2M_GroupChatChangeName.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-25 14:28:30 +0800
committerchai <chaifix@163.com>2021-01-25 14:28:30 +0800
commit6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch)
tree7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/RPC/RpcC2M_GroupChatChangeName.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/RPC/RpcC2M_GroupChatChangeName.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/RPC/RpcC2M_GroupChatChangeName.cs40
1 files changed, 40 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/RPC/RpcC2M_GroupChatChangeName.cs b/Client/Assets/Scripts/XMainClient/RPC/RpcC2M_GroupChatChangeName.cs
new file mode 100644
index 00000000..0cd1dcfc
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/RPC/RpcC2M_GroupChatChangeName.cs
@@ -0,0 +1,40 @@
+using System;
+using System.IO;
+using KKSG;
+using ProtoBuf;
+
+namespace XMainClient
+{
+ internal class RpcC2M_GroupChatChangeName : Rpc
+ {
+ public GroupChatChangeNameC2S oArg = new GroupChatChangeNameC2S();
+
+ public GroupChatChangeNameS2C oRes = null;
+
+ public override uint GetRpcType()
+ {
+ return 44170u;
+ }
+
+ public override void Serialize(MemoryStream stream)
+ {
+ Serializer.Serialize<GroupChatChangeNameC2S>(stream, this.oArg);
+ }
+
+ public override void DeSerialize(MemoryStream stream)
+ {
+ this.oRes = Serializer.Deserialize<GroupChatChangeNameS2C>(stream);
+ }
+
+ public override void Process()
+ {
+ base.Process();
+ Process_RpcC2M_GroupChatChangeName.OnReply(this.oArg, this.oRes);
+ }
+
+ public override void OnTimeout(object args)
+ {
+ Process_RpcC2M_GroupChatChangeName.OnTimeout(this.oArg);
+ }
+ }
+}