예제 #1
0
        public CommandReplyType ExecuteCommand <T>(T command) where T : ICommand
        {
            if (!m_CommandReceiver.HasCommand(command.CommandType))
            {
                Log.Error("Can no find Command");
                return(CommandReplyType.NO);
            }

            return(m_CommandReceiver.ExecuteCommand(command));
        }