1
0
mirror of https://github.com/luanti-org/luanti.git synced 2026-01-01 02:45:19 +01:00

Move RemotePlayer code to its own cpp/header

This commit is contained in:
Loic Blot
2016-10-08 19:08:23 +02:00
committed by Ner'zhul
parent 7bbd716426
commit 569b89b36f
15 changed files with 423 additions and 370 deletions

View File

@@ -22,7 +22,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "serverobject.h"
#include "itemgroup.h"
#include "player.h"
#include "object_properties.h"
/*
@@ -157,6 +156,8 @@ public:
}
};
class RemotePlayer;
class PlayerSAO : public ServerActiveObject
{
public:
@@ -231,7 +232,7 @@ public:
void disconnected();
RemotePlayer* getPlayer() { return m_player; }
RemotePlayer *getPlayer() { return m_player; }
u16 getPeerID() const { return m_peer_id; }
// Cheat prevention