初步修复
This commit is contained in:
parent
8fc4357cc6
commit
e4714f3f0e
46705 changed files with 12004901 additions and 0 deletions
31
Server/ServerCommon/ReputationSystemEventHandlerForServer.h
Normal file
31
Server/ServerCommon/ReputationSystemEventHandlerForServer.h
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#if defined( PRE_ADD_NPC_REPUTATION_SYSTEM )
|
||||
|
||||
#include "ReputationSystemEventHandler.h"
|
||||
|
||||
class CDNUserSession;
|
||||
|
||||
class CServerReputationSystemEventHandler:public IReputationSystemEventHandler,public TBoostMemoryPool<CServerReputationSystemEventHandler>
|
||||
{
|
||||
public:
|
||||
|
||||
CServerReputationSystemEventHandler( CDNUserSession* pSession );
|
||||
virtual ~CServerReputationSystemEventHandler(){}
|
||||
|
||||
virtual void OnComplete( IReputationSystem* pReputation, IReputationSystem::eType Type );
|
||||
virtual void OnChange( IReputationSystem::eType Type );
|
||||
#if defined( PRE_ADD_REPUTATION_EXPOSURE )
|
||||
virtual void OnCommit( std::map<IReputationSystem*,size_t>& Reputation, bool bClientSend );
|
||||
#else
|
||||
virtual void OnCommit( std::map<IReputationSystem*,int>& Reputation, bool bClientSend );
|
||||
#endif // #if defined( PRE_ADD_REPUTATION_EXPOSURE )
|
||||
virtual void OnConnect( __time64_t tTime, bool bSend );
|
||||
|
||||
private:
|
||||
|
||||
CDNUserSession* m_pSession;
|
||||
};
|
||||
|
||||
#endif // #if defined( PRE_ADD_NPC_REPUTATION_SYSTEM )
|
||||
Loading…
Add table
Add a link
Reference in a new issue