Scripts: Reorder file names in Commands/CMakeList file and cosmetic changes in all scripts
This commit is contained in:
1 parent
d12bb4a657
commit
6fd41ae50e
372 files changed
+1974
-1968
No files matched your search
@@ -119,7 +119,7 @@ public:
|
||||
|
||||
uint32 id = atoi(charID);
|
||||
|
||||
Player *chr = handler->GetSession()->GetPlayer();
|
||||
Player* chr = handler->GetSession()->GetPlayer();
|
||||
float x = chr->GetPositionX();
|
||||
float y = chr->GetPositionY();
|
||||
float z = chr->GetPositionZ();
|
||||
@@ -495,7 +495,7 @@ public:
|
||||
static bool HandleNpcFollowCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
Player* player = handler->GetSession()->GetPlayer();
|
||||
Creature *creature = handler->getSelectedCreature();
|
||||
Creature* creature = handler->getSelectedCreature();
|
||||
|
||||
if (!creature)
|
||||
{
|
||||
@@ -667,7 +667,7 @@ public:
|
||||
|
||||
uint32 displayId = (uint32) atoi((char*)args);
|
||||
|
||||
Creature *pCreature = handler->getSelectedCreature();
|
||||
Creature* pCreature = handler->getSelectedCreature();
|
||||
|
||||
if (!pCreature || pCreature->isPet())
|
||||
{
|
||||
@@ -878,7 +878,7 @@ public:
|
||||
if (option >0.0f)
|
||||
mtype = RANDOM_MOTION_TYPE;
|
||||
|
||||
Creature *pCreature = handler->getSelectedCreature();
|
||||
Creature* pCreature = handler->getSelectedCreature();
|
||||
uint32 u_guidlow = 0;
|
||||
|
||||
if (pCreature)
|
||||
@@ -920,7 +920,7 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
Creature *pCreature = handler->getSelectedCreature();
|
||||
Creature* pCreature = handler->getSelectedCreature();
|
||||
uint32 u_guidlow = 0;
|
||||
|
||||
if (pCreature)
|
||||
@@ -986,7 +986,7 @@ public:
|
||||
static bool HandleNpcUnFollowCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
Player* player = handler->GetSession()->GetPlayer();
|
||||
Creature *creature = handler->getSelectedCreature();
|
||||
Creature* creature = handler->getSelectedCreature();
|
||||
|
||||
if (!creature)
|
||||
{
|
||||
@@ -1078,7 +1078,7 @@ public:
|
||||
if (!charID)
|
||||
return false;
|
||||
|
||||
Player *chr = handler->GetSession()->GetPlayer();
|
||||
Player* chr = handler->GetSession()->GetPlayer();
|
||||
|
||||
uint32 id = atoi(charID);
|
||||
if (!id)
|
||||
@@ -1092,7 +1092,7 @@ public:
|
||||
//npc tame handling
|
||||
static bool HandleNpcTameCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
Creature *creatureTarget = handler->getSelectedCreature ();
|
||||
Creature* creatureTarget = handler->getSelectedCreature ();
|
||||
if (!creatureTarget || creatureTarget->isPet ())
|
||||
{
|
||||
handler->PSendSysMessage (LANG_SELECT_CREATURE);
|
||||
@@ -1162,7 +1162,7 @@ public:
|
||||
return false;
|
||||
|
||||
uint32 leaderGUID = (uint32) atoi((char*)args);
|
||||
Creature *pCreature = handler->getSelectedCreature();
|
||||
Creature* pCreature = handler->getSelectedCreature();
|
||||
|
||||
if (!pCreature || !pCreature->GetDBTableGUIDLow())
|
||||
{
|
||||
@@ -1181,7 +1181,7 @@ public:
|
||||
if (!lowguid)
|
||||
return false;
|
||||
|
||||
Player *chr = handler->GetSession()->GetPlayer();
|
||||
Player* chr = handler->GetSession()->GetPlayer();
|
||||
FormationInfo *group_member;
|
||||
|
||||
group_member = new FormationInfo;
|
||||
@@ -1248,7 +1248,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
Creature *pCreature = ObjectAccessor::GetCreature(*handler->GetSession()->GetPlayer(), guid);
|
||||
Creature* pCreature = ObjectAccessor::GetCreature(*handler->GetSession()->GetPlayer(), guid);
|
||||
|
||||
if (!pCreature)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user