1 /* 2 * The ManaPlus Client 3 * Copyright (C) 2008 Lloyd Bryant <lloyd_bryant@netzero.net> 4 * Copyright (C) 2011-2019 The ManaPlus Developers 5 * Copyright (C) 2019-2021 Andrei Karas 6 * 7 * This file is part of The ManaPlus Client. 8 * 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License as published by 11 * the Free Software Foundation; either version 2 of the License, or 12 * any later version. 13 * 14 * This program is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * GNU General Public License for more details. 18 * 19 * You should have received a copy of the GNU General Public License 20 * along with this program. If not, see <http://www.gnu.org/licenses/>. 21 */ 22 23 #ifndef NET_EA_PARTYRECV_H 24 #define NET_EA_PARTYRECV_H 25 26 #include "enums/net/partyshare.h" 27 28 class Party; 29 30 namespace Net 31 { 32 class MessageIn; 33 } // namespace Net 34 35 namespace Ea 36 { 37 namespace PartyRecv 38 { 39 extern PartyShareT mShareExp; 40 extern PartyShareT mShareItems; 41 42 void processPartyCreate(Net::MessageIn &msg); 43 void processPartyLeave(Net::MessageIn &msg); 44 void processPartyUpdateCoords(Net::MessageIn &msg); 45 void processPartyExpSettingsContinue(Net::MessageIn &msg, 46 const PartyShareT exp); 47 void processPartyItemSettingsContinue(Net::MessageIn &msg, 48 const PartyShareT item); 49 50 void createTab(); 51 } // namespace PartyRecv 52 extern Party *taParty; 53 } // namespace Ea 54 55 #endif // NET_EA_PARTYRECV_H 56