mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
34 lines
1.0 KiB
C
34 lines
1.0 KiB
C
|
//===== Copyright (c) 1996-2005, Valve Corporation, All rights reserved. ======//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//=============================================================================//
|
||
|
|
||
|
#ifndef ISERVERNETWORKABLE_H
|
||
|
#define ISERVERNETWORKABLE_H
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Forward declarations
|
||
|
//-----------------------------------------------------------------------------
|
||
|
class CBaseEntity;
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
//
|
||
|
//-----------------------------------------------------------------------------
|
||
|
class IServerNetworkable
|
||
|
{
|
||
|
// These functions are handled automatically by the server_class macros and CBaseNetworkable.
|
||
|
public:
|
||
|
virtual CBaseEntity* GetBaseEntity() {}; // Only used by game code.
|
||
|
virtual const char* GetClassName() const {};
|
||
|
|
||
|
protected:
|
||
|
// Should never call delete on this!
|
||
|
virtual ~IServerNetworkable() {}
|
||
|
virtual void* Unk() {};
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // ISERVERNETWORKABLE_H
|