示例#1
0
void CClientObjectManager::UpdateLimitInfo ( void )
{
    CPools* pPools = g_pGame->GetPools ();
    m_iEntryInfoNodeEntries = pPools->GetEntryInfoNodePool ()->GetNumberOfUsedSpaces ();
    m_iPointerNodeSingleLinkEntries = pPools->GetPointerNodeSingleLinkPool ()->GetNumberOfUsedSpaces ();
    m_iPointerNodeDoubleLinkEntries = pPools->GetPointerNodeDoubleLinkPool ()->GetNumberOfUsedSpaces ();
}
示例#2
0
void COMMAND_Debug ( const char *szCmdLine )
{
    __debugbreak();

    return;

    CPools* pPools = g_pGame->GetPools ();
    int iEntryInfoNodeEntries = pPools->GetNumberOfUsedSpaces( ENTRY_INFO_NODE_POOL );
    int iPointerNodeSingleLinkEntries = pPools->GetNumberOfUsedSpaces( POINTER_SINGLE_LINK_POOL );
    int iPointerNodeDoubleLinkEntries = pPools->GetNumberOfUsedSpaces( POINTER_DOUBLE_LINK_POOL );

    g_pCore->GetConsole ()->Printf ( "entry info: %i", iEntryInfoNodeEntries );
    g_pCore->GetConsole ()->Printf ( "single node: %i", iPointerNodeSingleLinkEntries );
    g_pCore->GetConsole ()->Printf ( "dbl node: %i", iPointerNodeDoubleLinkEntries );
}
示例#3
0
void COMMAND_Debug(const char* szCmdLine)
{
    __debugbreak();

    return;

    CPools* pPools = g_pGame->GetPools();
    int     iEntryInfoNodeEntries = pPools->GetEntryInfoNodePool()->GetNumberOfUsedSpaces();
    int     iPointerNodeSingleLinkEntries = pPools->GetPointerNodeSingleLinkPool()->GetNumberOfUsedSpaces();
    int     iPointerNodeDoubleLinkEntries = pPools->GetPointerNodeDoubleLinkPool()->GetNumberOfUsedSpaces();

    g_pCore->GetConsole()->Printf("entry info: %i", iEntryInfoNodeEntries);
    g_pCore->GetConsole()->Printf("single node: %i", iPointerNodeSingleLinkEntries);
    g_pCore->GetConsole()->Printf("dbl node: %i", iPointerNodeDoubleLinkEntries);
}