public static void UnbindEvents(this IGamePlayer _this, GameEvents evt) { var a = GameEventBinder <ContextType, IGamePlayer> .GetOrCreate(_this, evt); a.unbindEvents(); }
public static void BindEvents(this IGameMonitor _this, GameEvents evt) { var a = GameEventBinder <ContextType, IGameMonitor> .GetOrCreate(_this, evt); a.bindEvents(); }