aboutsummaryrefslogtreecommitdiff
path: root/src/operate.hh
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-06-16 01:30:08 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-06-16 01:30:08 -0300
commit0612480d9beb19b9e90b3a4f1198b3da1fd21f6a (patch)
treee5d3a525cc395393f450a18194f0b6f5390273ff /src/operate.hh
parent5bdedeecea69a5892e3ce8854e85f78537cf7ca4 (diff)
downloadgame-0612480d9beb19b9e90b3a4f1198b3da1fd21f6a.tar.gz
game-0612480d9beb19b9e90b3a4f1198b3da1fd21f6a.zip
party functions
Diffstat (limited to 'src/operate.hh')
-rw-r--r--src/operate.hh16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/operate.hh b/src/operate.hh
index 4942569..3cb5075 100644
--- a/src/operate.hh
+++ b/src/operate.hh
@@ -22,6 +22,7 @@ enum : int {
OBJECT_MOVED = 3,
};
+#if 0
// TODO(fusion): Use these?
enum : int {
CHANNEL_GUILD = 0,
@@ -33,11 +34,11 @@ enum : int {
CHANNEL_RLCHAT = 6,
CHANNEL_HELP = 7,
- CHANNEL_PUBLIC_FIRST = 0,
- CHANNEL_PUBLIC_LAST = 7,
CHANNEL_PRIVATE_FIRST = 8,
- CHANNEL_PRIVATE_LAST = 0xFFFF,
+ CHANNEL_FIRST = 0,
+ CHANNEL_LAST = 0xFFFF,
};
+#endif
struct TChannel {
TChannel(void);
@@ -188,4 +189,13 @@ bool JoinChannel(int ChannelID, uint32 CharacterID);
void LeaveChannel(int ChannelID, uint32 CharacterID, bool Close);
void LeaveAllChannels(uint32 CharacterID);
+TParty *GetParty(uint32 LeaderID);
+bool IsInvitedToParty(uint32 GuestID, uint32 HostID);
+void DisbandParty(uint32 LeaderID);
+void InviteToParty(uint32 HostID, uint32 GuestID);
+void RevokeInvitation(uint32 HostID, uint32 GuestID);
+void JoinParty(uint32 GuestID, uint32 HostID);
+void PassLeadership(uint32 OldLeaderID, uint32 NewLeaderID);
+void LeaveParty(uint32 MemberID, bool Forced);
+
#endif //TIBIA_OPERATE_HH_