game2006/server/gameserver/android_agent.cc
aozhiwei 0764bba1b2 1
2023-10-21 14:27:27 +08:00

24 lines
319 B
C++

#include "precompile.h"
#include "android_agent.h"
#include "human.h"
AndroidAgent::AndroidAgent():HeroAgent()
{
}
AndroidAgent::~AndroidAgent()
{
}
const std::string AndroidAgent::GetAccountId()
{
if (owner_->IsHuman()) {
return owner_->AsHuman()->account_id;
} else {
return "";
}
}