mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Revert class forward declaration in {client,server}opcodes.h
closes #14324
This commit is contained in:
parent
40bf88ac74
commit
e1f6108789
2 changed files with 4 additions and 2 deletions
|
@ -20,10 +20,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "client/client.h"
|
||||||
#include "networkprotocol.h"
|
#include "networkprotocol.h"
|
||||||
|
|
||||||
class NetworkPacket;
|
class NetworkPacket;
|
||||||
class Client;
|
// Note: don't forward-declare Client here (#14324)
|
||||||
|
|
||||||
enum ToClientConnectionState {
|
enum ToClientConnectionState {
|
||||||
TOCLIENT_STATE_NOT_CONNECTED,
|
TOCLIENT_STATE_NOT_CONNECTED,
|
||||||
|
|
|
@ -20,10 +20,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "server.h"
|
||||||
#include "networkprotocol.h"
|
#include "networkprotocol.h"
|
||||||
|
|
||||||
class NetworkPacket;
|
class NetworkPacket;
|
||||||
class Server;
|
// Note: don't forward-declare Server here (#14324)
|
||||||
|
|
||||||
enum ToServerConnectionState {
|
enum ToServerConnectionState {
|
||||||
TOSERVER_STATE_NOT_CONNECTED,
|
TOSERVER_STATE_NOT_CONNECTED,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue