From c1bac40b55d9a0d7c7fc854a4076ac4f178fc7bf Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 28 八月 2024 11:29:49 +0800
Subject: [PATCH] 10249 【越南】【砍树】仙宫

---
 ServerPack/MapServerPack/HB1_Role/XiangongInfo.des                     |    1 
 ClientPack/ClientToGameServer/CA9_Function/QueryXiangongRecPlayers.h   |    7 +++
 ServerPack/GameServerPack/HA9_Function/XiangongNewPlayerInfo.h         |   24 ++++++++++++
 ServerPack/GameServerPack/HA9_Function/XiangongRecPlayerInfo.h         |   21 ++++++++++
 ServerPack/GameServerPack/HA9_Function/XiangongNewPlayerInfo.des       |    1 
 ServerPack/MapServerPack/HB1_Role/XiangongInfo                         |    0 
 ServerPack/MapServerPack/HB1_Role/XiangongInfo.h                       |   15 +++++++
 ClientPack/ClientToGameServer/CA9_Function/LikeXiangong                |    0 
 ClientPack/ClientToGameServer/CA9_Function/LikeXiangong.des            |    1 
 ServerPack/MapServerPack/HB1_Role/TiandaoTreeInfo                      |    0 
 ServerPack/GameServerPack/HA9_Function/XiangongRecPlayerInfo           |    0 
 ClientPack/ClientToGameServer/CA9_Function/LikeXiangong.h              |    7 +++
 ClientPack/ClientToGameServer/CA9_Function/QueryXiangongRecPlayers.des |    1 
 ClientPack/ClientToGameServer/CA9_Function/QueryXiangongRecPlayers     |    0 
 ServerPack/MapServerPack/HB1_Role/TiandaoTreeInfo.h                    |    9 ++++
 ServerPack/MapServerPack/HB1_Role/TiandaoTreeInfo.des                  |    1 
 ServerPack/GameServerPack/HA9_Function/XiangongRecPlayerInfo.des       |    1 
 ServerPack/GameServerPack/HA9_Function/XiangongNewPlayerInfo           |    0 
 18 files changed, 89 insertions(+), 0 deletions(-)

