SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
Public Member Functions | Public Attributes | List of all members
ReaperProtection< SESSION_CLASS > Struct Template Reference

#include <ClientManager.h>

Collaboration diagram for ReaperProtection< SESSION_CLASS >:
Collaboration graph

Public Member Functions

 ReaperProtection (SESSION_CLASS *session, uint64_t token, ClientSessionStore< SESSION_CLASS > &store)
 
 ~ReaperProtection ()
 
void protectee_moved ()
 

Public Attributes

SESSION_CLASS * m_protectee
 
uint64_t m_token
 
ClientSessionStore< SESSION_CLASS > & m_store
 

Detailed Description

template<class SESSION_CLASS>
struct ReaperProtection< SESSION_CLASS >

Note
Protecting a session using the ReaperProtection will reset it's liveness-timer

Constructor & Destructor Documentation

◆ ReaperProtection()

template<class SESSION_CLASS>
ReaperProtection< SESSION_CLASS >::ReaperProtection ( SESSION_CLASS *  session,
uint64_t  token,
ClientSessionStore< SESSION_CLASS > &  store 
)
inline
Here is the call graph for this function:

◆ ~ReaperProtection()

template<class SESSION_CLASS>
ReaperProtection< SESSION_CLASS >::~ReaperProtection ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ protectee_moved()

template<class SESSION_CLASS>
void ReaperProtection< SESSION_CLASS >::protectee_moved ( )
inline
Here is the caller graph for this function:

Member Data Documentation

◆ m_protectee

template<class SESSION_CLASS>
SESSION_CLASS* ReaperProtection< SESSION_CLASS >::m_protectee

◆ m_store

template<class SESSION_CLASS>
ClientSessionStore<SESSION_CLASS>& ReaperProtection< SESSION_CLASS >::m_store

◆ m_token

template<class SESSION_CLASS>
uint64_t ReaperProtection< SESSION_CLASS >::m_token

The documentation for this struct was generated from the following file: