From ff4906a0ed4af101d61e7e8878103191ea290d25 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 03 十二月 2020 11:18:23 +0800
Subject: [PATCH] 8585 【主干】【BT】【长尾】【后端】竞技场(封包)

---
 ClientPack/ClientToGameServer/CA9_Function/QueryArenaBattleRecord     |    0 
 ClientPack/ClientToMapServer/CB2_NewFunction/ArenaMatch.h             |    7 +++
 ClientPack/ClientToMapServer/CB2_NewFunction/ArenaMatch.des           |    1 
 ServerPack/GameServerPack/HA9_Function/ArenaMatchList.des             |    1 
 ClientPack/ClientToGameServer/CA9_Function/QueryArenaBattleRecord.h   |    6 +++
 ClientPack/ClientToMapServer/CB2_NewFunction/ArenaBattle.h            |    8 ++++
 ServerPack/GameServerPack/HA9_Function/ArenaBattleRecordList.h        |   22 +++++++++++
 ClientPack/ClientToMapServer/CB2_NewFunction/ArenaBattle.des          |    1 
 ServerPack/GameServerPack/HA9_Function/ArenaMatchList.h               |   19 +++++++++
 ServerPack/MapServerPack/HA3_Function/ArenaPlayerInfo                 |    0 
 ClientPack/ClientToMapServer/CB2_NewFunction/ArenaBattle              |    0 
 ServerPack/GameServerPack/HA9_Function/ArenaMatchList                 |    0 
 ClientPack/ClientToMapServer/CB2_NewFunction/ArenaMatch               |    0 
 ServerPack/GameServerPack/HA9_Function/ArenaBattleRecordList          |    0 
 ServerPack/MapServerPack/HA3_Function/ArenaPlayerInfo.h               |   10 +++++
 ServerPack/GameServerPack/HA9_Function/ArenaBattleRecordList.des      |    1 
 ClientPack/ClientToGameServer/CA9_Function/QueryArenaBattleRecord.des |    1 
 ServerPack/MapServerPack/HA3_Function/ArenaPlayerInfo.des             |    1 
 18 files changed, 78 insertions(+), 0 deletions(-)

