本文整理汇总了C++中_Ty类的典型用法代码示例。如果您正苦于以下问题:C++ _Ty类的具体用法?C++ _Ty怎么用?C++ _Ty使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了_Ty类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: DirectDelete
void MotionMaster::DirectDelete(_Ty curr)
{
if (isStatic(curr))
return;
curr->Finalize(*_owner);
delete curr;
}
开发者ID:beyourself,项目名称:123,代码行数:7,代码来源:MotionMaster.cpp
示例2: DirectDelete
void MotionMaster::DirectDelete(_Ty curr)
{
if(isStatic(curr))
return;
if(i_owner->IsInWorld()) // i_owner can have even m_cleanupDone flag!
curr->Finalize(*i_owner);
delete curr;
}
开发者ID:StarCore,项目名称:MythCore,代码行数:8,代码来源:MotionMaster.cpp
示例3: DelayedDelete
void MotionMaster::DelayedDelete(_Ty curr) {
sLog->outCrash(
"Unit (Entry %u) is trying to delete its updating MG (Type %u)!",
i_owner->GetEntry(), curr->GetMovementGeneratorType());
if (isStatic(curr))
return;
if (!m_expList)
m_expList = new ExpireList();
m_expList->push_back(curr);
}
开发者ID:FrenchCORE,项目名称:Server,代码行数:10,代码来源:MotionMaster.cpp
示例4: execute
static std::vector<node_type*> execute(_Ty& entity, bool descending)
{
std::vector<node_type*> result;
for(node_type* node = entity.parent();
node;
node = node->parent())
{
result.emplace_back(node);
}
if(descending)
std::reverse(result.begin(), result.end());
return std::move(result);
}
开发者ID:SrTobi,项目名称:rxml,代码行数:17,代码来源:locate.hpp
示例5: DelayedDelete
void MotionMaster::DelayedDelete(_Ty curr)
{
TC_LOG_FATAL("misc", "Unit (Entry %u) is trying to delete its updating Movement Generator (Type %u)!", _owner->GetEntry(), curr->GetMovementGeneratorType());
if (isStatic(curr))
return;
if (!_expList)
_expList = new ExpireList();
_expList->push_back(curr);
}
开发者ID:alex1kiss,项目名称:LegacyCore_6.x.x,代码行数:9,代码来源:MotionMaster.cpp
示例6: DelayedDelete
void MotionMaster::DelayedDelete(_Ty curr)
{
sLog->outFatal(LOG_FILTER_GENERAL, "Unit (Entry %u) is trying to delete its updating MG (Type %u)!", _owner->GetEntry(), curr->GetMovementGeneratorType());
if (isStatic(curr))
return;
if (!_expList)
_expList = new ExpireList();
_expList->push_back(curr);
}
开发者ID:Caydan,项目名称:DeathCore,代码行数:9,代码来源:MotionMaster.cpp
注:本文中的_Ty类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论