SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
costume_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 
10 #include <glm/vec3.hpp>
11 #include <QtCore/QString>
12 #include <stdint.h>
13 #include <vector>
14 
16 {
17  uint32_t m_MinLevel;
18  uint32_t m_MaxLevel;
19  uint32_t m_EntryFee;
20  uint32_t m_Global;
21  uint32_t m_HeadCost;
22  uint32_t m_HeadSubCost;
23  uint32_t m_UpperCost;
24  uint32_t m_UpperSubCost;
25  uint32_t m_LowerCost;
26  uint32_t m_LoserSubCost;
27  uint32_t m_NumCostumes;
28 };
29 typedef std::vector<TailorCost_Data> AllTailorCosts_Data;
30 
32 {
33  glm::vec3 color;
34 };
35 
37 {
38  std::vector<ColorEntry_Data> m_Colors;
39 };
40 
42 {
43  QByteArray m_Name;
44  QByteArray m_DisplayName;
45 };
46 
48 {
49  QByteArray m_DisplayName;
50  QByteArray m_GeoName;
51  QByteArray m_Geo;
52  QByteArray m_Tex1;
53  QByteArray m_Tex2;
54  int m_DevOnly;
55 };
56 
58 {
59  QByteArray m_Displayname;
60  QByteArray m_BodyPart;
61  int m_Type;
62  int isOpen;
63  int sel_info_idx; // m_Infos index
64  int sel_mask_idx; // Mask or MaskString index
65  float timing1;
66  float timing2;
67  std::vector<QByteArray> m_MaskStrings;
68  std::vector<QByteArray> m_MaskNames;
69  std::vector<GeoSet_Mask_Data> m_Masks;
70  std::vector<GeoSet_Info_Data> m_Infos;
71 };
72 
74 {
75  QByteArray m_Name;
76  QByteArray m_Displayname;
77  std::vector<GeoSet_Data> m_GeoSets;
78  int rs=0; // selected geoset index?
79 };
80 
82 {
83  QByteArray m_Name;
84  QByteArray m_Displayname;
85  std::vector<BoneSet_Data> m_BoneSets;
86  int rs=0; // selected boneset
87 };
88 
90 {
91  QByteArray m_Name; // Name of the group Male/Female/Huge/BasicFemale ...
92  std::vector<Pallette_Data> m_BodyPalette;
93  std::vector<Pallette_Data> m_SkinPalette;
94  std::vector<Region_Data> m_Region;
95 };
96 
98 {
99  QByteArray m_Name;
100  std::vector<CostumeOrigin_Data> m_Origins;
101 };
102 
103 typedef std::vector<Costume2_Data> CostumeSet_Data;
QByteArray m_Displayname
Definition: costume_definitions.h:59
uint32_t m_MaxLevel
Definition: costume_definitions.h:18
uint32_t m_UpperCost
Definition: costume_definitions.h:23
QByteArray m_Name
Definition: costume_definitions.h:99
int m_Type
Definition: costume_definitions.h:61
uint32_t m_LowerCost
Definition: costume_definitions.h:25
std::vector< QByteArray > m_MaskStrings
Definition: costume_definitions.h:67
std::vector< GeoSet_Mask_Data > m_Masks
Definition: costume_definitions.h:69
uint32_t m_MinLevel
Definition: costume_definitions.h:17
std::vector< Pallette_Data > m_SkinPalette
Definition: costume_definitions.h:93
Definition: costume_definitions.h:36
int isOpen
Definition: costume_definitions.h:62
QByteArray m_Geo
Definition: costume_definitions.h:51
uint32_t m_HeadSubCost
Definition: costume_definitions.h:22
std::vector< GeoSet_Data > m_GeoSets
Definition: costume_definitions.h:77
QByteArray m_Tex1
Definition: costume_definitions.h:52
Definition: costume_definitions.h:73
QByteArray m_DisplayName
Definition: costume_definitions.h:44
Definition: costume_definitions.h:57
QByteArray m_Tex2
Definition: costume_definitions.h:53
Definition: costume_definitions.h:97
glm::vec3 color
Definition: costume_definitions.h:33
QByteArray m_Name
Definition: costume_definitions.h:43
QByteArray m_Name
Definition: costume_definitions.h:75
std::vector< Costume2_Data > CostumeSet_Data
Definition: costume_definitions.h:103
uint32_t m_HeadCost
Definition: costume_definitions.h:21
QByteArray m_Displayname
Definition: costume_definitions.h:84
float timing2
Definition: costume_definitions.h:66
uint32_t m_EntryFee
Definition: costume_definitions.h:19
uint32_t m_Global
Definition: costume_definitions.h:20
int m_DevOnly
Definition: costume_definitions.h:54
Definition: costume_definitions.h:89
QByteArray m_Name
Definition: costume_definitions.h:91
uint32_t m_UpperSubCost
Definition: costume_definitions.h:24
QByteArray m_DisplayName
Definition: costume_definitions.h:49
QByteArray m_BodyPart
Definition: costume_definitions.h:60
std::vector< CostumeOrigin_Data > m_Origins
Definition: costume_definitions.h:100
uint32_t m_NumCostumes
Definition: costume_definitions.h:27
float timing1
Definition: costume_definitions.h:65
Definition: costume_definitions.h:81
Definition: costume_definitions.h:15
int sel_info_idx
Definition: costume_definitions.h:63
std::vector< TailorCost_Data > AllTailorCosts_Data
Definition: costume_definitions.h:29
std::vector< ColorEntry_Data > m_Colors
Definition: costume_definitions.h:38
std::vector< BoneSet_Data > m_BoneSets
Definition: costume_definitions.h:85
QByteArray m_Displayname
Definition: costume_definitions.h:76
std::vector< GeoSet_Info_Data > m_Infos
Definition: costume_definitions.h:70
QByteArray m_Name
Definition: costume_definitions.h:83
uint32_t m_LoserSubCost
Definition: costume_definitions.h:26
QByteArray m_GeoName
Definition: costume_definitions.h:50
std::vector< Region_Data > m_Region
Definition: costume_definitions.h:94
Definition: costume_definitions.h:31
Definition: costume_definitions.h:47
int sel_mask_idx
Definition: costume_definitions.h:64
std::vector< Pallette_Data > m_BodyPalette
Definition: costume_definitions.h:92
Definition: costume_definitions.h:41
std::vector< QByteArray > m_MaskNames
Definition: costume_definitions.h:68