예제 #1
0
		public static ToolbarInfos Infos = null;				// DO NOT CHANGE THIS! Used for the persistance item...

		public static void Initialize()
		{
			if( Infos == null )
				Infos = new ToolbarInfos();

			CommandHandlers.Register("Toolbar", AccessLevel.Counselor, new CommandEventHandler(Toolbar_OnCommand));
			EventSink.Login += new LoginEventHandler(OnLogin);
		}
예제 #2
0
        public static ToolbarInfos Infos = null;                        // DO NOT CHANGE THIS! Used for the persistance item...

        public static void Initialize()
        {
            if (Infos == null)
            {
                Infos = new ToolbarInfos();
            }

            CommandHandlers.Register("Toolbar", AccessLevel.Counselor, new CommandEventHandler(Toolbar_OnCommand));
            EventSink.Login += new LoginEventHandler(OnLogin);
        }
예제 #3
0
		public static ToolbarInfos Infos = null;				// DO NOT CHANGE THIS! Used for the persistance item...

		public static void Initialize()
		{
			if( Infos == null )
				Infos = new ToolbarInfos();

			CommandHandlers.Register("Toolbar", AccessLevel.Counselor, new CommandEventHandler(Toolbar_OnCommand));
			EventSink.Login += new LoginEventHandler(OnLogin);
			// Talow and AlphaDragon fix 1/3
			// http://www.runuo.com/community/threads/joeku-toolbar-after-gm-death.477771/#post-3722174
			EventSink.PlayerDeath += new PlayerDeathEventHandler(OnPlayerDeath);
		}
예제 #4
0
파일: Toolbar.cs 프로젝트: twlizer/runuo
        public static ToolbarInfos Infos = null;                        // DO NOT CHANGE THIS! Used for the persistance item...

        public static void Initialize()
        {
            if (Infos == null)
            {
                Infos = new ToolbarInfos();
            }

            CommandHandlers.Register("Toolbar", AccessLevel.Counselor, new CommandEventHandler(Toolbar_OnCommand));
            EventSink.Login += new LoginEventHandler(OnLogin);
            // Talow and AlphaDragon fix 1/3
            // http://www.runuo.com/community/threads/joeku-toolbar-after-gm-death.477771/#post-3722174
            EventSink.PlayerDeath += new PlayerDeathEventHandler(OnPlayerDeath);
        }