This commit is contained in:
aozhiwei 2024-04-20 21:59:58 +08:00
parent cfca065bdb
commit 57e4ce29fc
7 changed files with 5 additions and 25 deletions

View File

@ -2,13 +2,6 @@
#include "roomentity.h" #include "roomentity.h"
namespace MetaData
{
struct Player;
struct Equip;
struct MapThing;
}
class Human; class Human;
class Loot : public RoomEntity class Loot : public RoomEntity
{ {

View File

@ -2,11 +2,6 @@
#include "weakptr.h" #include "weakptr.h"
namespace MetaData
{
struct Equip;
}
class Creature; class Creature;
class Obstacle; class Obstacle;
class Explosion; class Explosion;

View File

@ -52,6 +52,7 @@
#include "custom_team.h" #include "custom_team.h"
#include "custom_member.h" #include "custom_member.h"
#include "GGListener.h" #include "GGListener.h"
#include "netdata.h"
#include "mt/Param.h" #include "mt/Param.h"
#include "mt/Buff.h" #include "mt/Buff.h"

View File

@ -34,6 +34,7 @@
#include "stats.h" #include "stats.h"
#include "mapinstance.h" #include "mapinstance.h"
#include "debugcmd.h" #include "debugcmd.h"
#include "netdata.h"
#include "mt/Param.h" #include "mt/Param.h"
#include "mt/Equip.h" #include "mt/Equip.h"
@ -842,8 +843,10 @@ void Player::ProcInteraction()
#endif #endif
} }
} }
#ifdef MYDEBUG
last_interaction_objids_ = std::move(interaction_objids); last_interaction_objids_ = std::move(interaction_objids);
last_interaction_frameno_ = room->GetFrameNo(); last_interaction_frameno_ = room->GetFrameNo();
#endif
interaction_objids.clear(); interaction_objids.clear();
if (notify_msg.items().size() > 0) { if (notify_msg.items().size() > 0) {
SendNotifyMsg(notify_msg); SendNotifyMsg(notify_msg);

View File

@ -50,6 +50,7 @@
#include "ingamevoice.h" #include "ingamevoice.h"
#include "jsondatamgr.h" #include "jsondatamgr.h"
#include "httpproxy.h" #include "httpproxy.h"
#include "netdata.h"
#include "mt/Param.h" #include "mt/Param.h"
#include "mt/Hero.h" #include "mt/Hero.h"

View File

@ -6,8 +6,6 @@
#include <f8/protoutils.h> #include <f8/protoutils.h>
#include <f8/timer.h> #include <f8/timer.h>
#include "netdata.h"
namespace cs namespace cs
{ {
class CMJoin; class CMJoin;
@ -15,11 +13,6 @@ namespace cs
class CMPing; class CMPing;
} }
namespace MetaData
{
struct Map;
}
class GridService; class GridService;
class MapService; class MapService;
class MapInstance; class MapInstance;

View File

@ -3,12 +3,6 @@
#include "weakptr.h" #include "weakptr.h"
#include "DetourNavMesh.h" #include "DetourNavMesh.h"
namespace MetaData
{
struct Equip;
struct Skill;
}
namespace cs namespace cs
{ {
struct CMJoin; struct CMJoin;