本文整理汇总了C++中CKanturuUtil::NotifyKanturuUserMonsterCount方法的典型用法代码示例。如果您正苦于以下问题:C++ CKanturuUtil::NotifyKanturuUserMonsterCount方法的具体用法?C++ CKanturuUtil::NotifyKanturuUserMonsterCount怎么用?C++ CKanturuUtil::NotifyKanturuUserMonsterCount使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CKanturuUtil
的用法示例。
在下文中一共展示了CKanturuUtil::NotifyKanturuUserMonsterCount方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: GetTickCount
void CKanturuBattleOfMaya::ProcState_MAYA2()
{
if ( gObj[this->m_iMayaRightHandObjIndex].Live == FALSE )
{
if ( this->m_iMayaHandDieTimeCounter == 0 )
{
this->SetSuccessValue(TRUE);
this->SetSceneSuccessValue(TRUE);
LogAdd("[ KANTURU ][ BattleOfMaya ] Success!! - DetailState:%d",
this->m_iBattleOfMayaState);
g_KanturuBattleUserMng.LogBattleWinnerUserInfo(1,
this->m_BattleTimeInfo[this->m_iSceneState].GetElapsedTime());
KANTURU_UTIL.NotifyKanturuUserMonsterCount(0,
g_KanturuBattleUserMng.GetUserCount());
this->m_iMayaHandDieTimeCounter = GetTickCount();
}
if ( (GetTickCount() - this->m_iMayaHandDieTimeCounter ) >= 3000 )
{
this->SetNextState(this->m_iBattleOfMayaState);
}
}
else
{
KANTURU_UTIL.NotifyKanturuUserMonsterCount(1,
g_KanturuBattleUserMng.GetUserCount());
this->ChangeAI(this->m_iMayaHandGroupNumber[1]);
this->m_KanturuMaya.KanturuMayaAct_Hands();
}
}
示例2: ProcState_START
void CKanturuBattleOfNightmare::ProcState_START()
{
KANTURU_UTIL.NotifyKanturuUserMonsterCount(g_KanturuMonsterMng.GetAliveMonsterCount(),
g_KanturuBattleUserMng.GetUserCount());
int iIndex = this->m_iNightmareObjIndex;
if ( gObj[iIndex].Live == FALSE )
{
this->SetSuccessValue(TRUE);
CLog.LogAdd("[ KANTURU ][ BattleOfNightmare ] Success!! Nightmare Die");
g_KanturuBattleUserMng.LogBattleWinnerUserInfo(3, this->m_StateInfo[this->m_iBattleOfNightmareState].GetElapsedTime());
this->SetNextState(this->m_iBattleOfNightmareState);
}
}
示例3:
void CKanturuBattleOfMaya::ProcState_START3()
{
if ( g_KanturuMonsterMng.IsExistAliveMonster() == FALSE )
{
this->SetSuccessValue(TRUE);
LogAdd("[ KANTURU ][ BattleOfMaya ] Success!! - DetailState:%d",
this->m_iBattleOfMayaState);
this->SetNextState(this->m_iBattleOfMayaState);
}
else
{
this->m_KanturuMaya.KanturuMayaAct_IceStorm(this->m_iMayaIceStormUsingRate);
KANTURU_UTIL.NotifyKanturuUserMonsterCount(g_KanturuMonsterMng.GetAliveMonsterCount(),
g_KanturuBattleUserMng.GetUserCount());
}
}