Core/Script: Code style.
WaypointReached(uint32 i) -> WaypointReached(uint32 waypointId) WaypointReached(uint32 uiPointId) -> WaypointReached(uint32 waypointId) WaypointReached(uint32 /*point*/) -> WaypointReached(uint32 /*waypointId*/) WaypointReached(uint32 uiI) -> WaypointReached(uint32 waypointId) WaypointReached(uint32 /*i*/) -> WaypointReached(uint32 waypointId) WaypointReached(uint32 uiWPointId) -> WaypointReached(uint32 waypointId) WaypointReached(uint32 /*wp*/) -> WaypointReached(uint32 waypointId) WaypointReached(uint32 /*point*/) -> WaypointReached(uint32 waypointId) Signed-off-by: Gyx <2359980687@qq.com>
This commit is contained in:
1 parent
5b7493fc66
commit
391d68be20
67 files changed
+660
-603
No files matched your search
@@ -85,9 +85,15 @@ public:
|
||||
{
|
||||
switch (uiWPHolder)
|
||||
{
|
||||
case 7: DoScriptText(SAY_DS_DOWN_1, me); break;
|
||||
case 8: DoScriptText(SAY_DS_DOWN_2, me); break;
|
||||
case 9: DoScriptText(SAY_DS_DOWN_3, me); break;
|
||||
case 7:
|
||||
DoScriptText(SAY_DS_DOWN_1, me);
|
||||
break;
|
||||
case 8:
|
||||
DoScriptText(SAY_DS_DOWN_2, me);
|
||||
break;
|
||||
case 9:
|
||||
DoScriptText(SAY_DS_DOWN_3, me);
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -96,16 +102,15 @@ public:
|
||||
uiShootTimer = 0;
|
||||
}
|
||||
|
||||
void WaypointReached(uint32 uiPoint)
|
||||
void WaypointReached(uint32 waypointId)
|
||||
{
|
||||
Player* player = GetPlayerForEscort();
|
||||
|
||||
if (!player)
|
||||
return;
|
||||
|
||||
uiWPHolder = uiPoint;
|
||||
uiWPHolder = waypointId;
|
||||
|
||||
switch (uiPoint)
|
||||
switch (waypointId)
|
||||
{
|
||||
case 4:
|
||||
SetEquipmentSlots(false, EQUIP_NO_CHANGE, EQUIP_NO_CHANGE, EQUIP_ID_RIFLE);
|
||||
@@ -226,14 +231,13 @@ public:
|
||||
{
|
||||
npc_defias_traitorAI(Creature* creature) : npc_escortAI(creature) { Reset(); }
|
||||
|
||||
void WaypointReached(uint32 i)
|
||||
void WaypointReached(uint32 waypointId)
|
||||
{
|
||||
Player* player = GetPlayerForEscort();
|
||||
|
||||
if (!player)
|
||||
return;
|
||||
|
||||
switch (i)
|
||||
switch (waypointId)
|
||||
{
|
||||
case 35:
|
||||
SetRun(false);
|
||||
|
||||
Reference in new issue
Block a user