From 0080370d308a46ff7f3c6ce7b61ec0cea70a292d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 02 七月 2024 16:23:00 +0800
Subject: [PATCH] 10192 【越南】【主干】【港台】【砍树】上线增加膜拜主动推送(增加膜拜功能,目前支持跨服排位赛名次及服务器冠名膜拜;增加GameServer玩家记录表;玩家缓存增加记录佩戴称号ID)
---
ServerPack/GameServerPack/HB0_Event/WorshipResult | 0
ServerPack/GameServerPack/HB0_Event/WorshipResult.h | 12 ++++++++++++
ServerPack/GameServerPack/HB0_Event/WorshipInfoList.des | 1 +
ClientPack/ClientToGameServer/CB0_Event/Worship | 0
ServerPack/GameServerPack/HB0_Event/WorshipInfoList | 0
ClientPack/ClientToGameServer/CB0_Event/Worship.h | 9 +++++++++
ServerPack/GameServerPack/HB0_Event/WorshipResult.des | 1 +
ClientPack/ClientToGameServer/CB0_Event/Worship.des | 1 +
ServerPack/GameServerPack/HB0_Event/WorshipInfoList.h | 17 +++++++++++++++++
9 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/ClientPack/ClientToGameServer/CB0_Event/Worship b/ClientPack/ClientToGameServer/CB0_Event/Worship
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CB0_Event/Worship
diff --git a/ClientPack/ClientToGameServer/CB0_Event/Worship.des b/ClientPack/ClientToGameServer/CB0_Event/Worship.des
new file mode 100644
index 0000000..367d3c5
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CB0_Event/Worship.des
@@ -0,0 +1 @@
+B0 20 请求膜拜玩家 #tagCGWorship
diff --git a/ClientPack/ClientToGameServer/CB0_Event/Worship.h b/ClientPack/ClientToGameServer/CB0_Event/Worship.h
new file mode 100644
index 0000000..0f854c2
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CB0_Event/Worship.h
@@ -0,0 +1,9 @@
+// B0 20 请求膜拜玩家 #tagCGWorship
+
+struct tagCGWorship
+{
+ tagHead Head;
+ DWORD PlayerID; // 目标玩家ID
+ BYTE WorshipType; // 膜拜类型
+ DWORD WorshipValue; // 膜拜类型对应的功能值,如名次或其他,由具体膜拜类型定义对应值含义
+};
diff --git a/ServerPack/GameServerPack/HB0_Event/WorshipInfoList b/ServerPack/GameServerPack/HB0_Event/WorshipInfoList
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/GameServerPack/HB0_Event/WorshipInfoList
diff --git a/ServerPack/GameServerPack/HB0_Event/WorshipInfoList.des b/ServerPack/GameServerPack/HB0_Event/WorshipInfoList.des
new file mode 100644
index 0000000..8315aab
--- /dev/null
+++ b/ServerPack/GameServerPack/HB0_Event/WorshipInfoList.des
@@ -0,0 +1 @@
+B0 20 膜拜信息列表 #tagGCWorshipInfoList
diff --git a/ServerPack/GameServerPack/HB0_Event/WorshipInfoList.h b/ServerPack/GameServerPack/HB0_Event/WorshipInfoList.h
new file mode 100644
index 0000000..6604fbc
--- /dev/null
+++ b/ServerPack/GameServerPack/HB0_Event/WorshipInfoList.h
@@ -0,0 +1,17 @@
+// B0 20 膜拜信息列表 #tagGCWorshipInfoList
+
+struct tagGCWorshipInfo
+{
+ DWORD PlayerID; // 目标玩家ID
+ BYTE WorshipType; // 膜拜类型
+ DWORD WorshipValue; // 膜拜类型对应的功能值,如名次或其他,由具体膜拜类型定义对应值含义
+ WORD InfoLen;
+ char PlayerInfo[InfoLen]; // 玩家信息{k:v, ...}
+};
+
+struct tagGCWorshipInfoList
+{
+ tagHead Head;
+ BYTE WorshipCount;
+ tagGCWorshipInfo WorshipInfoList[WorshipCount];
+};
diff --git a/ServerPack/GameServerPack/HB0_Event/WorshipResult b/ServerPack/GameServerPack/HB0_Event/WorshipResult
new file mode 100644
index 0000000..70f190d
--- /dev/null
+++ b/ServerPack/GameServerPack/HB0_Event/WorshipResult
Binary files differ
diff --git a/ServerPack/GameServerPack/HB0_Event/WorshipResult.des b/ServerPack/GameServerPack/HB0_Event/WorshipResult.des
new file mode 100644
index 0000000..19c77d4
--- /dev/null
+++ b/ServerPack/GameServerPack/HB0_Event/WorshipResult.des
@@ -0,0 +1 @@
+B0 21 膜拜结果 #tagGCWorshipResult
diff --git a/ServerPack/GameServerPack/HB0_Event/WorshipResult.h b/ServerPack/GameServerPack/HB0_Event/WorshipResult.h
new file mode 100644
index 0000000..a680df0
--- /dev/null
+++ b/ServerPack/GameServerPack/HB0_Event/WorshipResult.h
@@ -0,0 +1,12 @@
+// B0 21 膜拜结果 #tagGCWorshipResult
+
+struct tagGCWorshipResult
+{
+ tagHead Head;
+ DWORD PlayerID; // 目标玩家ID
+ BYTE WorshipType; // 膜拜类型
+ DWORD WorshipValue; // 膜拜类型对应的功能值,如名次或其他,由具体膜拜类型定义对应值含义
+ BYTE Result; // 膜拜结果:0-成功;1-不存在该膜拜类型;2-不存在该目标膜拜;3-不能膜拜该目标;
+ BYTE MoneyType; // 货币类型
+ DWORD MoneyValue; // 货币奖励
+};
--
Gitblit v1.8.0