diff options
| author | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
|---|---|---|
| committer | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
| commit | 39ed87570bdb2f86969d4be821c94b722dc71179 (patch) | |
| tree | abc53757f75f40c80278e87650ea92808274aa59 /mp/src/public/iserverunknown.h | |
| download | source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip | |
First version of the SOurce SDK 2013
Diffstat (limited to 'mp/src/public/iserverunknown.h')
| -rw-r--r-- | mp/src/public/iserverunknown.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/mp/src/public/iserverunknown.h b/mp/src/public/iserverunknown.h new file mode 100644 index 00000000..e7a0039d --- /dev/null +++ b/mp/src/public/iserverunknown.h @@ -0,0 +1,35 @@ +//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef ISERVERUNKNOWN_H
+#define ISERVERUNKNOWN_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+#include "ihandleentity.h"
+
+class ICollideable;
+class IServerNetworkable;
+class CBaseEntity;
+
+
+// This is the server's version of IUnknown. We may want to use a QueryInterface-like
+// mechanism if this gets big.
+class IServerUnknown : public IHandleEntity
+{
+public:
+ // Gets the interface to the collideable + networkable representation of the entity
+ virtual ICollideable* GetCollideable() = 0;
+ virtual IServerNetworkable* GetNetworkable() = 0;
+ virtual CBaseEntity* GetBaseEntity() = 0;
+};
+
+
+#endif // ISERVERUNKNOWN_H
|