struct IGoalPipeListener { };
IAgent.h
virtual ~IGoalPipeListener();
virtual void OnGoalPipeEvent(IPipeUser* pPipeUser, EGoalPipeEvent event, int goalPipeId, bool& unregisterListenerAfterEvent) = 0;
friend class CPipeUser;
typedef DynArray< std::pair< IPipeUser*, int > > VectorRegisteredPipes;