shared_ptr -> std::shared_ptr
This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
This commit is contained in:
@@ -122,15 +122,15 @@ public:
|
||||
static Stat* kill10Creepers();
|
||||
|
||||
static Stat* adventuringTime(); // Requires new Stat
|
||||
static Stat* repopulation();
|
||||
static Stat* repopulation();
|
||||
static Stat* diamondsToYou(); // +Durango
|
||||
static Stat* porkChop(); // Req Stat?
|
||||
static Stat* passingTheTime(); // Req Stat
|
||||
static Stat* archer();
|
||||
static Stat* archer();
|
||||
static Stat* theHaggler(); // Req Stat
|
||||
static Stat* potPlanter(); // Req Stat
|
||||
static Stat* itsASign(); // Req Stat
|
||||
static Stat* ironBelly();
|
||||
static Stat* ironBelly();
|
||||
static Stat* haveAShearfulDay();
|
||||
static Stat* rainbowCollection(); // Requires new Stat
|
||||
static Stat* stayinFrosty(); // +Durango
|
||||
@@ -159,10 +159,10 @@ public:
|
||||
static byteArray param_itemsCollected(int id, int aux, int count);
|
||||
static byteArray param_itemsCrafted(int id, int aux, int count);
|
||||
static byteArray param_itemsSmelted(int id, int aux, int cound);
|
||||
static byteArray param_itemsUsed(shared_ptr<Player> plr, shared_ptr<ItemInstance> itm);
|
||||
static byteArray param_itemsUsed(std::shared_ptr<Player> plr, std::shared_ptr<ItemInstance> itm);
|
||||
static byteArray param_itemsBought(int id, int aux, int count);
|
||||
|
||||
static byteArray param_mobKill(shared_ptr<Player> plr, shared_ptr<Mob> mob, DamageSource *dmgSrc);
|
||||
static byteArray param_mobKill(std::shared_ptr<Player> plr, std::shared_ptr<Mob> mob, DamageSource *dmgSrc);
|
||||
|
||||
static byteArray param_breedEntity(eINSTANCEOF mobType);
|
||||
static byteArray param_tamedEntity(eINSTANCEOF mobType);
|
||||
@@ -249,7 +249,7 @@ public:
|
||||
|
||||
protected:
|
||||
// ACHIEVEMENTS - VIRTUAL //
|
||||
|
||||
|
||||
virtual Stat* get_achievement(eAward achievementId);
|
||||
|
||||
|
||||
@@ -318,10 +318,10 @@ protected:
|
||||
virtual byteArray getParam_itemsCollected(int id, int aux, int count);
|
||||
virtual byteArray getParam_itemsCrafted(int id, int aux, int count);
|
||||
virtual byteArray getParam_itemsSmelted(int id, int aux, int count);
|
||||
virtual byteArray getParam_itemsUsed(shared_ptr<Player> plr, shared_ptr<ItemInstance> itm);
|
||||
virtual byteArray getParam_itemsUsed(std::shared_ptr<Player> plr, std::shared_ptr<ItemInstance> itm);
|
||||
virtual byteArray getParam_itemsBought(int id, int aux, int count);
|
||||
|
||||
virtual byteArray getParam_mobKill(shared_ptr<Player> plr, shared_ptr<Mob> mob, DamageSource *dmgSrc);
|
||||
virtual byteArray getParam_mobKill(std::shared_ptr<Player> plr, std::shared_ptr<Mob> mob, DamageSource *dmgSrc);
|
||||
|
||||
virtual byteArray getParam_breedEntity(eINSTANCEOF entityId);
|
||||
virtual byteArray getParam_tamedEntity(eINSTANCEOF entityId);
|
||||
|
||||
Reference in New Issue
Block a user