|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <WorldSocketSessionState.h>
Public Member Functions | |
| bool | Attach (WorldSession *session) |
| bool | Detach (WorldSession *session) |
| bool | HasSession () const |
| template<class Callback> | |
| auto | WithSession (Callback &&callback) const -> decltype(callback(static_cast< WorldSession * >(nullptr))) |
| WorldSocketSessionState () | |
Private Types | |
| typedef std::lock_guard< LockType > | GuardType |
| typedef Skyfire::Mutex | LockType |
Private Attributes | |
| LockType | _lock |
| WorldSession * | _session |
Definition at line 15 of file WorldSocketSessionState.h.
|
private |
Definition at line 61 of file WorldSocketSessionState.h.
|
private |
Definition at line 60 of file WorldSocketSessionState.h.
|
inline |
Definition at line 18 of file WorldSocketSessionState.h.
References _session.
|
inline |
Definition at line 20 of file WorldSocketSessionState.h.
|
inline |
Definition at line 33 of file WorldSocketSessionState.h.
|
inline |
Definition at line 46 of file WorldSocketSessionState.h.
|
inline |
Definition at line 53 of file WorldSocketSessionState.h.
|
mutableprivate |
Definition at line 63 of file WorldSocketSessionState.h.
Referenced by Attach(), Detach(), HasSession(), and WithSession().
|
private |
Definition at line 64 of file WorldSocketSessionState.h.
Referenced by Attach(), Detach(), HasSession(), WithSession(), and WorldSocketSessionState().