24 lines
319 B
C++
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 "";
|
|
}
|
|
}
|