コード例 #1
0
ファイル: ChatCommands.cs プロジェクト: Notulp/Pluton
        public ChatCommand Register(string command)
        {
            if (String.IsNullOrEmpty(command))
                return (ChatCommand)null;

            ChatCommand c = new ChatCommand(command);
            c.plugin = plugin;

            return Register(c);
        }
コード例 #2
0
ファイル: ChatCommands.cs プロジェクト: professorlust/Pluton
 public ChatCommand Register(ChatCommand command)
 {
     Commands.Add(Commands.Count, command);
     return(command);
 }
コード例 #3
0
ファイル: ChatCommands.cs プロジェクト: Viproz/Pluton
 public ChatCommand Register(ChatCommand command)
 {
     Commands.Add(Commands.Count, command);
     return command;
 }