2023-01-18 00:46:17 +01:00
|
|
|
|
//===== Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ======//
|
|
|
|
|
//
|
|
|
|
|
// Purpose:
|
|
|
|
|
//
|
|
|
|
|
// $NoKeywords: $
|
|
|
|
|
//===========================================================================//
|
|
|
|
|
|
|
|
|
|
#ifndef SERVERNETWORKPROPERTY_H
|
|
|
|
|
#define SERVERNETWORKPROPERTY_H
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include "public/iservernetworkable.h"
|
|
|
|
|
#include "public/server_class.h"
|
2023-01-19 15:25:45 +01:00
|
|
|
|
#include "public/edict.h"
|
2023-04-02 17:21:21 +02:00
|
|
|
|
#include "game/shared/predictioncopy.h"
|
2023-01-18 00:46:17 +01:00
|
|
|
|
|
2023-04-02 17:21:21 +02:00
|
|
|
|
class CServerNetworkProperty : IServerNetworkable
|
2023-01-18 00:46:17 +01:00
|
|
|
|
{
|
2023-01-19 15:25:45 +01:00
|
|
|
|
public:
|
2023-08-13 20:20:01 +02:00
|
|
|
|
inline edict_t GetEdict(void) const { return m_edict; }
|
2023-01-19 15:25:45 +01:00
|
|
|
|
|
|
|
|
|
private:
|
2023-01-18 00:46:17 +01:00
|
|
|
|
CBaseEntity* m_pOuter;
|
|
|
|
|
ServerClass* m_pServerClass;
|
2023-04-02 17:21:21 +02:00
|
|
|
|
edict_t m_edict;
|
|
|
|
|
EHANDLE m_hParent;
|
2023-01-18 00:46:17 +01:00
|
|
|
|
};
|
2023-04-02 17:21:21 +02:00
|
|
|
|
static_assert(sizeof(CServerNetworkProperty) == 32);
|
2023-01-18 00:46:17 +01:00
|
|
|
|
|
|
|
|
|
#endif // SERVERNETWORKPROPERTY_H
|