diff --git a/ClientPack/ClientToGameServer/CA9_Function/LikeXiangong b/ClientPack/ClientToGameServer/CA9_Function/LikeXiangong
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CA9_Function/LikeXiangong
diff --git a/ClientPack/ClientToGameServer/CA9_Function/LikeXiangong.des b/ClientPack/ClientToGameServer/CA9_Function/LikeXiangong.des
new file mode 100644
index 0000000..ee77e8a
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CA9_Function/LikeXiangong.des
@@ -0,0 +1 @@
+A9 07 点赞仙宫 #tagCGLikeXiangong
diff --git a/ClientPack/ClientToGameServer/CA9_Function/LikeXiangong.h b/ClientPack/ClientToGameServer/CA9_Function/LikeXiangong.h
new file mode 100644
index 0000000..bfa81a1
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CA9_Function/LikeXiangong.h
@@ -0,0 +1,7 @@
+// A9 07 点赞仙宫 #tagCGLikeXiangong
+
+struct	tagCGLikeXiangong
+{
+	tagHead		Head;
+	WORD		XiangongID;	// 仙宫ID,为0时代表每日的仙宫点赞
+};
diff --git a/ClientPack/ClientToGameServer/CA9_Function/QueryXiangongRecPlayers b/ClientPack/ClientToGameServer/CA9_Function/QueryXiangongRecPlayers
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CA9_Function/QueryXiangongRecPlayers
diff --git a/ClientPack/ClientToGameServer/CA9_Function/QueryXiangongRecPlayers.des b/ClientPack/ClientToGameServer/CA9_Function/QueryXiangongRecPlayers.des
new file mode 100644
index 0000000..05f135f
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CA9_Function/QueryXiangongRecPlayers.des
@@ -0,0 +1 @@
+A9 06 查看仙宫仙名录 #tagCGQueryXiangongRecPlayers
diff --git a/ClientPack/ClientToGameServer/CA9_Function/QueryXiangongRecPlayers.h b/ClientPack/ClientToGameServer/CA9_Function/QueryXiangongRecPlayers.h
new file mode 100644
index 0000000..651c6ce
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CA9_Function/QueryXiangongRecPlayers.h
@@ -0,0 +1,7 @@
+// A9 06 查看仙宫仙名录 #tagCGQueryXiangongRecPlayers
+
+struct	tagCGQueryXiangongRecPlayers
+{
+	tagHead		Head;
+	WORD		XiangongID;	// 仙宫ID
+};
diff --git a/ServerPack/GameServerPack/HA9_Function/XiangongNewPlayerInfo b/ServerPack/GameServerPack/HA9_Function/XiangongNewPlayerInfo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/GameServerPack/HA9_Function/XiangongNewPlayerInfo
diff --git a/ServerPack/GameServerPack/HA9_Function/XiangongNewPlayerInfo.des b/ServerPack/GameServerPack/HA9_Function/XiangongNewPlayerInfo.des
new file mode 100644
index 0000000..d480c2d
--- /dev/null
+++ b/ServerPack/GameServerPack/HA9_Function/XiangongNewPlayerInfo.des
@@ -0,0 +1 @@
+A9 27 仙宫新晋玩家信息 #tagGCXiangongNewPlayerInfo
diff --git a/ServerPack/GameServerPack/HA9_Function/XiangongNewPlayerInfo.h b/ServerPack/GameServerPack/HA9_Function/XiangongNewPlayerInfo.h
new file mode 100644
index 0000000..0469a30
--- /dev/null
+++ b/ServerPack/GameServerPack/HA9_Function/XiangongNewPlayerInfo.h
@@ -0,0 +1,24 @@
+// A9 27 仙宫新晋玩家信息 #tagGCXiangongNewPlayerInfo
+
+struct	tagGCXiangongNewPlayer
+{
+	DWORD		AddTime;		// 新晋时间戳
+	DWORD		ServerID;
+	DWORD		PlayerID;
+	BYTE		NameLen;
+	char		Name[NameLen];	// 玩家名,size = NameLen
+	WORD		LV;		// 玩家等级
+	BYTE		Job;		// 玩家职业
+	WORD		RealmLV; 		// 玩家境界
+	DWORD                   EquipShowSwitch;
+	BYTE		EquipShowIDCount;
+	DWORD                   EquipShowID[EquipShowIDCount];
+};
+
+struct	tagGCXiangongNewPlayerInfo
+{
+	tagHead		Head;
+	WORD		XiangongID;	// 仙宫ID
+	BYTE		NewPlayerCount;
+	tagGCXiangongNewPlayer	NewPlayerList[NewPlayerCount];
+};
diff --git a/ServerPack/GameServerPack/HA9_Function/XiangongRecPlayerInfo b/ServerPack/GameServerPack/HA9_Function/XiangongRecPlayerInfo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/GameServerPack/HA9_Function/XiangongRecPlayerInfo
diff --git a/ServerPack/GameServerPack/HA9_Function/XiangongRecPlayerInfo.des b/ServerPack/GameServerPack/HA9_Function/XiangongRecPlayerInfo.des
new file mode 100644
index 0000000..d5b8dcf
--- /dev/null
+++ b/ServerPack/GameServerPack/HA9_Function/XiangongRecPlayerInfo.des
@@ -0,0 +1 @@
+A9 28 仙宫仙名录玩家信息 #tagGCXiangongRecPlayerInfo
diff --git a/ServerPack/GameServerPack/HA9_Function/XiangongRecPlayerInfo.h b/ServerPack/GameServerPack/HA9_Function/XiangongRecPlayerInfo.h
new file mode 100644
index 0000000..85a3a1b
--- /dev/null
+++ b/ServerPack/GameServerPack/HA9_Function/XiangongRecPlayerInfo.h
@@ -0,0 +1,21 @@
+// A9 28 仙宫仙名录玩家信息 #tagGCXiangongRecPlayerInfo
+
+struct	tagGCXiangongRecPlayer
+{
+	DWORD		AddTime;		// 新晋时间戳
+	DWORD		ServerID;
+	DWORD		PlayerID;
+	BYTE		NameLen;
+	char		Name[NameLen];	// 玩家名,size = NameLen
+	WORD		LV;		// 玩家等级
+	BYTE		Job;		// 玩家职业
+	WORD		RealmLV; 		// 玩家境界
+};
+
+struct	tagGCXiangongRecPlayerInfo
+{
+	tagHead		Head;
+	WORD		XiangongID;	// 仙宫ID
+	BYTE		RecPlayerCount;
+	tagGCXiangongRecPlayer	RecPlayerList[RecPlayerCount];
+};
diff --git a/ServerPack/MapServerPack/HB1_Role/TiandaoTreeInfo b/ServerPack/MapServerPack/HB1_Role/TiandaoTreeInfo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/MapServerPack/HB1_Role/TiandaoTreeInfo
diff --git a/ServerPack/MapServerPack/HB1_Role/TiandaoTreeInfo.des b/ServerPack/MapServerPack/HB1_Role/TiandaoTreeInfo.des
new file mode 100644
index 0000000..16fe45f
--- /dev/null
+++ b/ServerPack/MapServerPack/HB1_Role/TiandaoTreeInfo.des
@@ -0,0 +1 @@
+B1 15 天道树信息 #tagMCTiandaoTreeInfo
diff --git a/ServerPack/MapServerPack/HB1_Role/TiandaoTreeInfo.h b/ServerPack/MapServerPack/HB1_Role/TiandaoTreeInfo.h
new file mode 100644
index 0000000..8035b6f
--- /dev/null
+++ b/ServerPack/MapServerPack/HB1_Role/TiandaoTreeInfo.h
@@ -0,0 +1,9 @@
+// B1 15 天道树信息 #tagMCTiandaoTreeInfo
+
+struct    tagMCTiandaoTreeInfo
+{
+	tagHead		 Head;
+	DWORD		Qiyun;	// 当前气运值
+	BYTE		AwardCount;	// 天道果领取记录值个数
+	DWORD		AwardStateList[AwardCount];	// 天道果领取记录值列表,按奖励索引位二进制记录是否已领取,一个值可存31位,如值1存0~30,值2存31~61,...
+};
diff --git a/ServerPack/MapServerPack/HB1_Role/XiangongInfo b/ServerPack/MapServerPack/HB1_Role/XiangongInfo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/MapServerPack/HB1_Role/XiangongInfo
diff --git a/ServerPack/MapServerPack/HB1_Role/XiangongInfo.des b/ServerPack/MapServerPack/HB1_Role/XiangongInfo.des
new file mode 100644
index 0000000..b90c061
--- /dev/null
+++ b/ServerPack/MapServerPack/HB1_Role/XiangongInfo.des
@@ -0,0 +1 @@
+B1 14 仙宫信息 #tagMCXiangongInfo
diff --git a/ServerPack/MapServerPack/HB1_Role/XiangongInfo.h b/ServerPack/MapServerPack/HB1_Role/XiangongInfo.h
new file mode 100644
index 0000000..5e488bb
--- /dev/null
+++ b/ServerPack/MapServerPack/HB1_Role/XiangongInfo.h
@@ -0,0 +1,15 @@
+// B1 14 仙宫信息 #tagMCXiangongInfo
+
+struct    tagMCXiangong
+{
+	WORD		XiangongID;	// 仙宫ID
+	BYTE		LikeStateToday;	// 今日是否已点赞
+};
+
+struct    tagMCXiangongInfo
+{
+	tagHead		 Head;
+	BYTE		LikeStateToday;	// 今日是否已点赞,指仙宫的外层点赞,非某个指定仙宫
+	BYTE		XiangongCount;
+	tagMCXiangong		XiangongList[XiangongCount];
+};

--
Gitblit v1.8.0