1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00
hl2sdk/game/server/init_factory.cpp
2013-06-26 15:22:04 -07:00

26 lines
605 B
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include "init_factory.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
static factorylist_t s_factories;
// Store off the factories
void FactoryList_Store( const factorylist_t &sourceData )
{
s_factories = sourceData;
}
// retrieve the stored factories
void FactoryList_Retrieve( factorylist_t &destData )
{
destData = s_factories;
}