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:
@@ -86,14 +86,14 @@ protected:
|
||||
|
||||
public:
|
||||
int getId();
|
||||
void applyEffectTick(shared_ptr<Mob> mob, int amplification);
|
||||
void applyInstantenousEffect(shared_ptr<Mob> source, shared_ptr<Mob> mob, int amplification, double scale);
|
||||
void applyEffectTick(std::shared_ptr<Mob> mob, int amplification);
|
||||
void applyInstantenousEffect(std::shared_ptr<Mob> source, std::shared_ptr<Mob> mob, int amplification, double scale);
|
||||
virtual bool isInstantenous();
|
||||
virtual bool isDurationEffectTick(int remainingDuration, int amplification);
|
||||
|
||||
MobEffect *setDescriptionId(unsigned int id);
|
||||
unsigned int getDescriptionId(int iData = -1);
|
||||
|
||||
|
||||
// 4J Added
|
||||
MobEffect *setPostfixDescriptionId(unsigned int id);
|
||||
unsigned int getPostfixDescriptionId(int iData = -1);
|
||||
|
||||
Reference in New Issue
Block a user