|
|
|
@ -66,7 +66,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|
|
|
|
#include "../pnKeyedObject/hsKeyedObject.h" |
|
|
|
|
#include "../pnFactory/plCreatable.h" |
|
|
|
|
#include "../pnNetCommon/plNetApp.h" |
|
|
|
|
#include "hsStream.h" |
|
|
|
|
#include "hsStream.h" |
|
|
|
|
|
|
|
|
|
plNetResManager::plNetResManager() |
|
|
|
|
{ |
|
|
|
@ -92,11 +92,19 @@ plCreatable* plNetResManager::IReadCreatable(hsStream* s) const
|
|
|
|
|
return nil; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void plNetResManager::IKeyReffed(plKeyImp* key)
|
|
|
|
|
void plNetResManager::IKeyReffed(plKeyImp* key) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void plNetResManager::IKeyUnreffed(plKeyImp* key)
|
|
|
|
|
{
|
|
|
|
|
delete key;
|
|
|
|
|
void plNetResManager::IKeyUnreffed(plKeyImp* key) |
|
|
|
|
{ |
|
|
|
|
// Expanded even with HS_DEBUGGING undefined. XXX
|
|
|
|
|
// hsAssert( key != nil, "NetResMgr::NIL key to Unref" );
|
|
|
|
|
if (key == nil) { |
|
|
|
|
ErrorAssert(104, |
|
|
|
|
"H:\\projects\\OpenURU\\Repo\\Foundry-CWE-ou-minkata\\MOULOpenSourceClientPlugin\\Plasma20\\Sources\\Plasma\\PubUtilLib\\plNetCommon\\plNetResManager.cpp", |
|
|
|
|
"NetResMgr::NIL key to Unref"); |
|
|
|
|
} else { |
|
|
|
|
delete key; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|