Пример #1
0
        public static void UnbindEvents(this IGamePlayer _this, GameEvents evt)
        {
            var a = GameEventBinder <ContextType, IGamePlayer> .GetOrCreate(_this, evt);

            a.unbindEvents();
        }
Пример #2
0
        public static void BindEvents(this IGameMonitor _this, GameEvents evt)
        {
            var a = GameEventBinder <ContextType, IGameMonitor> .GetOrCreate(_this, evt);

            a.bindEvents();
        }