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


C++ CKanturuUtil::NotifyKanturuSuccessValue方法代码示例

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


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

示例1: State

void CKanturuBattleOfMaya::SetState_END_MAYA3()
{
	LogAdd( "[ KANTURU ][ BattleOfMaya ] State(%d) -> END_MAYA3",
		this->m_iBattleOfMayaState);

	this->SetBattleSceneState(-1);
	this->SetBattleOfMayaState(KANTURU_MAYA_END3);
	this->SetEntrancePermit(FALSE);
	
	KANTURU_UTIL.NotifyKanturuSuccessValue(this->GetSuccessValue());
}
开发者ID:Fenrisus,项目名称:p4f-free-emu,代码行数:11,代码来源:KanturuBattleOfMaya.cpp

示例2: SetState_END

void CKanturuBattleOfNightmare::SetState_END()
{
	CLog.LogAddC(5, "[ KANTURU ][ BattleOfNightmare ] State(%d) -> END",
		this->m_iBattleOfNightmareState);

	this->SetBattleOfNightmareState(KANTURU_NIGHTMARE_END);
	KANTURU_UTIL.NotifyKanturuSuccessValue(this->GetSuccessValue());

	if ( this->GetSuccessValue() == FALSE )
	{
		KANTURU_UTIL.SendMsgKanturuBattleUser(lMsg.Get(MSGGET(13, 36)));
		CLog.LogAdd("[ KANTURU ][ BattleOfNightmare ] Fail!! TimeOut");
	}
}
开发者ID:ElBedeawi,项目名称:mu-server-ex,代码行数:14,代码来源:KanturuBattleOfNightmare.cpp

示例3: SetState_END

void CKanturuBattleOfNightmare::SetState_END()
{
	LogAdd( "[ KANTURU ][ BattleOfNightmare ] State(%d) -> END",
		this->m_iBattleOfNightmareState);

	this->SetBattleOfNightmareState(KANTURU_NIGHTMARE_END);
	KANTURU_UTIL.NotifyKanturuSuccessValue(this->GetSuccessValue());

	if ( this->GetSuccessValue() == FALSE )
	{
		KANTURU_UTIL.SendMsgKanturuBattleUser("Because will limit the time crossed, will force to return the ridge security area.");
		LogAdd("[ KANTURU ][ BattleOfNightmare ] Fail!! TimeOut");
	}
}
开发者ID:Hagaib,项目名称:p4f-free-emu,代码行数:14,代码来源:KanturuBattleOfNightmare.cpp

示例4: SetState_END

void CKanturuBattleOfMaya::SetState_END()
{
	LogAdd( "[ KANTURU ][ BattleOfMaya ] State(%d) -> END",
		this->m_iBattleOfMayaState);

	this->SetBattleSceneState(-1);
	this->SetBattleOfMayaState(KANTURU_MAYA_END);
	this->SetEntrancePermit(FALSE);

	if ( this->GetSuccessValue() == TRUE )
	{
		KANTURU_UTIL.SendMsgKanturuBattleUser("Defeat the Nightmare that controls the Maya to gain entrance to the Refinery.");
	}
	else
	{
		KANTURU_UTIL.NotifyKanturuSuccessValue(this->GetSuccessValue());
		KANTURU_UTIL.SendMsgKanturuBattleUser("Because will limit the time crossed, will force to return the ridge security area.");
	}
	
	LogAdd( "[ KANTURU ][ BattleOfMaya ] Success Value[%d]",
		this->GetSuccessValue());
}
开发者ID:Fenrisus,项目名称:p4f-free-emu,代码行数:22,代码来源:KanturuBattleOfMaya.cpp


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