当前位置: 首页>>代码示例>>C++>>正文


C++ CAimTargetManager类代码示例

本文整理汇总了C++中CAimTargetManager的典型用法代码示例。如果您正苦于以下问题:C++ CAimTargetManager类的具体用法?C++ CAimTargetManager怎么用?C++ CAimTargetManager使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了CAimTargetManager类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: LevelInitPreEntity

	void LevelInitPreEntity()
	{
		g_NotifyList.LevelInitPreEntity();
		g_TouchManager.LevelInitPreEntity();
		g_AimManager.LevelInitPreEntity();
		g_SimThinkManager.LevelInitPreEntity();
	}
开发者ID:paralin,项目名称:hl2sdk,代码行数:7,代码来源:entitylist.cpp

示例2: LevelInitPreEntity

	void LevelInitPreEntity()
	{
		g_NotifyList.LevelInitPreEntity();
		g_TouchManager.LevelInitPreEntity();
		g_AimManager.LevelInitPreEntity();
		g_SimThinkManager.LevelInitPreEntity();
#ifdef HL2_DLL
		OverrideMoveCache_LevelInitPreEntity();
#endif	// HL2_DLL
	}
开发者ID:Au-heppa,项目名称:source-sdk-2013,代码行数:10,代码来源:entitylist.cpp

示例3: ReportEntityFlagsChanged

void CGlobalEntityList::ReportEntityFlagsChanged( CBaseEntity *pEntity, unsigned int flagsOld, unsigned int flagsNow )
{
	if ( pEntity->IsMarkedForDeletion() )
		return;
	// UNDONE: Move this into IEntityListener instead?
	unsigned int flagsChanged = flagsOld ^ flagsNow;
	if ( flagsChanged & FL_AIMTARGET )
	{
		unsigned int flagsAdded = flagsNow & flagsChanged;
		unsigned int flagsRemoved = flagsOld & flagsChanged;

		if ( flagsAdded & FL_AIMTARGET )
		{
			g_AimManager.AddEntity( pEntity );
		}
		if ( flagsRemoved & FL_AIMTARGET )
		{
			g_AimManager.RemoveEntity( pEntity );
		}
	}
}
开发者ID:Au-heppa,项目名称:source-sdk-2013,代码行数:21,代码来源:entitylist.cpp

示例4: LevelShutdownPostEntity

	void LevelShutdownPostEntity()
	{
		g_TouchManager.LevelShutdownPostEntity();
		g_AimManager.LevelShutdownPostEntity();
		g_PostClientManager.LevelShutdownPostEntity();
		g_SimThinkManager.LevelShutdownPostEntity();

		CBaseEntityClassList *pClassList = s_pClassLists;
		while ( pClassList )
		{
			pClassList->LevelShutdownPostEntity();
			pClassList = pClassList->m_pNextClassList;
		}
	}
开发者ID:paralin,项目名称:hl2sdk,代码行数:14,代码来源:entitylist.cpp

示例5: LevelShutdownPostEntity

	void LevelShutdownPostEntity()
	{
		g_TouchManager.LevelShutdownPostEntity();
		g_AimManager.LevelShutdownPostEntity();
		g_SimThinkManager.LevelShutdownPostEntity();
#ifdef HL2_DLL
		OverrideMoveCache_LevelShutdownPostEntity();
#endif // HL2_DLL
		CBaseEntityClassList *pClassList = s_pClassLists;
		while ( pClassList )
		{
			pClassList->LevelShutdownPostEntity();
			pClassList = pClassList->m_pNextClassList;
		}
	}
开发者ID:Au-heppa,项目名称:source-sdk-2013,代码行数:15,代码来源:entitylist.cpp

示例6: AimTarget_ForceRepopulateList

void AimTarget_ForceRepopulateList()
{
	g_AimManager.ForceRepopulateList();
}
开发者ID:Au-heppa,项目名称:source-sdk-2013,代码行数:4,代码来源:entitylist.cpp

示例7: AimTarget_ListCopy

int AimTarget_ListCopy( CBaseEntity *pList[], int listMax )
{
	return g_AimManager.ListCopy( pList, listMax );
}
开发者ID:Au-heppa,项目名称:source-sdk-2013,代码行数:4,代码来源:entitylist.cpp

示例8: AimTarget_ListCount

int AimTarget_ListCount()
{
	return g_AimManager.ListCount();
}
开发者ID:Au-heppa,项目名称:source-sdk-2013,代码行数:4,代码来源:entitylist.cpp


注:本文中的CAimTargetManager类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。