This commit is contained in:
aozhiwei 2023-02-25 10:12:49 +08:00
parent b89a7f2c53
commit d4e1269ae8

View File

@ -17,6 +17,7 @@ struct RemoveBuffCbConext
class Human; class Human;
class Creature; class Creature;
class Bullet; class Bullet;
class Effect;
struct EventHandlerPtr; struct EventHandlerPtr;
class Buff class Buff
{ {
@ -65,6 +66,7 @@ protected:
std::list<Weapon> hold_weapons_; std::list<Weapon> hold_weapons_;
std::list<std::weak_ptr<EventHandlerPtr>> event_handlers_; std::list<std::weak_ptr<EventHandlerPtr>> event_handlers_;
CreatureWeakPtr caster_; CreatureWeakPtr caster_;
std::list<std::shared_ptr<Effect>> effect_list_;
friend class PBUtils; friend class PBUtils;
}; };