[12632] Revert previous commit (see Notes)

This commit is contained in:
billy1arm 2013-05-31 13:50:57 +01:00 committed by Antz
parent 1cd806c02e
commit ef445ea523
1462 changed files with 9689 additions and 7080 deletions

View file

@ -1,5 +1,5 @@
/*
* This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information
* This code is part of MaNGOS. Contributor & Copyright details are in AUTHORS/THANKS.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
/*
* @addtogroup mailing
* @{
*
@ -87,7 +87,7 @@ bool WorldSession::CheckMailBox(ObjectGuid guid)
return true;
}
/**
/*
* Handles the Packet sent by the client when sending a mail.
*
* This methods takes the packet sent by the client and performs the following actions:
@ -327,7 +327,7 @@ void WorldSession::HandleSendMail(WorldPacket& recv_data)
CharacterDatabase.CommitTransaction();
}
/**
/*
* Handles the Packet sent by the client when reading a mail.
*
* This method is called when a client reads a mail that was previously unread.
@ -360,7 +360,7 @@ void WorldSession::HandleMailMarkAsRead(WorldPacket& recv_data)
}
}
/**
/*
* Handles the Packet sent by the client when deleting a mail.
*
* This method is called when a client deletes a mail in his mailbox.
@ -395,7 +395,7 @@ void WorldSession::HandleMailDelete(WorldPacket& recv_data)
}
pl->SendMailResult(mailId, MAIL_DELETED, MAIL_OK);
}
/**
/*
* Handles the Packet sent by the client when returning a mail to sender.
* This method is called when a player chooses to return a mail to its sender.
* It will create a new MailDraft and add the items, money, etc. associated with the mail
@ -459,7 +459,7 @@ void WorldSession::HandleMailReturnToSender(WorldPacket& recv_data)
pl->SendMailResult(mailId, MAIL_RETURNED_TO_SENDER, MAIL_OK);
}
/**
/*
* Handles the packet sent by the client when taking an item from the mail.
*/
void WorldSession::HandleMailTakeItem(WorldPacket& recv_data)
@ -557,7 +557,7 @@ void WorldSession::HandleMailTakeItem(WorldPacket& recv_data)
pl->SendMailResult(mailId, MAIL_ITEM_TAKEN, MAIL_ERR_EQUIP_ERROR, msg);
}
/**
/*
* Handles the packet sent by the client when taking money from the mail.
*/
void WorldSession::HandleMailTakeMoney(WorldPacket& recv_data)
@ -593,7 +593,7 @@ void WorldSession::HandleMailTakeMoney(WorldPacket& recv_data)
CharacterDatabase.CommitTransaction();
}
/**
/*
* Handles the packet sent by the client when requesting the current mail list.
* It will send a list of all available mails in the players mailbox to the client.
*/
@ -716,7 +716,7 @@ void WorldSession::HandleGetMailList(WorldPacket& recv_data)
_player->UpdateNextMailTimeAndUnreads();
}
/**
/*
* Handles the packet sent by the client when he copies the body a mail to his inventory.
*
* When a player copies the body of a mail to his inventory this method is called. It will create
@ -789,7 +789,7 @@ void WorldSession::HandleMailCreateTextItem(WorldPacket& recv_data)
}
}
/**
/*
* No idea when this is called.
*/
void WorldSession::HandleQueryNextMailTime(WorldPacket& /**recv_data*/)