1
This commit is contained in:
parent
98ff269651
commit
c41ba7485d
52
server/gameserver/room_agent.cc
Normal file
52
server/gameserver/room_agent.cc
Normal file
@ -0,0 +1,52 @@
|
||||
#include "precompile.h"
|
||||
|
||||
#include "room_agent.h"
|
||||
|
||||
RoomAgent::RoomAgent():BaseAgent()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
RoomAgent::~RoomAgent()
|
||||
{
|
||||
}
|
||||
|
||||
int RoomAgent::GetMapId()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int RoomAgent::GetHumanNum()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int RoomAgent::GetAliveHumanNum()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int RoomAgent::GetPlayerNum()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int RoomAgent::GetAlivePlayerNum()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int RoomAgent::GetTeamNum()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int RoomAgent::GetAliveTeamNum()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
HeroAgent* RoomAgent::FindHero(int hero_uniid)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
23
server/gameserver/room_agent.h
Normal file
23
server/gameserver/room_agent.h
Normal file
@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include "new_base_agent.h"
|
||||
|
||||
class HeroAgent;
|
||||
class RoomAgent : public BaseAgent
|
||||
{
|
||||
public:
|
||||
RoomAgent();
|
||||
|
||||
virtual ~RoomAgent();
|
||||
|
||||
BEHAVIAC_DECLARE_AGENTTYPE(RoomAgent, BaseAgent)
|
||||
|
||||
int GetMapId();
|
||||
int GetHumanNum();
|
||||
int GetAliveHumanNum();
|
||||
int GetPlayerNum();
|
||||
int GetAlivePlayerNum();
|
||||
int GetTeamNum();
|
||||
int GetAliveTeamNum();
|
||||
HeroAgent* FindHero(int hero_uniid);
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user