ManaPlus
maptypeproperty2.h
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2015-2019 The ManaPlus Developers
4  * Copyright (C) 2019-2021 Andrei Karas
5  *
6  * This file is part of The ManaPlus Client.
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  */
21 
22 #ifndef NET_EATHENA_MAPTYPEPROPERTY2_H
23 #define NET_EATHENA_MAPTYPEPROPERTY2_H
24 
25 #include "localconsts.h"
26 
27 namespace EAthena
28 {
30  {
32 
33  uint32_t party : 1; // allow attack party members (PvP)
34  uint32_t guild : 1; // allow attack guild members (GvG)
35  uint32_t siege : 1; // show emblem in GvG (WoE castle)
36  uint32_t mineffect : 1; // mine effect?
37  uint32_t nolockon : 1; // unknown
38  uint32_t countpk : 1; // show PvP counter
39  uint32_t nopartyformation : 1; // prevent party creation/
40  // modification
41  uint32_t bg : 1; // is on battle ground
42  uint32_t noitemconsumption : 1; // unused
43  uint32_t usecart : 1; // unused
44  uint32_t summonstarmiracle : 1; // unused
45  uint32_t SpareBits : 15; // unused bits
46  } __attribute__((packed));
47 
49  {
51  uint32_t data;
52  } __attribute__((packed));
53 
54 } // namespace EAthena
55 
56 #endif // NET_EATHENA_MAPTYPEPROPERTY2_H
#define final
Definition: localconsts.h:46
#define A_DEFAULT_COPY(func)
Definition: localconsts.h:41
union EAthena::ItemFlags __attribute__((packed))
MapTypeProperty2Bits bits