SEGS  0.6.1-develop [39915b3b]
Super Entity Game Server
playerdata_definitions.h
Go to the documentation of this file.
1 /*
2  * SEGS - Super Entity Game Server
3  * http://www.segs.io/
4  * Copyright (c) 2006 - 2019 SEGS Team (see AUTHORS.md)
5  * This software is licensed under the terms of the 3-clause BSD License. See LICENSE.md for details.
6  */
7 
8 #pragma once
9 
11 #include "gui_definitions.h"
12 #include "keybind_definitions.h"
13 #include "Common/GameData/Clue.h"
17 #include "Common/GameData/Task.h"
18 
19 
20 #include <stdint.h>
21 
22 // this part of the Entity is for Players only info
23 struct PlayerData
24 {
25  enum : uint32_t {class_version = 3};
34 
35  uint8_t m_auth_data[16] = {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}; // preorder rewards and things
36 
37  void reset()
38  {
39  m_options.m_first_person_view=false;
40  }
41  void dump() const
42  {
43  m_options.clientOptionsDump();
44  }
45 
46 };
ClientOptions m_options
Definition: playerdata_definitions.h:28
KeybindSettings m_keybinds
Definition: playerdata_definitions.h:27
Definition: playerdata_definitions.h:23
Definition: gui_definitions.h:129
Definition: playerdata_definitions.h:25
std::vector< Contact > vContactList
Definition: Contact.h:106
vTaskEntryList m_tasks_entry_list
Definition: playerdata_definitions.h:30
std::vector< TaskEntry > vTaskEntryList
Definition: Task.h:76
void reset()
Definition: playerdata_definitions.h:37
vClueList m_clues
Definition: playerdata_definitions.h:31
std::vector< Clue > vClueList
Definition: Clue.h:42
uint8_t m_auth_data[16]
Definition: playerdata_definitions.h:35
GUISettings m_gui
Definition: playerdata_definitions.h:26
vSouvenirList m_souvenirs
Definition: playerdata_definitions.h:32
Definition: keybind_definitions.h:476
Definition: PlayerStatistics.h:55
vContactList m_contacts
Definition: playerdata_definitions.h:29
void clientOptionsDump() const
Definition: clientoptions_definitions.h:108
std::vector< Souvenir > vSouvenirList
Definition: Clue.h:70
PlayerStatistics m_player_statistics
Definition: playerdata_definitions.h:33
Definition: clientoptions_definitions.h:51
bool m_first_person_view
Definition: clientoptions_definitions.h:78
void dump() const
Definition: playerdata_definitions.h:41