示例#1
0
        public static void Initialize()
        {
            RUOVersion.AddCommand("ChatErrors", AccessLevel.Counselor, new ChatCommandHandler(OnErrors));
            RUOVersion.AddCommand("ce", AccessLevel.Counselor, new ChatCommandHandler(OnErrors));

            EventSink.Login += new LoginEventHandler(OnLogin);
        }
示例#2
0
 public static void Register(Channel c)
 {
     foreach (string str in c.Commands)
     {
         RUOVersion.AddCommand(str, AccessLevel.Player, new ChatCommandHandler(ChannelCommand));
     }
 }
示例#3
0
 public static void Initialize()
 {
     RUOVersion.AddCommand("All", AccessLevel.GameMaster, new ChatCommandHandler(OnAll));
 }
 public static void Initialize()
 {
     RUOVersion.AddCommand("HelpContents", AccessLevel.Player, new ChatCommandHandler(OnHelp));
     RUOVersion.AddCommand("hc", AccessLevel.Player, new ChatCommandHandler(OnHelp));
 }
示例#5
0
 public static void Initialize()
 {
     RUOVersion.AddCommand("pm", AccessLevel.Player, new ChatCommandHandler(OnMessage));
     RUOVersion.AddCommand("msg", AccessLevel.Player, new ChatCommandHandler(OnMessage));
 }
示例#6
0
 public static void Initialize()
 {
     RUOVersion.AddCommand("Friends", AccessLevel.Player, new ChatCommandHandler(OnFriends));
     RUOVersion.AddCommand("Fri", AccessLevel.Player, new ChatCommandHandler(OnFriends));
 }
示例#7
0
 public static void RemoveCommand(string str)
 {
     RUOVersion.RemoveCommand(str);
 }
示例#8
0
 public static void AddCommand(string str)
 {
     RUOVersion.AddCommand(str, AccessLevel.Player, new ChatCommandHandler(ChannelCommand));
 }
示例#9
0
 public static void Initialize()
 {
     RUOVersion.AddCommand("mail", AccessLevel.Player, new ChatCommandHandler(OnMail));
     RUOVersion.AddCommand("Ma", AccessLevel.Player, new ChatCommandHandler(OnMail));
 }
示例#10
0
 public static void Initialize()
 {
     RUOVersion.AddCommand("ViewAll", AccessLevel.Player, new ChatCommandHandler(OnView));
     RUOVersion.AddCommand("Va", AccessLevel.Player, new ChatCommandHandler(OnView));
 }