summaryrefslogtreecommitdiff
path: root/src/char/int_party.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/int_party.hpp')
-rw-r--r--src/char/int_party.hpp21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/char/int_party.hpp b/src/char/int_party.hpp
index 1608c37..f33fc0d 100644
--- a/src/char/int_party.hpp
+++ b/src/char/int_party.hpp
@@ -1,5 +1,4 @@
-#ifndef TMWA_CHAR_INT_PARTY_HPP
-#define TMWA_CHAR_INT_PARTY_HPP
+#pragma once
// int_party.hpp - Internal party handling.
//
// Copyright © ????-2004 Athena Dev Teams
@@ -21,19 +20,23 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-# include "../sanity.hpp"
+#include "fwd.hpp"
-# include "../strings/fwd.hpp"
+#include "../strings/fwd.hpp"
-struct Session;
+#include "../net/fwd.hpp"
+#include "../mmo/fwd.hpp"
+
+
+namespace tmwa
+{
void inter_party_init(void);
int inter_party_save(void);
-int inter_party_parse_frommap(Session *ms);
+RecvResult inter_party_parse_frommap(Session *ms, uint16_t);
-void inter_party_leave(int party_id, int account_id);
+void inter_party_leave(PartyId party_id, AccountId account_id);
extern AString party_txt;
-
-#endif // TMWA_CHAR_INT_PARTY_HPP
+} // namespace tmwa