Add stricter regulations for instances (login-checks and support for sending unbound player to parent-instance / homebind if not matching criterias)

Patch by Elron103 - closes issue #1323.

--HG--
branch : trunk
This commit is contained in:
click
2010-05-04 18:25:30 +02:00
parent 51d0c07c90
commit 029e480454
9 changed files with 132 additions and 16 deletions
+1
View File
@@ -2266,6 +2266,7 @@ class Player : public Unit, public GridObject<Player>
void SendSavedInstances();
static void ConvertInstancesToGroup(Player *player, Group *group = NULL, uint64 player_guid = 0);
bool Satisfy(AccessRequirement const*, uint32 target_map, bool report = false);
bool CheckInstanceLoginValid();
// last used pet number (for BG's)
uint32 GetLastPetNumber() const { return m_lastpetnumber; }