本文整理汇总了C++中CDPDatabaseClient::CalluspLoggingQuest方法的典型用法代码示例。如果您正苦于以下问题:C++ CDPDatabaseClient::CalluspLoggingQuest方法的具体用法?C++ CDPDatabaseClient::CalluspLoggingQuest怎么用?C++ CDPDatabaseClient::CalluspLoggingQuest使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CDPDatabaseClient
的用法示例。
在下文中一共展示了CDPDatabaseClient::CalluspLoggingQuest方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: __SetQuest
void __SetQuest( DWORD dwIdMover, int nQuest )
{
QuestProp* pQuestProp = prj.m_aPropQuest.GetAt( nQuest );
CUser* pUser = prj.GetUser( dwIdMover );
if( pQuestProp )
pUser->AddDefinedText( TID_EVE_STARTQUEST, "\"%s\"", pQuestProp->m_szTitle );
QUEST quest;
if( pUser->SetQuest( nQuest, 0, &quest ) )
pUser->AddSetQuest( &quest );
g_dpDBClient.CalluspLoggingQuest( pUser->m_idPlayer, nQuest, 10 );
}
示例2: __SetQuestState
int __SetQuestState( DWORD dwIdMover, int nQuest, int nState )
{
CUser* pUser = prj.GetUser( dwIdMover );
if( nState == QS_END )
{
QuestProp* pQuestProp = prj.m_aPropQuest.GetAt( nQuest );
if( pQuestProp )
{
if( nQuest != QUEST_CREGUILD )
pUser->AddDefinedText( TID_EVE_ENDQUEST, "\"%s\"", pQuestProp->m_szTitle );
}
g_dpDBClient.CalluspLoggingQuest( pUser->m_idPlayer, nQuest, 20 );
}
else
if( nState == QS_BEGIN )
{
g_dpDBClient.CalluspLoggingQuest( pUser->m_idPlayer, nQuest, 10 );
}
QUEST quest;
if( pUser->SetQuest( nQuest, nState, &quest ) )
pUser->AddSetQuest( &quest );
return 1;
}