From 899d3220d1728ff17a932e3b425ae89c8994dbd2 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 16 Sep 2023 16:15:11 +0800 Subject: [PATCH] 1 --- server/gameserver/custom_member.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/gameserver/custom_member.h b/server/gameserver/custom_member.h index b17d4f51..6d22551c 100644 --- a/server/gameserver/custom_member.h +++ b/server/gameserver/custom_member.h @@ -1,11 +1,14 @@ #pragma once +struct BattleDataContext; class CustomMember { public: const std::string& GetAccountId() { return account_id_; } + std::shared_ptr& GetBattleContext() { return battle_context_; }; private: std::string account_id_; + std::shared_ptr battle_context_; };