/**
 * \file BGDNetConnRef.cpp
 * \brief Реализация класса ConnRef
 */

#include "BGDNetPch.h"

#include "BGDNetConnRef.h"

namespace BGDNet
{

ConnRef::ConnRef( void )
{
  NWRCODE err = NWCCGetPrimConnRef(&m_ref);
}

ConnRef::ConnRef( nuint32 ref ) : m_ref(ref)
{
}

ConnRef::operator nuint32( void ) const
{
  return m_ref;
}

} // namespace BGDNet
