This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
nekohook/modules/source2013/sdk/public/iserverunknown.h
2020-08-04 13:13:01 -04:00

33 lines
825 B
C++

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