|
|
@ -992,7 +992,7 @@ public:
|
|
|
|
sint32 getMountOrFirstPetSlot();
|
|
|
|
sint32 getMountOrFirstPetSlot();
|
|
|
|
|
|
|
|
|
|
|
|
// return a list of pets in text format (M=Mount, P=Packer, A=Animal, 0=None)
|
|
|
|
// return a list of pets in text format (M=Mount, P=Packer, A=Animal, 0=None)
|
|
|
|
std::string getPets();
|
|
|
|
std::string getPets();
|
|
|
|
|
|
|
|
|
|
|
|
// return true if can add 'delta' pets to current player pets
|
|
|
|
// return true if can add 'delta' pets to current player pets
|
|
|
|
bool checkAnimalCount(const NLMISC::CSheetId &PetTicket, bool sendMessage, sint32 delta);
|
|
|
|
bool checkAnimalCount(const NLMISC::CSheetId &PetTicket, bool sendMessage, sint32 delta);
|
|
|
@ -1615,6 +1615,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
std::string getTargetInfos();
|
|
|
|
std::string getTargetInfos();
|
|
|
|
std::string getPositionInfos();
|
|
|
|
std::string getPositionInfos();
|
|
|
|
|
|
|
|
std::string getEquipementInfos(INVENTORIES::TInventory invId);
|
|
|
|
|
|
|
|
|
|
|
|
/// Mount a mount
|
|
|
|
/// Mount a mount
|
|
|
|
void mount(TDataSetRow PetRowId);
|
|
|
|
void mount(TDataSetRow PetRowId);
|
|
|
@ -2390,7 +2391,7 @@ public:
|
|
|
|
void setSpawnPetFlag(uint32 index);
|
|
|
|
void setSpawnPetFlag(uint32 index);
|
|
|
|
|
|
|
|
|
|
|
|
uint8 getHairColor() const;
|
|
|
|
uint8 getHairColor() const;
|
|
|
|
|
|
|
|
|
|
|
|
uint8 getHair() const;
|
|
|
|
uint8 getHair() const;
|
|
|
|
|
|
|
|
|
|
|
|
// return if hair cute price discount apply
|
|
|
|
// return if hair cute price discount apply
|
|
|
@ -2430,7 +2431,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
// Jewel enchants used for Tags
|
|
|
|
// Jewel enchants used for Tags
|
|
|
|
void updateJewelsTags(bool remove, bool update=true);
|
|
|
|
void updateJewelsTags(bool remove, bool update=true);
|
|
|
|
|
|
|
|
|
|
|
|
// Jewel equipment or skill or region are changed, recompute protection and resistances
|
|
|
|
// Jewel equipment or skill or region are changed, recompute protection and resistances
|
|
|
|
void updateMagicProtectionAndResistance();
|
|
|
|
void updateMagicProtectionAndResistance();
|
|
|
|
|
|
|
|
|
|
|
@ -2491,8 +2492,8 @@ public:
|
|
|
|
/// returns an invalid alias if the player is not in a outpost zone
|
|
|
|
/// returns an invalid alias if the player is not in a outpost zone
|
|
|
|
TAIAlias getCurrentOutpostZone() const;
|
|
|
|
TAIAlias getCurrentOutpostZone() const;
|
|
|
|
/// returns the state of the outpost where player are
|
|
|
|
/// returns the state of the outpost where player are
|
|
|
|
OUTPOSTENUMS::TOutpostState getCurrentOutpostState() const;
|
|
|
|
OUTPOSTENUMS::TOutpostState getCurrentOutpostState() const;
|
|
|
|
|
|
|
|
|
|
|
|
/// player enters in a PVP zone, send appropriate client message
|
|
|
|
/// player enters in a PVP zone, send appropriate client message
|
|
|
|
void enterPVPZone(uint32 pvpZoneType) const;
|
|
|
|
void enterPVPZone(uint32 pvpZoneType) const;
|
|
|
|
/// character enter in versus pvp zone, player must choose a clan
|
|
|
|
/// character enter in versus pvp zone, player must choose a clan
|
|
|
@ -2621,7 +2622,7 @@ public:
|
|
|
|
uint32 getLastExchangeMount() const;
|
|
|
|
uint32 getLastExchangeMount() const;
|
|
|
|
bool getRespawnMainLandInTown() const;
|
|
|
|
bool getRespawnMainLandInTown() const;
|
|
|
|
void setRespawnMainLandInTown(bool status);
|
|
|
|
void setRespawnMainLandInTown(bool status);
|
|
|
|
|
|
|
|
|
|
|
|
const std::list<TCharacterLogTime> &getLastLogStats() const;
|
|
|
|
const std::list<TCharacterLogTime> &getLastLogStats() const;
|
|
|
|
void updateConnexionStat();
|
|
|
|
void updateConnexionStat();
|
|
|
|
void setDisconnexionTime();
|
|
|
|
void setDisconnexionTime();
|
|
|
@ -4084,7 +4085,7 @@ private:
|
|
|
|
bool _PowoCanTeleport;
|
|
|
|
bool _PowoCanTeleport;
|
|
|
|
bool _PowoCanSpeedUp;
|
|
|
|
bool _PowoCanSpeedUp;
|
|
|
|
bool _PowoCanDP;
|
|
|
|
bool _PowoCanDP;
|
|
|
|
|
|
|
|
|
|
|
|
bool _PowoCanAccesRoomInv;
|
|
|
|
bool _PowoCanAccesRoomInv;
|
|
|
|
bool _PowoCanAccessGuildInv;
|
|
|
|
bool _PowoCanAccessGuildInv;
|
|
|
|
|
|
|
|
|
|
|
@ -4094,7 +4095,7 @@ private:
|
|
|
|
uint32 _LastUnMountTick;
|
|
|
|
uint32 _LastUnMountTick;
|
|
|
|
uint32 _LastFreeMount;
|
|
|
|
uint32 _LastFreeMount;
|
|
|
|
uint32 _LastExchangeMount;
|
|
|
|
uint32 _LastExchangeMount;
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
void setWebCommandIndex(uint32 index)
|
|
|
|
void setWebCommandIndex(uint32 index)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -4113,7 +4114,7 @@ public:
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return _ValideWebCommandIndex.find(index) != _ValideWebCommandIndex.end();
|
|
|
|
return _ValideWebCommandIndex.find(index) != _ValideWebCommandIndex.end();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
uint32 getUrlIndex()
|
|
|
|
uint32 getUrlIndex()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return _LastUrlIndex++;
|
|
|
|
return _LastUrlIndex++;
|
|
|
@ -4217,7 +4218,7 @@ public:
|
|
|
|
_GodModeSave = godMode;
|
|
|
|
_GodModeSave = godMode;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool getUseWig() const
|
|
|
|
bool getUseWig() const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return _UseWig;
|
|
|
|
return _UseWig;
|
|
|
|