1
This commit is contained in:
parent
c2d8811b73
commit
4059d50c19
@ -0,0 +1,38 @@
|
||||
#include "precompile.h"
|
||||
|
||||
#include "mobabattle.h"
|
||||
|
||||
bool MobaBattle::CanAdd(const std::string& account_id, const std::string& session_id)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
std::shared_ptr<MobaTeam> MobaBattle::GetTeamByAccountId(const std::string& account_id)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
std::shared_ptr<MobaMember> MobaBattle::GetMemberByAccountId(const std::string& account_id)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
std::shared_ptr<MobaTeam> MobaBattle::GetTeamByTeamUuid(const std::string& team_uuid)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool MobaBattle::AllIsJoined()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
int MobaBattle::GetMemberNum()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void MobaBattle::TraverseMemberList(std::function<bool (MobaMember*)> func)
|
||||
{
|
||||
|
||||
}
|
@ -24,6 +24,7 @@
|
||||
#include "custom_battle.h"
|
||||
#include "custom_team.h"
|
||||
#include "custom_member.h"
|
||||
#include "mobabattle.h"
|
||||
|
||||
#include "mt/Param.h"
|
||||
#include "mt/Text.h"
|
||||
@ -1165,6 +1166,10 @@ void RoomMgr::_CMJoinMoba(f8::MsgHdr* hdr, const cs::CMJoin& msg)
|
||||
RoomMgr::Instance()->JoinErrorHandle(*join_msg, 2, socket_handle);
|
||||
return;
|
||||
}
|
||||
auto member = p->GetMemberByAccountId(join_msg->account_id());
|
||||
if (!member) {
|
||||
return;
|
||||
}
|
||||
};
|
||||
SendGetMobaBattleData(join_msg, cb);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user