diff --git a/ClientPack/ClientToGameServer/CA9_Function/QueryArenaBattleRecord b/ClientPack/ClientToGameServer/CA9_Function/QueryArenaBattleRecord
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CA9_Function/QueryArenaBattleRecord
diff --git a/ClientPack/ClientToGameServer/CA9_Function/QueryArenaBattleRecord.des b/ClientPack/ClientToGameServer/CA9_Function/QueryArenaBattleRecord.des
new file mode 100644
index 0000000..b4722d6
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CA9_Function/QueryArenaBattleRecord.des
@@ -0,0 +1 @@
+A9 A8 查看竞技场对战记录 #tagCGQueryArenaBattleRecord
diff --git a/ClientPack/ClientToGameServer/CA9_Function/QueryArenaBattleRecord.h b/ClientPack/ClientToGameServer/CA9_Function/QueryArenaBattleRecord.h
new file mode 100644
index 0000000..e0cb827
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CA9_Function/QueryArenaBattleRecord.h
@@ -0,0 +1,6 @@
+// A9 A8 查看竞技场对战记录 #tagCGQueryArenaBattleRecord
+
+struct	tagCGQueryArenaBattleRecord
+{
+	tagHead		Head;
+};
diff --git a/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaBattle b/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaBattle
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaBattle
diff --git a/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaBattle.des b/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaBattle.des
new file mode 100644
index 0000000..0795c14
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaBattle.des
@@ -0,0 +1 @@
+B2 10 竞技场挑战玩家 #tagCMArenaBattle
diff --git a/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaBattle.h b/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaBattle.h
new file mode 100644
index 0000000..1c1afb0
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaBattle.h
@@ -0,0 +1,8 @@
+// B2 10 竞技场挑战玩家 #tagCMArenaBattle
+
+struct    tagCMArenaBattle
+{
+	tagHead		 Head;
+	DWORD		TagPlayerID;	// 目标玩家ID或机器人ID
+	BYTE		Result;	// 0-进入自定义场景发送通知后端;1-胜利(后端处理,暂时不需要发送此状态);2-失败(前端被对手击杀需要发送此状态)
+};
diff --git a/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaMatch b/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaMatch
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaMatch
diff --git a/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaMatch.des b/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaMatch.des
new file mode 100644
index 0000000..bd032a0
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaMatch.des
@@ -0,0 +1 @@
+B2 09 竞技场匹配玩家 #tagCMArenaMatch
diff --git a/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaMatch.h b/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaMatch.h
new file mode 100644
index 0000000..55b3ed0
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CB2_NewFunction/ArenaMatch.h
@@ -0,0 +1,7 @@
+// B2 09 竞技场匹配玩家 #tagCMArenaMatch
+
+struct    tagCMArenaMatch
+{
+	tagHead		 Head;
+	BYTE		IsRefresh;	// 0-打开界面无匹配数据时时查询,1-强制刷新匹配列表
+};
diff --git a/ServerPack/GameServerPack/HA9_Function/ArenaBattleRecordList b/ServerPack/GameServerPack/HA9_Function/ArenaBattleRecordList
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/GameServerPack/HA9_Function/ArenaBattleRecordList
diff --git a/ServerPack/GameServerPack/HA9_Function/ArenaBattleRecordList.des b/ServerPack/GameServerPack/HA9_Function/ArenaBattleRecordList.des
new file mode 100644
index 0000000..2c23e8d
--- /dev/null
+++ b/ServerPack/GameServerPack/HA9_Function/ArenaBattleRecordList.des
@@ -0,0 +1 @@
+A9 23 竞技场对战记录列表 #tagGCArenaBattleRecordList
diff --git a/ServerPack/GameServerPack/HA9_Function/ArenaBattleRecordList.h b/ServerPack/GameServerPack/HA9_Function/ArenaBattleRecordList.h
new file mode 100644
index 0000000..ec4b04c
--- /dev/null
+++ b/ServerPack/GameServerPack/HA9_Function/ArenaBattleRecordList.h
@@ -0,0 +1,22 @@
+// A9 23 竞技场对战记录列表 #tagGCArenaBattleRecordList
+
+struct	tagGCArenaBattleRecord
+{
+	DWORD		PlayerID;		//目标玩家ID,小于10000为机器人ID
+	char		PlayerName[33];
+	BYTE		Job;
+	WORD		LV;		//等级
+	WORD		RealmLV;		//境界,机器人读境界表取等级对应境界
+	DWORD		FightPower;	//战力,机器人读等级表取等级对应战力
+	BYTE		AddScoreLen;
+	char		AddScore[AddScoreLen];	//本次对战增加的积分,有正负
+	BYTE		IsWin;	//是否获胜
+	DWORD		Time;	//时间戳
+};
+
+struct	tagGCArenaBattleRecordList
+{
+	tagHead		Head;
+	BYTE		RecordCount;
+	tagGCArenaBattleRecord	BattleRecordList[RecordCount];	// 对战列表
+};
diff --git a/ServerPack/GameServerPack/HA9_Function/ArenaMatchList b/ServerPack/GameServerPack/HA9_Function/ArenaMatchList
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/GameServerPack/HA9_Function/ArenaMatchList
diff --git a/ServerPack/GameServerPack/HA9_Function/ArenaMatchList.des b/ServerPack/GameServerPack/HA9_Function/ArenaMatchList.des
new file mode 100644
index 0000000..80aef8d
--- /dev/null
+++ b/ServerPack/GameServerPack/HA9_Function/ArenaMatchList.des
@@ -0,0 +1 @@
+A9 22 竞技场匹配玩家列表 #tagGCArenaMatchList
diff --git a/ServerPack/GameServerPack/HA9_Function/ArenaMatchList.h b/ServerPack/GameServerPack/HA9_Function/ArenaMatchList.h
new file mode 100644
index 0000000..89a3c43
--- /dev/null
+++ b/ServerPack/GameServerPack/HA9_Function/ArenaMatchList.h
@@ -0,0 +1,19 @@
+// A9 22 竞技场匹配玩家列表 #tagGCArenaMatchList
+
+struct	tagGCArenaMatchInfo
+{
+	DWORD		PlayerID;		//目标玩家ID,小于10000为机器人ID
+	char		PlayerName[33];
+	BYTE		Job;
+	WORD		LV;		//等级
+	WORD		RealmLV;		//境界,机器人读境界表取等级对应境界
+	DWORD		FightPower;	//战力,机器人读等级表取等级对应战力
+	DWORD		Score;	//积分
+};
+
+struct	tagGCArenaMatchList
+{
+	tagHead		Head;
+	BYTE		MatchCount;
+	tagGCArenaMatchInfo	MatchList[MatchCount];	// 匹配列表
+};
diff --git a/ServerPack/MapServerPack/HA3_Function/ArenaPlayerInfo b/ServerPack/MapServerPack/HA3_Function/ArenaPlayerInfo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/MapServerPack/HA3_Function/ArenaPlayerInfo
diff --git a/ServerPack/MapServerPack/HA3_Function/ArenaPlayerInfo.des b/ServerPack/MapServerPack/HA3_Function/ArenaPlayerInfo.des
new file mode 100644
index 0000000..edd6c8a
--- /dev/null
+++ b/ServerPack/MapServerPack/HA3_Function/ArenaPlayerInfo.des
@@ -0,0 +1 @@
+A3 C3 竞技场玩家信息 #tagMCArenaPlayerInfo
diff --git a/ServerPack/MapServerPack/HA3_Function/ArenaPlayerInfo.h b/ServerPack/MapServerPack/HA3_Function/ArenaPlayerInfo.h
new file mode 100644
index 0000000..0b50f36
--- /dev/null
+++ b/ServerPack/MapServerPack/HA3_Function/ArenaPlayerInfo.h
@@ -0,0 +1,10 @@
+// A3 C3 竞技场玩家信息 #tagMCArenaPlayerInfo
+
+struct	tagMCArenaPlayerInfo
+{
+	tagHead		Head;
+	DWORD		Score;	//当前积分
+	BYTE		BattleCountToday;	//今日已挑战次数
+	BYTE		MatchRefreshCount;	//当前已刷新匹配列表次数,每次挑战后会重置
+	BYTE		ItemAddBattleCountToday;	//今日已使用物品增加的挑战次数
+};

--
Gitblit v1.8.0