Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
808 B

//========= 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