コード例 #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
ファイル: All.cs プロジェクト: Orion321/unknown-shard
 public static void Initialize()
 {
     RUOVersion.AddCommand("All", AccessLevel.GameMaster, new ChatCommandHandler(OnAll));
 }
コード例 #4
0
 public static void Initialize()
 {
     RUOVersion.AddCommand("HelpContents", AccessLevel.Player, new ChatCommandHandler(OnHelp));
     RUOVersion.AddCommand("hc", AccessLevel.Player, new ChatCommandHandler(OnHelp));
 }
コード例 #5
0
ファイル: Pm.cs プロジェクト: Orion321/unknown-shard
 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));
 }