aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/iserverunknown.h
diff options
context:
space:
mode:
authorJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
committerJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
commit39ed87570bdb2f86969d4be821c94b722dc71179 (patch)
treeabc53757f75f40c80278e87650ea92808274aa59 /mp/src/public/iserverunknown.h
downloadsource-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.h35
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