diff options
author | David Athay <ko2fan@gmail.com> | 2008-04-17 13:01:05 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-04-17 13:01:05 +0000 |
commit | 1f639454d986ea0d44b563eaa71019d9f1c01c24 (patch) | |
tree | 7a067b4522c154ddcab65e2ab6dbe3ea498b0f6e /src/net/chatserver/party.h | |
parent | 6afe553c237bf0a9ffde8fc7eae469431718268e (diff) | |
download | mana-1f639454d986ea0d44b563eaa71019d9f1c01c24.tar.gz mana-1f639454d986ea0d44b563eaa71019d9f1c01c24.tar.bz2 mana-1f639454d986ea0d44b563eaa71019d9f1c01c24.tar.xz mana-1f639454d986ea0d44b563eaa71019d9f1c01c24.zip |
Added basic party support (no interface to create or quit yet)
Diffstat (limited to 'src/net/chatserver/party.h')
-rw-r--r-- | src/net/chatserver/party.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/src/net/chatserver/party.h b/src/net/chatserver/party.h new file mode 100644 index 00000000..6f404583 --- /dev/null +++ b/src/net/chatserver/party.h @@ -0,0 +1,64 @@ +/* + * The Mana World + * Copyright 2008 The Mana World Development Team + * + * This file is part of The Mana World. + * + * The Mana World is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * The Mana World is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with The Mana World; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * $Id: $ + */ + + +#ifndef _TMW_NET_CHATSERVER_PARTY_H +#define _TMW_NET_CHATSERVER_PARTY_H + +#include <iosfwd> + +namespace Net +{ + namespace ChatServer + { + namespace Party + { + /** + * Create party + */ + void createParty(); + + /** + * Invite a player to the party. + */ + void invitePlayer(const std::string &name); + + /** + * Accept an invite another player has sent to join their party + */ + void acceptInvite(const std::string &name); + + /** + * Get a list of party members + */ + void getPartyMembers(); + + /** + * Leave party + */ + void quitParty(); + } + } +} + +#endif |