Files
funnygame/public/enginebridge.h
2026-02-28 21:07:44 +02:00

25 lines
595 B
C++

#ifndef ENGINE_BRIDGE_H
#define ENGINE_BRIDGE_H
#include "gamesystem.h"
#include "networkbase.h"
struct EngineConsts_t
{
bool m_bIsDedicated;
bool m_bIsSteam;
INetworkBase *(*LaunchLocalBridge)(uint16_t uPort);
INetworkBase *(*LaunchServer)(uint16_t uPort);
INetworkBase *(*ConnectLocalBridge)(uint16_t uPort);
INetworkBase *(*ConnectSteamServer)(uint64_t uServer, uint16_t uPort);
};
abstract_class IEngineBridge: public IGameSystem
{
public:
virtual void ConnectInterface( const char *psz, void *pInterface ) = 0;
};
#define ENGINE_BRIDGE_INTERFACE_VERSION "EngineBridge001"
#endif