ManaPlus
Public Member Functions | Data Fields
Net::Character Struct Reference

#include <character.h>

Public Member Functions

 Character ()
 
 ~Character ()
 

Data Fields

LocalPlayerdummy
 
PlayerInfoBackend data
 
uint16_t slot
 

Detailed Description

A structure to hold information about a character.

Definition at line 40 of file character.h.

Constructor & Destructor Documentation

◆ Character()

Net::Character::Character ( )
inline

Definition at line 42 of file character.h.

42  :
43  dummy(nullptr),
44  data(),
45  slot(0U)
46  {
47  }
LocalPlayer * dummy
Definition: character.h:56
PlayerInfoBackend data
Definition: character.h:57
uint16_t slot
Definition: character.h:58

◆ ~Character()

Net::Character::~Character ( )
inline

Definition at line 51 of file character.h.

52  {
53  delete2(dummy)
54  }
#define delete2(var)
Definition: delete2.h:25

References delete2, and dummy.

Field Documentation

◆ data

PlayerInfoBackend Net::Character::data

◆ dummy

LocalPlayer* Net::Character::dummy

◆ slot

uint16_t Net::Character::slot

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