mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 12:06:07 +08:00
Added original SDK code for Alien Swarm.
This commit is contained in:
35
public/iserverunknown.h
Normal file
35
public/iserverunknown.h
Normal file
@ -0,0 +1,35 @@
|
||||
//========= Copyright <20> 1996-2005, 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
|
Reference in New Issue
Block a user