ManaPlus
Public Member Functions | Data Fields
Token Struct Reference

#include <token.h>

Public Member Functions

 Token ()
 
void clear ()
 

Data Fields

BeingId account_ID
 
int session_ID1
 
int session_ID2
 
GenderT sex
 

Detailed Description

Definition at line 30 of file token.h.

Constructor & Destructor Documentation

◆ Token()

Token::Token ( )
inline

Definition at line 32 of file token.h.

32  :
34  session_ID1(0),
35  session_ID2(0),
37  { }
const BeingId BeingId_zero
Definition: beingid.h:30
@ UNSPECIFIED
Definition: gender.h:33
int session_ID2
Definition: token.h:43
GenderT sex
Definition: token.h:44
BeingId account_ID
Definition: token.h:41
int session_ID1
Definition: token.h:42

Member Function Documentation

◆ clear()

void Token::clear ( )
inline

Definition at line 46 of file token.h.

47  {
49  session_ID1 = 0;
50  session_ID2 = 0;
52  }

References account_ID, BeingId_zero, session_ID1, session_ID2, sex, and Gender::UNSPECIFIED.

Referenced by Ea::LoginHandler::LoginHandler().

Field Documentation

◆ account_ID

BeingId Token::account_ID

◆ session_ID1

int Token::session_ID1

◆ session_ID2

int Token::session_ID2

◆ sex

GenderT Token::sex

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