1#ifndef GAME_MAPITEMS_EX_H
2#define GAME_MAPITEMS_EX_H
3#include <game/generated/protocol.h>
4
5enum
6{
7 __MAPITEMTYPE_UUID_HELPER = OFFSET_MAPITEMTYPE_UUID - 1,
8#define UUID(id, name) id,
9#include "mapitems_ex_types.h"
10#undef UUID
11 END_MAPITEMTYPES_UUID,
12};
13
14struct CMapItemTest
15{
16 enum
17 {
18 CURRENT_VERSION = 1
19 };
20
21 int m_Version;
22 int m_aFields[2];
23 int m_Field3;
24 int m_Field4;
25};
26
27struct CMapItemAutoMapperConfig
28{
29 enum
30 {
31 CURRENT_VERSION = 1
32 };
33 enum
34 {
35 FLAG_AUTOMATIC = 1
36 };
37
38 int m_Version;
39 int m_GroupId;
40 int m_LayerId;
41 int m_AutomapperConfig;
42 int m_AutomapperSeed;
43 int m_Flags;
44};
45
46void RegisterMapItemTypeUuids(class CUuidManager *pManager);
47#endif // GAME_MAPITEMS_EX_H
48