Beispiel #1
0
        public static DetourEvent TryToAddFoodBuffCallback(BuffsDisplayAccessor accessor, BuffAccessor buff, int duration)
        {
            var @event = new TryToAddFoodBuffCallbackEvent(new BuffsDisplay(WrappedGame, accessor), new Buff(WrappedGame, buff), duration);

            FireEvent(@event);
            return(@event);
        }
Beispiel #2
0
        public static DetourEvent AddOtherBuffCallback(BuffsDisplayAccessor accessor, BuffAccessor buff)
        {
            var @event = new AddOtherBuffCallbackEvent(new BuffsDisplay(WrappedGame, accessor), new Buff(WrappedGame, buff));

            FireEvent(@event);
            return(@event);
        }
Beispiel #3
0
 public BuffsDisplay(StaticContext parent, BuffsDisplayAccessor accessor) :
     base(parent, accessor)
 {
 }